mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 08:55:55 -04:00
Fix no audit policy by default in hack/local-up-cluster.sh
This commit is contained in:
parent
e3a125a64e
commit
e18f7a9ec6
1 changed files with 1 additions and 1 deletions
|
|
@ -528,7 +528,7 @@ function start_apiserver {
|
|||
cloud_config_arg="--cloud-provider=external"
|
||||
fi
|
||||
|
||||
if [[ -n "${AUDIT_POLICY_FILE}" ]]; then
|
||||
if [[ -z "${AUDIT_POLICY_FILE}" ]]; then
|
||||
cat <<EOF > /tmp/kube-audit-policy-file
|
||||
# Log all requests at the Metadata level.
|
||||
apiVersion: audit.k8s.io/v1
|
||||
|
|
|
|||
Loading…
Reference in a new issue