We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d4d0db commit 5a966e1Copy full SHA for 5a966e1
2 files changed
helm/defectdojo/templates/celery-worker-deployment.yaml
@@ -21,7 +21,9 @@ metadata:
21
name: {{ $fullName }}-celery-worker
22
namespace: {{ .Release.Namespace }}
23
spec:
24
+ {{ if (not .Values.celery.worker.autoscaling.enabled) -}}
25
replicas: {{ .Values.celery.worker.replicas }}
26
+ {{- end }}
27
{{- with .Values.revisionHistoryLimit }}
28
revisionHistoryLimit: {{ . }}
29
{{- end }}
helm/defectdojo/templates/django-deployment.yaml
@@ -20,7 +20,9 @@ metadata:
20
name: {{ $fullName }}-django
+ {{ if (not .Values.django.autoscaling.enabled) -}}
replicas: {{ .Values.django.replicas }}
{{- with .Values.django.strategy }}
strategy:
{{- toYaml . | nindent 4 }}
0 commit comments