Skip to content

Commit

Permalink
add option to configure hostNetwork daemonset propertie
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Kolesnikov <[email protected]>
  • Loading branch information
ikolesnikovrevizto authored and Ivan Kolesnikov committed Aug 4, 2023
1 parent b47a183 commit 4553d44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/fluent-operator/templates/fluentbit-fluentBit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spec:
{{- toYaml .Values.fluentbit.resources | nindent 4 }}
fluentBitConfigName: fluent-bit-config
{{- if .Values.fluentbit.namespaceFluentBitCfgSelector }}
{{- if .Values.fluentbit.hostNetwork }}
hostNetwork: {{ .Values.fluentbit.hostNetwork }}
{{- end }}
namespaceFluentBitCfgSelector:
{{ toYaml .Values.fluentbit.namespaceFluentBitCfgSelector | indent 4 }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/fluent-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ fluentbit:
imagePullSecrets: []
# - name: "image-pull-secret"
secrets: []
# fluent-bit daemonset use host network
hostNetwork: false
# Pod security context for Fluent Bit pods. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
podSecurityContext: {}
# Security context for Fluent Bit container. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
Expand Down

0 comments on commit 4553d44

Please sign in to comment.