[chart] Use the same postgresql image for init as in the subchart

Change-Id: Ife2ad034caf38b08cb702873dbda6b936233e246
This commit is contained in:
Radosław Piliszek 2024-04-04 09:15:58 +02:00
parent ac23039c0d
commit d2b7338624

View File

@ -29,7 +29,7 @@ spec:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers:
- name: wait-for-postgresql
image: docker.io/bitnami/postgresql:14.3.0
image: docker.io/bitnami/postgresql:16.2.0-debian-12-r8
command: ['sh', '-c', 'until pg_isready -h nebulous-overlay-network-manager-postgresql -p 5432; do echo waiting for database; sleep 2; done;']
containers:
- name: {{ .Chart.Name }}