init commit
This commit is contained in:
12
helm/templates/secret.yaml
Normal file
12
helm/templates/secret.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ include "mongo.name.secret" . }}
|
||||
labels:
|
||||
{{- include "mongo.labels" . | nindent 4 }}
|
||||
type: Opaque
|
||||
stringData:
|
||||
{{- if .Values.auth.enabled }}
|
||||
MONGO_INITDB_ROOT_PASSWORD: "{{ .Values.auth.rootPassword }}"
|
||||
MONGO_INITDB_ROOT_USERNAME: "{{ .Values.auth.rootUsername }}"
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user