update replicas conditional to latest version
- simpler logic - thanks to review comment for catching this Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
This commit is contained in:
parent
acd800b4b2
commit
33e7117e49
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ metadata:
|
|||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if (ne .Values.server.autoscaling.enabled true) }}
|
||||
{{- if not .Values.server.autoscaling.enabled }}
|
||||
replicas: {{ .Values.server.replicas }}
|
||||
{{- end }}
|
||||
selector:
|
||||
|
|
Loading…
Reference in a new issue