wikijs-fork/dev/helm/templates/secrets.yaml
2019-05-03 23:46:18 -04:00

14 lines
416 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: {{ template "wiki.fullname" . }}
labels:
app: {{ template "wiki.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
type: Opaque
data:
db-user: {{ .Values.postgresql.postgresUser | b64enc | quote }}
db-password: {{ .Values.postgresql.postgresPassword | b64enc | quote }}