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

11 lines
257 B
YAML

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 }}