From f249f0afab6357652315ea35781ae95d83664724 Mon Sep 17 00:00:00 2001 From: Aibek <35672535+L1ghtman2k@users.noreply.github.com> Date: Fri, 6 Oct 2023 16:08:26 -0600 Subject: [PATCH 1/3] set dnsPolicy Signed-off-by: l1ghtman2k --- charts/fluent-operator/templates/fluentbit-fluentBit.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/fluent-operator/templates/fluentbit-fluentBit.yaml b/charts/fluent-operator/templates/fluentbit-fluentBit.yaml index f7e9f7a4f..063772208 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 }} From 20ca7f7583456957003dc54dff13e1f92591627d Mon Sep 17 00:00:00 2001 From: Aibek <35672535+L1ghtman2k@users.noreply.github.com> Date: Fri, 6 Oct 2023 18:09:36 -0400 Subject: [PATCH 2/3] Update fluentbit-fluentBit.yaml Signed-off-by: Aibek <35672535+L1ghtman2k@users.noreply.github.com> Signed-off-by: l1ghtman2k --- charts/fluent-operator/templates/fluentbit-fluentBit.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }} From f4c9f742a1d92f003c60f462aac837b3f41ebf3f Mon Sep 17 00:00:00 2001 From: Aibek <35672535+L1ghtman2k@users.noreply.github.com> Date: Fri, 6 Oct 2023 18:09:48 -0400 Subject: [PATCH 3/3] Update fluentbit-fluentBit.yaml Signed-off-by: Aibek <35672535+L1ghtman2k@users.noreply.github.com> Signed-off-by: l1ghtman2k --- charts/fluent-operator/templates/fluentbit-fluentBit.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/charts/fluent-operator/templates/fluentbit-fluentBit.yaml b/charts/fluent-operator/templates/fluentbit-fluentBit.yaml index e65f184ba..5b5cd0bef 100644 --- a/charts/fluent-operator/templates/fluentbit-fluentBit.yaml +++ b/charts/fluent-operator/templates/fluentbit-fluentBit.yaml @@ -10,7 +10,6 @@ spec: {{- if .Values.fluentbit.hostNetwork }} hostNetwork: {{ .Values.fluentbit.hostNetwork }} {{- end }} - {{- if .Values.fluentbit.dnsPolicy }} dnsPolicy: {{ .Values.fluentbit.dnsPolicy }} {{- end }}