Skip to content

Commit

Permalink
Merge pull request #136 from clementguillot/135-custom-db-name-is-not…
Browse files Browse the repository at this point in the history
…-applied-to-cleanup-job

fix(helm-chart): also use custom DB name in `cleanup` cron-job
  • Loading branch information
clementguillot authored Apr 23, 2024
2 parents 8a8ba20 + 583842f commit 9cc53c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/helm-chart/src/templates/server/cleanup.cron-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 9cc53c5

Please sign in to comment.