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

events: add overrideOutputConf property #1497

Merged
merged 1 commit into from
Mar 16, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions deploy/helm/sumologic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ Parameter | Description | Default
`fluentd.events.statefulset.podAnnotations` | Additional annotations for fluentd events pods. | `{}`
`fluentd.events.statefulset.priorityClassName` | Priority class name for fluentd events pods. | `Nil`
`fluentd.events.sourceCategory` | Source category for the Events source. Default: "{clusterName}/events" | `Nil`
`fluentd.events.overrideOutputConf` | Override output section for events. Leave empty for the default output section. | `Nil`
`metrics-server.enabled` | Set the enabled flag to true for enabling metrics-server. This is required before enabling fluentd autoscaling unless you have an existing metrics-server in the cluster. | `false`
`metrics-server.args` | Arguments for metric server. | `["--kubelet-insecure-tls","--kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname"]`
`fluent-bit.resources` | Resources for Fluent-bit daemonsets. | `{}`
Expand Down
4 changes: 4 additions & 0 deletions deploy/helm/sumologic/conf/events/events.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
{{- if .Values.fluentd.monitoring.input }}
{{ include "fluentd.prometheus-metrics.input" (dict "Tag" "kubernetes.**") | nindent 2}}
{{- end }}
{{- if .Values.fluentd.events.overrideOutputConf }}
{{ .Values.fluentd.events.overrideOutputConf | nindent 4 }}
{{- else }}
<match kubernetes.**>
@type copy
<store>
Expand Down Expand Up @@ -61,6 +64,7 @@
{{ include "fluentd.prometheus-metrics.output" . | nindent 4 }}
{{- end }}
</match>
{{- end }}
{{- if .Values.fluentd.logLevel }}
<system>
log_level {{ .Values.fluentd.logLevel }}
Expand Down
3 changes: 3 additions & 0 deletions deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,9 @@ fluentd:
fluentd:
securityContext: {}

## Override output section for events. Leave empty for the default output section
overrideOutputConf: |-

## Source category for the Events source. Default: "{clusterName}/events"
sourceCategory: ""
## Override Kubernetes resource types you want to get events for from different Kubernetes
Expand Down