File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {{ if eq .Values.global.database_location "on-cluster"}}
12apiVersion : v1
23kind : Secret
34metadata :
@@ -7,7 +8,7 @@ metadata:
78 heritage : drycc
89 annotations :
910 " helm.sh/hook " : pre-install
10- data : {{ if eq .Values.global.database_location "on-cluster"}}
11+ data :
1112 user : {{ if .Values.username | default "" | ne "" }}{{ .Values.username | b64enc }}{{ else }}{{ randAlphaNum 32 | b64enc }}{{ end }}
12- password : {{ if .Values.password | default "" | ne "" }}{{ .Values.password | b64enc }}{{ else }}{{ randAlphaNum 32 | b64enc }}{{ end }}{{ else if eq .Values.global.database_location "off-cluster"}}
13- url : {{ .Values.postgres.url | b64enc }} {{ end }}
13+ password : {{ if .Values.password | default "" | ne "" }}{{ .Values.password | b64enc }}{{ else }}{{ randAlphaNum 32 | b64enc }}
14+ {{ end }}
Original file line number Diff line number Diff line change @@ -9,6 +9,3 @@ timeout: "1200"
99# If left empty they will be generated using randAlphaNum
1010username : " "
1111password : " "
12- # Configure the following ONLY if using an off-cluster database.
13- postgres :
14- url : " postgres://USER:PASSWORD@HOST:PORT/NAME"
You can’t perform that action at this time.
0 commit comments