wikijs-fork/dev/helm/templates/secrets.yaml

14 lines
416 B
YAML
Raw Normal View History

2019-05-04 03:45:54 +00:00
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 }}