diff --git a/charts/fluent-operator/templates/fluentbit-fluentBit.yaml b/charts/fluent-operator/templates/fluentbit-fluentBit.yaml index f7e9f7a4f..5b5cd0bef 100644 --- a/charts/fluent-operator/templates/fluentbit-fluentBit.yaml +++ b/charts/fluent-operator/templates/fluentbit-fluentBit.yaml @@ -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 }} @@ -85,4 +88,4 @@ spec: {{ toYaml .Values.fluentbit.serviceAccountAnnotations | indent 4 }} {{- end }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }}