aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/vid/charts/vid-galera/templates/secrets.yaml
blob: 101a7eba794eb5ba3ec387d1473a9c91a2c669be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
apiVersion: v1
kind: Secret
metadata:
  name: {{ include "common.fullname" . }}
  namespace: {{ include "common.namespace" . }}
  labels:
    app: {{ include "common.name" . }}
    chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
    release: "{{ .Release.Name }}"
    heritage: "{{ .Release.Service }}"
type: Opaque
data:
  db-root-password: {{ .Values.config.mariadbRootPassword | b64enc | quote }}
  user-password: {{ default "" .Values.config.userPassword | b64enc | quote }}