mirror of
https://github.com/bitnami/charts.git
synced 2026-04-02 15:27:08 +08:00
Fix autoscaling reference in template chart deployment (#13062)
In values.yaml, autoscaling is nested under %%MAIN_OBJECT_BLOCK%%. Signed-off-by: Brad Solomon <81818815+brsolomon-deloitte@users.noreply.github.com> Signed-off-by: Brad Solomon <81818815+brsolomon-deloitte@users.noreply.github.com>
This commit is contained in:
@@ -12,7 +12,7 @@ metadata:
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if not .Values.autoscaling.enabled }}
|
||||
{{- if not .Values.%%MAIN_OBJECT_BLOCK%%.autoscaling.enabled }}
|
||||
replicas: {{ .Values.%%MAIN_OBJECT_BLOCK%%.replicaCount }}
|
||||
{{- end }}
|
||||
{{- if .Values.%%MAIN_OBJECT_BLOCK%%.updateStrategy }}
|
||||
|
||||
Reference in New Issue
Block a user