Skip to content

Commit

Permalink
adds api enablement command to dynamic audit docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pbarker committed Nov 20, 2018
1 parent 1160a12 commit 9fc0e5a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions content/en/docs/tasks/debug-application-cluster/audit.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,9 @@ In Kubernetes version 1.13, you can configure dynamic audit webhook backends Aud

To enable dynamic auditing you must set the following apiserver flags:

- `--audit-dynamic-configuration`: the primary switch. When the feature is at GA, the only required flag.
- `--feature-gates=DynamicAuditing=true`: feature gate at alpha and beta.
- `--audit-dynamic-configuration`: the primary switch. When the feature is at GA, the only required flag.
- `--feature-gates=DynamicAuditing=true`: feature gate at alpha and beta.
- `--runtime-config=auditregistration.k8s.io/v1alpha1=true`: enable API.

When enabled, an AuditSink object can be provisioned:

Expand Down

0 comments on commit 9fc0e5a

Please sign in to comment.