mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-12 02:15:01 +00:00
event-handler chart updates (#43590)
* event-handler chart updates * only puts skip session and event types in config if set for event-handler chart * have types, session, event types as array for event-handler values --------- Co-authored-by: Steven Martin <[email protected]> Co-authored-by: Steven Martin <[email protected]>
This commit is contained in:
co-authored by
Steven Martin
Steven Martin
parent
22418a554b
commit
bbfa8bc2e4
@@ -11,6 +11,15 @@ data:
|
||||
batch = {{ .Values.eventHandler.batch }}
|
||||
window-size = {{ default "24h" .Values.eventHandler.windowSize | quote }}
|
||||
debug = {{ default "false" .Values.eventHandler.debug }}
|
||||
{{- if .Values.eventHandler.types }}
|
||||
types = "{{ join "," .Values.eventHandler.types }}"
|
||||
{{- end }}
|
||||
{{- if .Values.eventHandler.skipEventTypes }}
|
||||
skip-event-types = "{{ join "," .Values.eventHandler.skipEventTypes }}"
|
||||
{{- end }}
|
||||
{{- if .Values.eventHandler.skipSessionTypes }}
|
||||
skip-session-types = "{{ join "," .Values.eventHandler.skipSessionTypes }}"
|
||||
{{- end }}
|
||||
|
||||
[teleport]
|
||||
addr = "{{ .Values.teleport.address }}"
|
||||
|
||||
@@ -370,6 +370,30 @@
|
||||
"examples": [
|
||||
false
|
||||
]
|
||||
},
|
||||
"types": {
|
||||
"$id": "#/properties/eventHandler/properties/types",
|
||||
"type": "array",
|
||||
"default": "",
|
||||
"examples": [
|
||||
["TYPE1,TYPE2"]
|
||||
]
|
||||
},
|
||||
"skipEventTypes": {
|
||||
"$id": "#/properties/eventHandler/properties/skipEventTypes",
|
||||
"type": "array",
|
||||
"default": "",
|
||||
"examples": [
|
||||
["TYPE1"]
|
||||
]
|
||||
},
|
||||
"skipSessionTypes": {
|
||||
"$id": "#/properties/eventHandler/properties/skipSessionTypes",
|
||||
"type": "array",
|
||||
"default": "",
|
||||
"examples": [
|
||||
["print"]
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": true
|
||||
|
||||
@@ -21,7 +21,15 @@ eventHandler:
|
||||
# The window size should be specified as a duration string, parsed by Go's time.ParseDuration.
|
||||
windowSize: "24h"
|
||||
# Optional setting to enable debug logging
|
||||
# debugLogger: true
|
||||
# debug: true
|
||||
# Optional setting for event types to forward
|
||||
# types: ["TYPE1", "TYPE2"]
|
||||
# Optional setting for event types to skip
|
||||
# skipEventTypes: ["TYPE1"]
|
||||
# Optional setting for session types to skip
|
||||
# skipSessionTypes: ["TYPE1"]
|
||||
|
||||
|
||||
|
||||
fluentd:
|
||||
url: ""
|
||||
|
||||
Reference in New Issue
Block a user