Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(helm): expose args and command attributes for FluentBit CRD #1350

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions charts/fluent-operator/templates/fluentbit-fluentBit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ spec:
namespaceFluentBitCfgSelector:
{{ toYaml .Values.fluentbit.namespaceFluentBitCfgSelector | indent 4 }}
{{- end }}
{{- with .Values.fluentbit.command }}
command:
{{ toYaml . | indent 4 }}
{{- end }}
{{- with .Values.fluentbit.args }}
args:
{{ toYaml . | indent 4 }}
{{- end }}
{{- if .Values.fluentbit.envVars }}
envVars:
{{ toYaml .Values.fluentbit.envVars | indent 4 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/fluent-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ fluentbit:
- operator: Exists
# Priority Class applied to Fluent Bit pods. Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass
priorityClassName: ""
# custom command.
command: []
# custom command line arguments.
args: []
# Environment variables that can be passed to fluentbit pods
envVars: []
# - name: FOO
Expand Down