Add explicit API kind and version to the audit policy file on GCE

This commit is contained in:
Mik Vyatskov 2017-08-09 19:14:41 +02:00
parent c75d3028dd
commit 782d87c405

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.