chart-unifi_network_application: set MONGO_AUTHSOURCE for app as well
This commit is contained in:
@ -54,6 +54,7 @@ spec:
|
||||
volumeMounts:
|
||||
- name: {{ include "template.fullname" . }}-mongodb-init-volume
|
||||
mountPath: /docker-entrypoint-initdb.d/init-mongo.sh
|
||||
subPath: init-mongo.sh
|
||||
- name: {{ include "template.fullname" . }}-mongodb-data-volume
|
||||
mountPath: /data/db
|
||||
|
||||
@ -100,6 +101,8 @@ spec:
|
||||
value: {{ .Values.mongodb.password }}
|
||||
- name: MONGO_DBNAME
|
||||
value: {{ .Values.mongodb.dbname }}
|
||||
- name: MONGO_AUTHSOURCE
|
||||
value: admin
|
||||
|
||||
ports:
|
||||
- name: 'l2-discoverable'
|
||||
|
||||
Reference in New Issue
Block a user