From b0d4a04a77c2e8d243e117795e52a2fafd880400 Mon Sep 17 00:00:00 2001 From: Aaron Crickenberger Date: Mon, 2 Aug 2021 14:02:08 -0700 Subject: [PATCH] policy: rename policies, add OWNERS --- hack/verify-conftest.sh | 4 ++-- policy/OWNERS | 10 ++++++++++ {policies => policy}/README.md | 0 {policies => policy}/deprecations.rego | 0 {policies => policy}/kubernetes.rego | 0 5 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 policy/OWNERS rename {policies => policy}/README.md (100%) rename {policies => policy}/deprecations.rego (100%) rename {policies => policy}/kubernetes.rego (100%) diff --git a/hack/verify-conftest.sh b/hack/verify-conftest.sh index ddff6c8faed..32e42600989 100755 --- a/hack/verify-conftest.sh +++ b/hack/verify-conftest.sh @@ -42,8 +42,8 @@ function main() { infra/gcp/clusters/projects/*/*/resources ) local conftest_flags=( - # override the default of looking for $(pwd)/policy - --policy "${REPO_ROOT}/policies/" + # be explicit about looking for $(pwd)/policy + --policy "${REPO_ROOT}/policy" # for some reason conftest tries to parse Makefiles as yaml --ignore Makefile ) diff --git a/policy/OWNERS b/policy/OWNERS new file mode 100644 index 00000000000..d1a19d88789 --- /dev/null +++ b/policy/OWNERS @@ -0,0 +1,10 @@ +# See the OWNERS docs at https://go.k8s.io/owners + +approvers: +- ameukam +- spiffxp + +labels: +- wg/k8s-infra +- sig/testing +- area/policy diff --git a/policies/README.md b/policy/README.md similarity index 100% rename from policies/README.md rename to policy/README.md diff --git a/policies/deprecations.rego b/policy/deprecations.rego similarity index 100% rename from policies/deprecations.rego rename to policy/deprecations.rego diff --git a/policies/kubernetes.rego b/policy/kubernetes.rego similarity index 100% rename from policies/kubernetes.rego rename to policy/kubernetes.rego