Skip to content

Commit fa7f2d8

Browse files
set replicas if autoscaling is not enabled
1 parent 9afed1c commit fa7f2d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

charts/fluentd/templates/statefulset.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ metadata:
1313
{{- toYaml . | nindent 4 }}
1414
{{- end }}
1515
spec:
16+
{{- if not .Values.autoscaling.enabled }}
1617
replicas: {{ .Values.replicaCount }}
18+
{{- end }}
1719
serviceName: {{ include "fluentd.fullname" . }}
1820
{{- with .Values.updateStrategy }}
1921
updateStrategy:

0 commit comments

Comments
 (0)