mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Add explicit API kind and version to the audit policy file on GCE
This commit is contained in:
parent
c75d3028dd
commit
782d87c405
@ -524,6 +524,8 @@ function create-master-audit-policy {
|
||||
- group: "storage.k8s.io"'
|
||||
|
||||
cat <<EOF >"${path}"
|
||||
apiVersion: audit.k8s.io/v1alpha1
|
||||
kind: Policy
|
||||
rules:
|
||||
# The following requests were manually identified as high-volume and low-risk,
|
||||
# so drop them.
|
||||
|
Loading…
Reference in New Issue
Block a user