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

Add stackdriver output to the Helm Chart #1040

Merged
merged 3 commits into from
Jan 15, 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
18 changes: 18 additions & 0 deletions charts/fluent-operator/templates/fluentbit-output-stackdriver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{{- if .Values.Kubernetes -}}
{{- if .Values.fluentbit.enable -}}
{{- if .Values.fluentbit.output.stackdriver -}}
apiVersion: fluentbit.fluent.io/v1alpha2
kind: ClusterOutput
metadata:
name: stackdriver
labels:
fluentbit.fluent.io/enabled: "true"
fluentbit.fluent.io/component: logging
spec:
matchRegex: (?:kube|service)\.(.*)
stackdriver:
{{ toYaml .Values.fluentbit.output.stackdriver | indent 4}}
{{- end }}
{{- end }}
{{- end }}

2 changes: 2 additions & 0 deletions charts/fluent-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ fluentbit:
#autoKubernetesLabels: on
#tenantIDKey: # String
#tls: {} # *plugins.TLS fluentbit docs
stackdriver: {}
# You can configure the stackdriver configuration here

service:
storage: {}
Expand Down
3 changes: 2 additions & 1 deletion docs/plugins/fluentbit/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
- [opentelemetry](output/opentelemetry.md)
- [prometheus remote write](output/prometheus-remote-write.md)
- [splunk](output/splunk.md)
- [stackdriver](output/stackdriver.md)
- [stdout](output/stdout.md)
- [syslog](output/syslog.md)
- [tcp](output/tcp.md)
- [tcp](output/tcp.md)