Fix IP and video sources
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 4m1s

This commit is contained in:
zyc 2026-03-23 14:06:59 +08:00
parent aa538443b6
commit 27012a8809
2 changed files with 6 additions and 0 deletions

View File

@ -86,6 +86,10 @@ jobs:
kubectl apply -f /tmp/backend-deployment.yaml
kubectl apply -f /tmp/web-deployment.yaml
kubectl apply -f /tmp/ingress.yaml
# Preserve real client IP: disable SNAT on Traefik
kubectl patch svc traefik -n kube-system -p '{"spec":{"externalTrafficPolicy":"Local"}}' 2>/dev/null || true
kubectl rollout restart deployment/video-backend
kubectl rollout restart deployment/video-web

View File

@ -91,6 +91,8 @@ spec:
key: ARK_API_KEY
- name: SEEDANCE_ENABLED
value: "true"
- name: ASSETS_API_ENABLED
value: "true"
# Aliyun SMS
- name: ALIYUN_SMS_ACCESS_KEY
valueFrom: