File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,4 +34,6 @@ dependencies:
3434# description: Critical bug
3535annotations :
3636 artifacthub.io/prerelease : " true"
37- artifacthub.io/changes : " "
37+ artifacthub.io/changes : |
38+ - kind: fixed
39+ description: Drop 'replicas' when HPA is in place
Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ metadata:
2121 name : {{ $fullName }}-celery-worker
2222 namespace : {{ .Release.Namespace }}
2323spec :
24+ {{ if (not .Values.celery.worker.autoscaling.enabled) -}}
2425 replicas : {{ .Values.celery.worker.replicas }}
26+ {{- end }}
2527 {{- with .Values.revisionHistoryLimit }}
2628 revisionHistoryLimit : {{ . }}
2729 {{- end }}
Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ metadata:
2020 name : {{ $fullName }}-django
2121 namespace : {{ .Release.Namespace }}
2222spec :
23+ {{ if (not .Values.django.autoscaling.enabled) -}}
2324 replicas : {{ .Values.django.replicas }}
25+ {{- end }}
2426 {{- with .Values.django.strategy }}
2527 strategy :
2628 {{- toYaml . | nindent 4 }}
You can’t perform that action at this time.
0 commit comments