-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CONTINT-4406] add helm option to filter kubernetes events (#1517)
* Add config option for datadog.kubernetesEvents.filteringEnabled * Added CI test and updated documentation * Allow filtering and unbundle to bet set to false
- Loading branch information
1 parent
928581c
commit 0010864
Showing
7 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
@@ -1,10 +1,13 @@ | ||
{{- define "kubernetes_apiserver-config" -}} | ||
{{- if and .Values.datadog.collectEvents .Values.datadog.kubernetesEvents.unbundleEvents -}} | ||
{{- if .Values.datadog.collectEvents -}} | ||
kubernetes_apiserver.yaml: |- | ||
init_config: | ||
instances: | ||
- unbundle_events: {{ .Values.datadog.kubernetesEvents.unbundleEvents }} | ||
- filtering_enabled: {{ .Values.datadog.kubernetesEvents.filteringEnabled }} | ||
unbundle_events: {{ .Values.datadog.kubernetesEvents.unbundleEvents }} | ||
{{- if .Values.datadog.kubernetesEvents.unbundleEvents }} | ||
collected_event_types: | ||
{{ .Values.datadog.kubernetesEvents.collectedEventTypes | toYaml | nindent 8 }} | ||
{{- 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