mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-04 07:49:35 +00:00 
			
		
		
		
	Fix no audit policy by default in hack/local-up-cluster.sh
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user