File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,8 +102,12 @@ Create chart name and version as used by the chart label.
102102{ {- end -} }
103103
104104{ {- define " initializer.jobname" -} }
105+ { {- if .Values.initializer.staticName -} }
106+ { { .Release.Name } }-initializer
107+ { {- else -} }
105108{ { .Release.Name } }-initializer-{ {- printf " %s" now | date " 2006-01-02-15-04" -} }
106109{ {- end -} }
110+ { {- end -} }
107111
108112{ {/*
109113 Creates the array for DD_ALLOWED_HOSTS in configmap
Original file line number Diff line number Diff line change @@ -365,6 +365,11 @@ initializer:
365365 # @type: array<map>
366366 extraVolumes : []
367367
368+ # staticName defines whether name of the job will be the same (e.g., "defectdojo-initializer")
369+ # or different every time - generated based on current time (e.g., "defectdojo-initializer-2024-11-11-18-57")
370+ # This might be handy for ArgoCD deployments
371+ staticName : false
372+
368373postgresql :
369374 enabled : true
370375 auth :
You can’t perform that action at this time.
0 commit comments