-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add stackdriver output to the Helm Chart (#1040)
* fix: add fluentbit stackdriver output #1038 Signed-off-by: Uğurcan Akkök <akkokugurcan@gmail.com> * doc: update index.md for stackdriver output #1038 Signed-off-by: Uğurcan Akkök <akkokugurcan@gmail.com> * fix comment for stackdriver in charts Signed-off-by: Uğurcan Akkök <akkokugurcan@gmail.com> --------- Signed-off-by: Uğurcan Akkök <akkokugurcan@gmail.com>
- Loading branch information
1 parent
f3a0a52
commit a9bdd93
Showing
3 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
charts/fluent-operator/templates/fluentbit-output-stackdriver.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters