mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Merge pull request #80189 from wongma7/audit-local-up
Fix no audit policy by default in hack/local-up-cluster.sh
This commit is contained in:
commit
7163dcbf3f
@ -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 New Issue
Block a user