Fix chart for old Helm versions

This commit is contained in:
stefanprodan
2019-09-05 16:01:34 +03:00
parent f3db1adb27
commit 8e6eccecda

View File

@@ -8,7 +8,7 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
{{- if and (not .Values.hpa.enabled) (gt .Values.replicaCount 1.0) }}
{{- if not .Values.hpa.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
strategy: