Skip to content

Commit 1cf950a

Browse files
authored
Merge pull request #863 from ikolesnikovrevizto/master
add option to configure hostNetwork daemonset propertie
2 parents a8940d7 + 4553d44 commit 1cf950a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ spec:
1919
{{- toYaml .Values.fluentbit.resources | nindent 4 }}
2020
fluentBitConfigName: fluent-bit-config
2121
{{- if .Values.fluentbit.namespaceFluentBitCfgSelector }}
22+
{{- if .Values.fluentbit.hostNetwork }}
23+
hostNetwork: {{ .Values.fluentbit.hostNetwork }}
24+
{{- end }}
2225
namespaceFluentBitCfgSelector:
2326
{{ toYaml .Values.fluentbit.namespaceFluentBitCfgSelector | indent 4 }}
2427
{{- end }}

charts/fluent-operator/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ fluentbit:
9797
imagePullSecrets: []
9898
# - name: "image-pull-secret"
9999
secrets: []
100+
# fluent-bit daemonset use host network
101+
hostNetwork: false
100102
# Pod security context for Fluent Bit pods. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
101103
podSecurityContext: {}
102104
# Security context for Fluent Bit container. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/

0 commit comments

Comments
 (0)