* [bitnami/postgresql] add commonLabels
* [bitnami/postgresql] update chart minor version
* [bitnami/postgresql] bump version
Co-authored-by: Joseph Vano <jvano@ea.com>
* Don't put postgresql-postgres-password in secret when not needed
When only using the "postgres" user, the secret gets updated every helm upgrade with a
random string. When using with argocd (and maybe other gitops tools) there are always
changes until you put a dummy value into postgresqlPostgresPassword.
Use the same conditional as in statefulset.yaml:
~~~
{{- if not (eq (include "postgresql.username" .) "postgres") }}
# (..)
- name: POSTGRES_POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: {{ template "postgresql.secretName" . }}
key: postgresql-postgres-password
{{- end }}
{{- end }}
~~~
* Use same conditional for readreplicas
In PR #4380 we forgot to also change the 2nd statefulset for the readreplicas
* [bitnami/postgresql] Add dependency on bitnami common chart
* [bitnami/postgresql] Replace deprecated standard Helm labels
* [bitnami/postgresql] Bump version to 9.0.0
Co-authored-by: Dennis Effing <dennis.effing@codecentric.de>