Skip to content
Snippets Groups Projects
Unverified Commit e489e700 authored by orange-llajeanne's avatar orange-llajeanne Committed by GitHub
Browse files

add new variable allowing additionnal audit webhook server options (#6726)

parent 05c9169c
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,7 @@ 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_server_extra_args: {}
audit_webhook_mode: batch
audit_webhook_batch_max_size: 100
audit_webhook_batch_max_wait: 1s
......
......@@ -3,6 +3,9 @@ kind: Config
clusters:
- cluster:
server: {{ audit_webhook_server_url }}
{% for key in audit_webhook_server_extra_args %}
{{ key }}: "{{ audit_webhook_server_extra_args[key] }}"
{% endfor %}
name: auditsink
contexts:
- context:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment