diff --git a/charts/streams-app/templates/deployment.yaml b/charts/streams-app/templates/deployment.yaml index e1452eb5..45d10210 100644 --- a/charts/streams-app/templates/deployment.yaml +++ b/charts/streams-app/templates/deployment.yaml @@ -28,7 +28,7 @@ spec: serviceName: {{ template "streams-app.name" . }} podManagementPolicy: Parallel {{- end }} - {{- if .Values.replicaCount }} + {{- if (not .Values.autoscaling.enabled) }} replicas: {{ .Values.replicaCount }} {{- end }} selector: diff --git a/charts/streams-app/values.yaml b/charts/streams-app/values.yaml index aa477b5a..d84eaf5c 100644 --- a/charts/streams-app/values.yaml +++ b/charts/streams-app/values.yaml @@ -1,6 +1,6 @@ nameOverride: bakdata-streams-app -# replicaCount: 1 +replicaCount: 1 image: streamsApp imageTag: latest