mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-06 03:01:13 -03:30
add audit webhook support (#6317)
* add audit webhook support * use generic name auditsink
This commit is contained in:
committed by
GitHub
parent
1a1fe99669
commit
a7ec0ed587
@@ -76,6 +76,16 @@ audit_policy_name: audit-policy
|
||||
audit_policy_hostpath: "{{ audit_policy_file | dirname }}"
|
||||
audit_policy_mountpath: "{{ audit_policy_hostpath }}"
|
||||
|
||||
# audit webhook support
|
||||
kubernetes_audit_webhook: false
|
||||
|
||||
# path to audit webhook config file
|
||||
audit_webhook_config_file: "{{ kube_config_dir }}/audit-policy/apiserver-audit-webhook-config.yaml"
|
||||
audit_webhook_server_url: "https://audit.app"
|
||||
audit_webhook_mode: batch
|
||||
audit_webhook_batch_max_size: 100
|
||||
audit_webhook_batch_max_wait: 1s
|
||||
|
||||
# Limits for kube components
|
||||
kube_controller_memory_limit: 512M
|
||||
kube_controller_cpu_limit: 250m
|
||||
|
||||
Reference in New Issue
Block a user