Commit a755d3e5 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #50386 from crassirostris/change-audit-policy

Automatic merge from submit-queue (batch tested with PRs 50386, 50374, 50444, 50382) Add explicit API kind and version to the audit policy file on GCE Adds an explicit API version and kind to the audit policy file in GCE configuration scripts. It's a prerequisite for https://github.com/kubernetes/kubernetes/pull/49115 /cc @tallclair @piosz
parents f9110dc7 782d87c4
...@@ -524,6 +524,8 @@ function create-master-audit-policy { ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment