Files
deprecated-helm-charts/stable/drupal/templates/secrets.yaml
T
Juan Ariza Toledano e17e0ac0e4 [stable/drupal] Simplify ingress configuration for cert-manager (#8352)
* Fix typo

Signed-off-by: juan131 <juan@bitnami.com>

* [stable/redmine] Simplify drupal configuration for cert-manager

Signed-off-by: juan131 <juan@bitnami.com>

* Fix typo

Signed-off-by: juan131 <juan@bitnami.com>

* Add 'drupal.chart' macro

Signed-off-by: juan131 <juan@bitnami.com>
2018-10-11 06:06:32 -07:00

17 lines
453 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: {{ template "drupal.fullname" . }}
labels:
app: {{ template "drupal.fullname" . }}
chart: {{ template "drupal.chart" . }}
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
type: Opaque
data:
{{ if .Values.drupalPassword }}
drupal-password: {{ .Values.drupalPassword | b64enc | quote }}
{{ else }}
drupal-password: {{ randAlphaNum 10 | b64enc | quote }}
{{ end }}