Files
deprecated-helm-charts/stable/wordpress/templates/secrets.yaml
T
Bruno 0d485610e6 [stable/wordpress] Add option to use HTTPS for readiness and liveliness (#1475)
* Add boolean for https healthchecks

* Remove unused DB Password secret

* Bump chart version

* [stable/wordpress] Bump chart not appVersion
2017-08-09 22:31:07 -07:00

18 lines
543 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: {{ template "fullname" . }}
labels:
app: {{ template "fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
type: Opaque
data:
{{ if .Values.wordpressPassword }}
wordpress-password: {{ default "" .Values.wordpressPassword | b64enc | quote }}
{{ else }}
wordpress-password: {{ randAlphaNum 10 | b64enc | quote }}
{{ end }}
smtp-password: {{ default "" .Values.smtpPassword | b64enc | quote }}