diff --git a/charts/streams-app/templates/deployment.yaml b/charts/streams-app/templates/deployment.yaml index 781ee057..45d10210 100644 --- a/charts/streams-app/templates/deployment.yaml +++ b/charts/streams-app/templates/deployment.yaml @@ -28,7 +28,9 @@ spec: serviceName: {{ template "streams-app.name" . }} podManagementPolicy: Parallel {{- end }} + {{- if (not .Values.autoscaling.enabled) }} replicas: {{ .Values.replicaCount }} + {{- end }} selector: matchLabels: app: {{ template "streams-app.name" . }}