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 }}
|
pathType: {{ .pathType }}
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: {{ include "probo.fullname" $ }}
|
name: {{ default (include "probo.fullname" $) .backend.service.name }}
|
||||||
port:
|
port: {{ default $.Values.service.port .backend.service.port.number }}
|
||||||
number: {{ $.Values.service.port }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ spec:
|
|||||||
- name: POSTGRES_USER
|
- name: POSTGRES_USER
|
||||||
value: {{ .Values.postgresql.auth.postgresUser }}
|
value: {{ .Values.postgresql.auth.postgresUser }}
|
||||||
- name: POSTGRES_PASSWORD
|
- name: POSTGRES_PASSWORD
|
||||||
value: {{ .Values.postgresql.auth.postgresPassword }}
|
value: {{ .Values.postgresql.auth.postgresPassword | quote }}
|
||||||
- name: POSTGRES_DB
|
- name: POSTGRES_DB
|
||||||
value: {{ .Values.postgresql.auth.database }}
|
value: {{ .Values.postgresql.auth.database }}
|
||||||
ports:
|
ports:
|
||||||
@@ -62,7 +62,7 @@ data:
|
|||||||
|
|
||||||
psql -v ON_ERROR_STOP=1 -U $POSTGRES_USER <<-EOF
|
psql -v ON_ERROR_STOP=1 -U $POSTGRES_USER <<-EOF
|
||||||
ALTER USER probod WITH SUPERUSER;
|
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;
|
GRANT ALL PRIVILEGES ON DATABASE probod TO probod;
|
||||||
CREATE DATABASE probod_test;
|
CREATE DATABASE probod_test;
|
||||||
GRANT ALL PRIVILEGES ON DATABASE probod_test TO probod;
|
GRANT ALL PRIVILEGES ON DATABASE probod_test TO probod;
|
||||||
|
|||||||
Reference in New Issue
Block a user