Skip to content

Commit cb5ea70

Browse files
g1franccw-Guo
authored andcommitted
Update fluentbit-fluentBit.yaml to address issue 1635
When adding imagePullSecrets in fluentbit-fluentBit.yaml, test should be with an "with" instead of a "if" to have the local scope when later using "." See issue #1635 Signed-off-by: g1franc <[email protected]>
1 parent b09b341 commit cb5ea70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/fluent-operator/templates/fluentbit-fluentBit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
dnsPolicy: ClusterFirstWithHostNet
1818
{{- end }}
1919
image: {{ template "fluent-operator.image" (tuple .Values.fluentbit.image "") }}
20-
{{- if .Values.fluentbit.imagePullSecrets }}
20+
{{- with .Values.fluentbit.imagePullSecrets }}
2121
imagePullSecrets:
2222
{{- toYaml . | nindent 4 }}
2323
{{- end }}

0 commit comments

Comments
 (0)