diff --git a/php/Chart.yaml b/php/Chart.yaml index f51fdb24..1daa29ed 100644 --- a/php/Chart.yaml +++ b/php/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 1.4.1 +version: 1.4.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. diff --git a/php/templates/deployment.yaml b/php/templates/deployment.yaml index bb2ec8dc..5dffd20f 100644 --- a/php/templates/deployment.yaml +++ b/php/templates/deployment.yaml @@ -13,7 +13,7 @@ metadata: {{- end }} name: {{ include "php.fullname" . }} spec: - {{- if and (not .Values.autoscaling.enabled) .Values.replicaCount }} + {{- if and (not .Values.autoscaling.enabled) (ne .Values.replicaCount nil) }} replicas: {{ .Values.replicaCount }} {{- end }} selector: