Fix helm chart use of Postgres Password (#19537)

Fixes #19536
rebase/4.0.0rc1
Ben Hardill 2022-10-30 00:30:16 +01:00 committed by GitHub
parent 30ef110224
commit 6094a916b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 9 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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 -}}