[chart] Use the same pg_isready invocation as in the subchart
Change-Id: I0bbe883fd1877f9d63a382e13da23765fdf1bbb2
This commit is contained in:
parent
d2b7338624
commit
ad8c621f5f
@ -30,7 +30,7 @@ spec:
|
||||
initContainers:
|
||||
- name: wait-for-postgresql
|
||||
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;']
|
||||
command: ['sh', '-c', 'until pg_isready -U postgresql -d dbname=postgres -h nebulous-overlay-network-manager-postgresql -p 5432; do echo waiting for database; sleep 2; done;']
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
securityContext:
|
||||
|
Loading…
x
Reference in New Issue
Block a user