Skip to content

Commit

Permalink
Merge pull request #951 from L1ghtman2k/master
Browse files Browse the repository at this point in the history
feat(helm): allow setting dnsPolicy for fluentbit
  • Loading branch information
benjaminhuo authored Oct 7, 2023
2 parents da22f5e + f4c9f74 commit aa780d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion charts/fluent-operator/templates/fluentbit-fluentBit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ metadata:
spec:
{{- if .Values.fluentbit.hostNetwork }}
hostNetwork: {{ .Values.fluentbit.hostNetwork }}
{{- end }}
{{- if .Values.fluentbit.dnsPolicy }}
dnsPolicy: {{ .Values.fluentbit.dnsPolicy }}
{{- end }}
image: {{ .Values.fluentbit.image.repository }}:{{ .Values.fluentbit.image.tag }}
{{- if .Values.fluentbit.imagePullSecrets }}
Expand Down Expand Up @@ -85,4 +88,4 @@ spec:
{{ toYaml .Values.fluentbit.serviceAccountAnnotations | indent 4 }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit aa780d0

Please sign in to comment.