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