diff --git a/charts/graylog/templates/custom/mongo-rs.yaml b/charts/graylog/templates/custom/mongo-rs.yaml index 3ecea65..e5544ee 100644 --- a/charts/graylog/templates/custom/mongo-rs.yaml +++ b/charts/graylog/templates/custom/mongo-rs.yaml @@ -30,6 +30,10 @@ spec: db: admin - name: userAdminAnyDatabase db: admin + - name: backup + db: admin + - name: restore + db: admin scramCredentialsSecretName: {{ include "graylog.mongodb.crName" . | printf "%s-admin" }} - name: {{ include "graylog.mongodb.crUsername" . }} db: {{ include "graylog.mongodb.crDatabase" . }} @@ -69,4 +73,4 @@ spec: resources: requests: storage: {{ .Values.mongodb.persistence.size.logs | default "2G" | quote }} -{{- end }} \ No newline at end of file +{{- end }}