diff --git a/apps/helm-chart/src/templates/server/cleanup.cron-job.yaml b/apps/helm-chart/src/templates/server/cleanup.cron-job.yaml index 23236ca4..60d65703 100644 --- a/apps/helm-chart/src/templates/server/cleanup.cron-job.yaml +++ b/apps/helm-chart/src/templates/server/cleanup.cron-job.yaml @@ -67,7 +67,7 @@ spec: - name: QUARKUS_MONGODB_CONNECTION_STRING {{- include "nx-cloud-ce.server.database.connection-string" . | nindent 18 }} - name: QUARKUS_MONGODB_DATABASE - value: {{ .Values.server.name }} + value: {{ default .Values.server.name .Values.server.database.dbName }} {{- with .Values.server.envFrom }} envFrom: {{- toYaml . | nindent 16 }}