oc-tools/oc-mongo-helm/templates/secret.yaml

11 lines
257 B
YAML
Raw Permalink Normal View History

apiVersion: v1
kind: Secret
metadata:
name: {{ .Release.Name }}-mongo-secret
labels:
app: mongo
release: {{ .Release.Name }}
type: Opaque
data:
username: {{ .Values.secret.username | b64enc }}
password: {{ .Values.secret.password | b64enc }}