fix: cubic issues
Signed-off-by: Thomas Stocker <thomas.stocker.pro@gmail.com>
This commit is contained in:
committed by
Bryan Frimin
parent
fa19f3a17c
commit
47c4efb8c8
@@ -33,9 +33,8 @@ spec:
|
||||
pathType: {{ .pathType }}
|
||||
backend:
|
||||
service:
|
||||
name: {{ include "probo.fullname" $ }}
|
||||
port:
|
||||
number: {{ $.Values.service.port }}
|
||||
name: {{ default (include "probo.fullname" $) .backend.service.name }}
|
||||
port: {{ default $.Values.service.port .backend.service.port.number }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -20,7 +20,7 @@ spec:
|
||||
- name: POSTGRES_USER
|
||||
value: {{ .Values.postgresql.auth.postgresUser }}
|
||||
- name: POSTGRES_PASSWORD
|
||||
value: {{ .Values.postgresql.auth.postgresPassword }}
|
||||
value: {{ .Values.postgresql.auth.postgresPassword | quote }}
|
||||
- name: POSTGRES_DB
|
||||
value: {{ .Values.postgresql.auth.database }}
|
||||
ports:
|
||||
@@ -62,7 +62,7 @@ data:
|
||||
|
||||
psql -v ON_ERROR_STOP=1 -U $POSTGRES_USER <<-EOF
|
||||
ALTER USER probod WITH SUPERUSER;
|
||||
ALTER USER probod PASSWORD 'probod';
|
||||
ALTER USER probod PASSWORD '{{ .Values.postgresql.auth.postgresPassword }}';
|
||||
GRANT ALL PRIVILEGES ON DATABASE probod TO probod;
|
||||
CREATE DATABASE probod_test;
|
||||
GRANT ALL PRIVILEGES ON DATABASE probod_test TO probod;
|
||||
|
||||
Reference in New Issue
Block a user