blob: 2d2d33547a379795974aa27bd69e57f05d977340 [file] [log] [blame]
Mike Elliottd32d36e2018-02-12 15:54:03 -05001apiVersion: v1
2kind: Secret
3metadata:
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 }}
11type: Opaque
12data:
13 db-root-password: {{ .Values.config.mariadbRootPassword | b64enc | quote }}
14---
15apiVersion: v1
16kind: Secret
17metadata:
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 }}
25data:
26 .dockercfg: {{ .Values.global.repositorySecret | default .Values.repositorySecret }}
27type: kubernetes.io/dockercfg