From 782d87c405015d2a3abcf537e1b779fd76308039 Mon Sep 17 00:00:00 2001 From: Mik Vyatskov Date: Wed, 9 Aug 2017 19:14:41 +0200 Subject: [PATCH] Add explicit API kind and version to the audit policy file on GCE --- cluster/gce/gci/configure-helper.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cluster/gce/gci/configure-helper.sh b/cluster/gce/gci/configure-helper.sh index e6fbfa582ee..8658c2a7751 100644 --- a/cluster/gce/gci/configure-helper.sh +++ b/cluster/gce/gci/configure-helper.sh @@ -524,6 +524,8 @@ function create-master-audit-policy { - group: "storage.k8s.io"' cat <"${path}" +apiVersion: audit.k8s.io/v1alpha1 +kind: Policy rules: # The following requests were manually identified as high-volume and low-risk, # so drop them.