diff --git a/charts/fluent-operator/templates/fluentbit-fluentBit.yaml b/charts/fluent-operator/templates/fluentbit-fluentBit.yaml index 063772208..e65f184ba 100644 --- a/charts/fluent-operator/templates/fluentbit-fluentBit.yaml +++ b/charts/fluent-operator/templates/fluentbit-fluentBit.yaml @@ -10,6 +10,7 @@ spec: {{- if .Values.fluentbit.hostNetwork }} hostNetwork: {{ .Values.fluentbit.hostNetwork }} {{- end }} + {{- if .Values.fluentbit.dnsPolicy }} dnsPolicy: {{ .Values.fluentbit.dnsPolicy }} {{- end }} @@ -88,4 +89,4 @@ spec: {{ toYaml .Values.fluentbit.serviceAccountAnnotations | indent 4 }} {{- end }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }}