fix: wait for files postgres readiness

This commit is contained in:
Grendgi
2026-06-16 13:22:08 +03:00
parent 79eac4d251
commit dff97c55dc
3 changed files with 6 additions and 2 deletions

View File

@@ -51,6 +51,8 @@ jobs:
kubectl apply -f k8s/secrets.yaml
kubectl apply -f k8s/configmap.yaml
kubectl apply -f k8s/postgres.yaml
kubectl -n files rollout status statefulset/postgres --timeout=240s
kubectl -n files wait --for=condition=ready pod -l app=files-postgres --timeout=240s
kubectl apply -f k8s/server-deployment.yaml
kubectl apply -f k8s/server-service.yaml
kubectl -n files set image deployment/files-server \