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:
dt241s 2019-02-07 10:46:23 -06:00
parent 76c942b5ce
commit 1c8c09dc46
1 changed files with 13 additions and 0 deletions

View File

@ -85,6 +85,19 @@ conf:
# plugins:
# - name: EventRateLimit
# 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:
# file: eventconfig.yaml
# command_options: