mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +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"'
|
- group: "storage.k8s.io"'
|
||||||
|
|
||||||
cat <<EOF >"${path}"
|
cat <<EOF >"${path}"
|
||||||
|
apiVersion: audit.k8s.io/v1alpha1
|
||||||
|
kind: Policy
|
||||||
rules:
|
rules:
|
||||||
# The following requests were manually identified as high-volume and low-risk,
|
# The following requests were manually identified as high-volume and low-risk,
|
||||||
# so drop them.
|
# so drop them.
|
||||||
|
Loading…
Reference in New Issue
Block a user