UCP: Enable Audit Logging feature gate in K8s
Ensure that API Server can capture Metadata log level details. Change-Id: I49c7576acdc211d1d8762d5ef31ca2f9ac9ac6e5
This commit is contained in:
parent
76c942b5ce
commit
1c8c09dc46
@ -85,6 +85,19 @@ conf:
|
|||||||
# plugins:
|
# plugins:
|
||||||
# - name: EventRateLimit
|
# - name: EventRateLimit
|
||||||
# path: eventconfig.yaml
|
# path: eventconfig.yaml
|
||||||
|
#
|
||||||
|
# Uncomment any of the below to enable enhanced Audit Logging command line options.
|
||||||
|
#
|
||||||
|
# auditpolicy:
|
||||||
|
# file: audit_policy.yaml
|
||||||
|
# command_options:
|
||||||
|
# - '--audit-policy-file=/etc/kubernetes/apiserver/audit_policy.yaml'
|
||||||
|
# content:
|
||||||
|
# kind: Policy
|
||||||
|
# apiVersion: apiserver.k8s.io/v1
|
||||||
|
# rules:
|
||||||
|
# - level: Metadata
|
||||||
|
#
|
||||||
# eventconfig:
|
# eventconfig:
|
||||||
# file: eventconfig.yaml
|
# file: eventconfig.yaml
|
||||||
# command_options:
|
# command_options:
|
||||||
|
Loading…
Reference in New Issue
Block a user