mirror of
https://github.com/bitnami/charts.git
synced 2026-03-11 15:37:20 +08:00
* charts standardisation - ghost Signed-off-by: darteaga <darteaga@bitnami.com> * add upgrading major version notes * fix secrets password * [bitnami/ghost] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: Bitnami Containers <containers@bitnami.com>
18 lines
511 B
YAML
18 lines
511 B
YAML
{{- if empty .Values.existingSecret }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "ghost.fullname" . }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
type: Opaque
|
|
data:
|
|
{{- if .Values.ghostPassword }}
|
|
ghost-password: {{ .Values.ghostPassword | b64enc | quote }}
|
|
{{- else }}
|
|
ghost-password: {{ randAlphaNum 10 | b64enc | quote }}
|
|
{{- end }}
|
|
{{- if .Values.smtpPassword }}
|
|
smtp-password: {{ default "" .Values.smtpPassword | b64enc | quote }}
|
|
{{- end }}
|
|
{{- end }}
|