diff --git a/application/templates/deployment.yaml b/application/templates/deployment.yaml index 0fd49384..4ff5d317 100644 --- a/application/templates/deployment.yaml +++ b/application/templates/deployment.yaml @@ -20,7 +20,7 @@ metadata: name: {{ template "application.name" . }} namespace: {{ include "application.namespace" . }} spec: -{{- if not (quote .Values.deployment.replicas | empty) }} +{{- if not (eq .Values.deployment.replicas nil) }} replicas: {{ .Values.deployment.replicas }} {{- end }} selector: