mirror of
https://github.com/bitnami/charts.git
synced 2026-03-15 14:57:16 +08:00
* Update PostgreSQL Req file Signed-off-by: joancafom <jcarmona@bitnami.com> * Change labels and annotations Improve README structure Bump PostgreSQL version Signed-off-by: joancafom <jcarmona@bitnami.com> * Add standardizations Signed-off-by: joancafom <jcarmona@bitnami.com> * Add externalSecret support * Add commonAnnotations to ingress * Improve NOTES * Bump Chart and README upgrade details * Fix indentation issues
17 lines
633 B
YAML
17 lines
633 B
YAML
{{- if not .Values.postgresql.enabled }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ printf "%s-%s" .Release.Name "externaldb" }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.commonAnnotations }}
|
|
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
type: Opaque
|
|
data:
|
|
db-password: {{ .Values.externalDatabase.password | b64enc | quote }}
|
|
{{- end }}
|