Skip to content

Commit ec9c5e4

Browse files
authored
Merge pull request #1160 from nickytd/fix-disable-component-controllers
Fix quotes for disable-component-controller argument string in fluent-operator deployment template.
2 parents ffbe88e + dac584d commit ec9c5e4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

charts/fluent-operator/templates/fluent-operator-deployment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ spec:
102102
{{- with .Values.operator.extraArgs }}
103103
{{- toYaml . | nindent 10 }}
104104
{{- end }}
105-
- --disable-component-controllers={{ .Values.operator.disableComponentControllers | quote }}
105+
{{- with .Values.operator.disableComponentControllers }}
106+
- {{ printf "%s=%s" "--disable-component-controllers" . | quote }}
107+
{{- end }}
106108
volumeMounts:
107109
- name: env
108110
mountPath: /fluent-operator

0 commit comments

Comments
 (0)