vitalied | 1e5876c | 2018-03-29 10:24:27 -0500 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: Secret |
| 3 | metadata: |
| 4 | name: {{ include "common.fullname" . }} |
| 5 | namespace: {{ include "common.namespace" . }} |
| 6 | labels: |
| 7 | app: {{ include "common.name" . }} |
| 8 | chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" |
| 9 | release: "{{ .Release.Name }}" |
| 10 | heritage: "{{ .Release.Service }}" |
| 11 | type: Opaque |
| 12 | data: |
| 13 | db-root-password: {{ .Values.config.mariadbRootPassword | b64enc | quote }} |
| 14 | user-password: {{ default "" .Values.config.userPassword | b64enc | quote }} |