Skip to content

Commit 6e61349

Browse files
authored
fix(helm): add spec.strategy in deployment django (#11859)
1 parent 0a08c0d commit 6e61349

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

helm/defectdojo/templates/django-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ metadata:
2020
{{- end }}
2121
spec:
2222
replicas: {{ .Values.django.replicas }}
23+
{{- with .Values.django.strategy }}
24+
strategy:
25+
{{- toYaml . | nindent 4 }}
26+
{{- end }}
2327
{{- if .Values.revisionHistoryLimit }}
2428
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
2529
{{- end }}

helm/defectdojo/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ django:
241241
memory: 256Mi
242242
nodeSelector: {}
243243
replicas: 1
244+
strategy: {}
244245
tolerations: []
245246
uwsgi:
246247
livenessProbe:

0 commit comments

Comments
 (0)