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
This commit is contained in:
Kubernetes Submit Queue 2017-08-10 05:33:54 -07:00 committed by GitHub
commit a755d3e577

View File

@ -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.