hotfix
Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 6m6s

This commit is contained in:
liquidrinu 2025-05-25 10:42:36 +02:00
parent fda611d249
commit 55feccec4b

@ -10,6 +10,14 @@ spec:
spec: spec:
imagePullSecrets: imagePullSecrets:
- name: regcred - name: regcred
initContainers:
- name: wait-for-postgres
image: postgres:15
command: ['sh', '-c',
'until pg_isready -h postgres-service -p 5432 -U prod_admin; do echo waiting for postgres; sleep 2; done;']
env:
- name: PGPASSWORD
value: "{{ .Values.backend.env.POSTGRES_PASSWORD }}"
containers: containers:
- name: migrate-seed - name: migrate-seed
image: {{ .Values.backend.image }} image: {{ .Values.backend.image }}