Fix helm chart use of Postgres Password (#19537)

Fixes #19536
main
Ben Hardill 2 years ago committed by GitHub
parent 30ef110224
commit 6094a916b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -59,7 +59,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "mastodon.postgresql.secretName" . }}
key: postgresql-password
key: postgres-password
- name: "REDIS_PASSWORD"
valueFrom:
secretKeyRef:

@ -76,7 +76,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "mastodon.postgresql.secretName" . }}
key: postgresql-password
key: postgres-password
- name: "REDIS_PASSWORD"
valueFrom:
secretKeyRef:

@ -44,7 +44,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "mastodon.postgresql.secretName" . }}
key: postgresql-password
key: postgres-password
- name: "REDIS_PASSWORD"
valueFrom:
secretKeyRef:

@ -62,7 +62,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "mastodon.postgresql.secretName" . }}
key: postgresql-password
key: postgres-password
- name: "REDIS_PASSWORD"
valueFrom:
secretKeyRef:

@ -60,7 +60,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "mastodon.postgresql.secretName" . }}
key: postgresql-password
key: postgres-password
- name: "REDIS_PASSWORD"
valueFrom:
secretKeyRef:

@ -61,7 +61,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "mastodon.postgresql.secretName" . }}
key: postgresql-password
key: postgres-password
- name: "REDIS_PASSWORD"
valueFrom:
secretKeyRef:

@ -66,7 +66,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "mastodon.postgresql.secretName" . }}
key: postgresql-password
key: postgres-password
- name: "REDIS_PASSWORD"
valueFrom:
secretKeyRef:

@ -60,7 +60,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "mastodon.postgresql.secretName" . }}
key: postgresql-password
key: postgres-password
- name: "REDIS_PASSWORD"
valueFrom:
secretKeyRef:

@ -37,7 +37,7 @@ data:
{{- end }}
{{- if not .Values.postgresql.enabled }}
{{- if not .Values.postgresql.auth.existingSecret }}
postgresql-password: "{{ .Values.postgresql.auth.password | b64enc }}"
postgres-password: "{{ .Values.postgresql.auth.password | b64enc }}"
{{- end }}
{{- end }}
{{- end -}}

Loading…
Cancel
Save