Fix helm postgresql secret (#19678)

* Revert "Fix helm chart use of Postgres Password (#19537)"

This reverts commit ee65fb26b4.

* Revert "Fix PostgreSQL password reference for jobs (#19504)"

This reverts commit f474fd1820.

* Revert "Fix PostgreSQL password reference (#19502)"

This reverts commit 9abf8c9b10.

* Correct default username in postgresql auth
This commit is contained in:
Alex Nordlund 2022-11-08 17:18:57 +01:00 committed by GitHub
parent f364c8c8c3
commit 992c1c559e
10 changed files with 11 additions and 11 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -60,7 +60,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ template "mastodon.postgresql.secretName" . }}
key: postgres-password
key: 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 }}
postgres-password: "{{ .Values.postgresql.auth.password | b64enc }}"
password: "{{ .Values.postgresql.auth.password | b64enc }}"
{{- end }}
{{- end }}
{{- end -}}

View File

@ -141,7 +141,7 @@ postgresql:
# postgresqlHostname: preexisting-postgresql
auth:
database: mastodon_production
username: postgres
username: mastodon
# you must set a password; the password generated by the postgresql chart will
# be rotated on each upgrade:
# https://github.com/bitnami/charts/tree/master/bitnami/postgresql#upgrade
@ -149,7 +149,7 @@ postgresql:
# Set same value as above
postgresPassword: ""
# you can also specify the name of an existing Secret
# with a key of postgres-password set to the password you want
# with a key of password set to the password you want
existingSecret: ""
# https://github.com/bitnami/charts/tree/master/bitnami/redis#parameters