fix audit config format (#9970)

This commit is contained in:
CaoShuFeng
2018-11-17 03:05:29 +08:00
committed by k8s-ci-robot
parent 1dd231b8c3
commit 28f02d5121
@@ -329,7 +329,6 @@ different users into different files.
1. create a [kubeconfig file](/docs/tasks/access-application-cluster/authenticate-across-clusters-kubeconfig/) for kube-apiserver webhook audit backend 1. create a [kubeconfig file](/docs/tasks/access-application-cluster/authenticate-across-clusters-kubeconfig/) for kube-apiserver webhook audit backend
```none
$ cat <<EOF > /etc/kubernetes/audit-webhook-kubeconfig $ cat <<EOF > /etc/kubernetes/audit-webhook-kubeconfig
apiVersion: v1 apiVersion: v1
clusters: clusters:
@@ -346,7 +345,6 @@ different users into different files.
preferences: {} preferences: {}
users: [] users: []
EOF EOF
```
1. start kube-apiserver with the following options: 1. start kube-apiserver with the following options: