diff --git a/charts/fluent-operator/templates/fluent-operator-deployment.yaml b/charts/fluent-operator/templates/fluent-operator-deployment.yaml index 0cb8a687..dbbc7950 100644 --- a/charts/fluent-operator/templates/fluent-operator-deployment.yaml +++ b/charts/fluent-operator/templates/fluent-operator-deployment.yaml @@ -102,7 +102,9 @@ spec: {{- with .Values.operator.extraArgs }} {{- toYaml . | nindent 10 }} {{- end }} - - --disable-component-controllers={{ .Values.operator.disableComponentControllers | quote }} + {{- with .Values.operator.disableComponentControllers }} + - --disable-component-controllers={{ . }} + {{- end }} volumeMounts: - name: env mountPath: /fluent-operator @@ -125,4 +127,4 @@ spec: {{- if .Values.operator.podSecurityContext }} securityContext: {{ toYaml .Values.operator.podSecurityContext | nindent 8 }} - {{- end }} + {{- end }} \ No newline at end of file