Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skadefro committed Dec 16, 2022
1 parent 241cfcd commit 533ccd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/mongodb/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,17 @@ spec:
- name: KUBERNETES_MONGO_SERVICE_NAME
value: "mongo"
{{- end }}
- name: MONGO_AUTH_ENABLED
value: {{ .Values.auth.enabled | quote }}
- name: MONGODB_USERNAME
value: {{ .Values.auth.adminuser | quote }}
{{- if .Values.auth.adminpass }}
- name: MONGODB_PASSWORD
valueFrom:
secretKeyRef:
name: "mongo-creds"
key: adminpass
{{- end }}
{{- if .Values.auth.enabled }}
- name: MONGODB_KEYFILE
value: "/data/db/mongodb.key"
Expand Down

0 comments on commit 533ccd8

Please sign in to comment.