Mike Elliott | d32d36e | 2018-02-12 15:54:03 -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.fullname" . }} |
| 8 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 9 | release: {{ .Release.Name }} |
| 10 | heritage: {{ .Release.Service }} |
| 11 | type: Opaque |
| 12 | data: |
| 13 | db-root-password: {{ .Values.config.mariadbRootPassword | b64enc | quote }} |
| 14 | --- |
| 15 | apiVersion: v1 |
| 16 | kind: Secret |
| 17 | metadata: |
| 18 | name: {{ include "common.name" . }}-docker-registry-key |
| 19 | namespace: {{ include "common.namespace" . }} |
| 20 | labels: |
| 21 | app: {{ include "common.fullname" . }} |
| 22 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 23 | release: {{ .Release.Name }} |
| 24 | heritage: {{ .Release.Service }} |
| 25 | data: |
| 26 | .dockercfg: {{ .Values.global.repositorySecret | default .Values.repositorySecret }} |
| 27 | type: kubernetes.io/dockercfg |