fix: correct MySQL private domain name (remove extra hyphen)
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 5s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
zyc 2026-04-04 11:34:40 +08:00
parent 36ff1b5aca
commit 1c4b491e10
3 changed files with 4 additions and 4 deletions

View File

@ -91,8 +91,8 @@ jobs:
# Replace DB config for production
if [[ "${{ env.DEPLOY_ENV }}" == "production" ]]; then
sed -i "s|mysql-8351f937d637.rds.ivolces.com|mysqld9bb4e81696d.rds.ivolces.com|g" k8s/backend-deployment.yaml
sed -i "s|mysql-8351f937d637.rds.ivolces.com|mysqld9bb4e81696d.rds.ivolces.com|g" k8s/celery-deployment.yaml
sed -i "s|mysql8351f937d637.rds.ivolces.com|mysqld9bb4e81696d.rds.ivolces.com|g" k8s/backend-deployment.yaml
sed -i "s|mysql8351f937d637.rds.ivolces.com|mysqld9bb4e81696d.rds.ivolces.com|g" k8s/celery-deployment.yaml
fi
# Replace CORS origin

View File

@ -34,7 +34,7 @@ spec:
key: DJANGO_SECRET_KEY
# Database (Volcano Engine RDS - 默认测试环境,生产环境通过 CI 替换)
- name: DB_HOST
value: "mysql-8351f937d637.rds.ivolces.com"
value: "mysql8351f937d637.rds.ivolces.com"
- name: DB_NAME
value: "video_auto"
- name: DB_USER

View File

@ -36,7 +36,7 @@ spec:
value: "redis://zyc:Zyc188208@redis-shzlsczo52dft8mia.redis.ivolces.com:6379/0"
# Database (Volcano Engine RDS - 默认测试环境,生产环境通过 CI 替换)
- name: DB_HOST
value: "mysql-8351f937d637.rds.ivolces.com"
value: "mysql8351f937d637.rds.ivolces.com"
- name: DB_NAME
value: "video_auto"
- name: DB_USER