chart-unifi_network_application: set MONGO_AUTHSOURCE for app as well

This commit is contained in:
2024-08-25 23:12:47 +02:00
parent 40b6e5432f
commit dd4bb7d7cc

View File

@ -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'