From a0c793474689f7ab432f8b537091be4e4ce8414b Mon Sep 17 00:00:00 2001 From: Catherine Luse Date: Thu, 12 Dec 2019 14:16:33 -0700 Subject: [PATCH] Explain origin of example configuration --- content/rke/latest/en/config-options/audit-log/_index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/rke/latest/en/config-options/audit-log/_index.md b/content/rke/latest/en/config-options/audit-log/_index.md index 7a9df422b1b..f92fd76bbe2 100644 --- a/content/rke/latest/en/config-options/audit-log/_index.md +++ b/content/rke/latest/en/config-options/audit-log/_index.md @@ -48,7 +48,9 @@ The default values for the audit log should be displayed: ``` -To customize the audit log, use the `configuration` directive: +To customize the audit log, the `configuration` directive is used. + +A rules policy is passed to kube-apiserver using the `--audit-policy-file` or the `policy` directive in the `cluster.yml`. Below is an example `cluster.yml` with custom values and an audit log policy nested under the `configuration` directive. This example audit log policy is taken from the official [Kubernetes documentation:](https://kubernetes.io/docs/tasks/debug-application-cluster/audit/#audit-policy) ```yaml services: