fix: if not .Values.autoscaling.enabled indent

Signed-off-by: Thulio Ferraz Assis <thulio.assis@suse.com>
pull/8696/head
Thulio Ferraz Assis 5 years ago
parent 6766017d38
commit b4bb73d8ce
No known key found for this signature in database
GPG Key ID: DEF1C99F258E3F6D

@ -246,9 +246,9 @@ metadata:
labels: labels:
{{- include "<CHARTNAME>.labels" . | nindent 4 }} {{- include "<CHARTNAME>.labels" . | nindent 4 }}
spec: spec:
{{- if not .Values.autoscaling.enabled }} {{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }} replicas: {{ .Values.replicaCount }}
{{- end }} {{- end }}
selector: selector:
matchLabels: matchLabels:
{{- include "<CHARTNAME>.selectorLabels" . | nindent 6 }} {{- include "<CHARTNAME>.selectorLabels" . | nindent 6 }}

Loading…
Cancel
Save