Enhance the SCM-Manager helm chart to use to force redeployments for Charts which have not changed clusterwise

This commit is contained in:
Eduard Heimbuch
2023-08-25 13:44:02 +02:00
parent c368cdc82b
commit 6a12f3a836
2 changed files with 7 additions and 0 deletions

View File

@@ -44,6 +44,10 @@ spec:
labels:
app: {{ include "scm-manager.name" . }}
release: {{ .Release.Name }}
{{- if .Values.forceRedeploy }}
annotations:
timestamp: {{ now | quote }}
{{- end }}
spec:
{{- if .Values.image.pullSecret }}
imagePullSecrets:

View File

@@ -180,3 +180,6 @@ extraVolumeMounts: |
extraArgs: []
# - "-Dscm.initialPassword=admin"
# - "-Dscm.initialUser=admin"
# forceRedeploy - Forces a redeployment in the cluster on every change even if the chart has not changed significantly
forceRedeploy: false