first commit
This commit is contained in:
12
notely/templates/mongodb-secret.yaml
Normal file
12
notely/templates/mongodb-secret.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
{{- if .Values.mongodb.enabled }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ include "notely.mongodb.fullname" . }}-credentials
|
||||
labels:
|
||||
{{- include "notely.labels" . | nindent 4 }}
|
||||
type: Opaque
|
||||
stringData:
|
||||
username: {{ .Values.mongodb.auth.username | quote }}
|
||||
password: {{ .Values.mongodb.auth.password | quote }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user