mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* [stable/ghost] Re-define ingress/smtp configuration Signed-off-by: juan131 <juan@bitnami.com> * Document SMTP parameters on README.md Signed-off-by: juan131 <juan@bitnami.com> * Revert breaking changes on labels Signed-off-by: juan131 <juan@bitnami.com>
20 lines
583 B
YAML
20 lines
583 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ template "ghost.fullname" . }}
|
|
labels:
|
|
app: "{{ template "ghost.fullname" . }}"
|
|
chart: "{{ template "ghost.chart" . }}"
|
|
release: {{ .Release.Name | quote }}
|
|
heritage: {{ .Release.Service | quote }}
|
|
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 }}
|