From e7fc8cf845e88a1bc4934e035adc866bc4f90065 Mon Sep 17 00:00:00 2001 From: Vyacheslav Semushin Date: Fri, 22 Sep 2017 18:24:54 +0200 Subject: [PATCH] Cleanup leftovers after moving PSP doc to concepts/policy. (#5557) --- docs/user-guide/pod-security-policy/OWNERS.txt | 2 -- docs/user-guide/pod-security-policy/psp.yaml | 18 ------------------ test/examples_test.go | 2 +- 3 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 docs/user-guide/pod-security-policy/OWNERS.txt delete mode 100644 docs/user-guide/pod-security-policy/psp.yaml diff --git a/docs/user-guide/pod-security-policy/OWNERS.txt b/docs/user-guide/pod-security-policy/OWNERS.txt deleted file mode 100644 index 8ac19e87e5..0000000000 --- a/docs/user-guide/pod-security-policy/OWNERS.txt +++ /dev/null @@ -1,2 +0,0 @@ -approvers: -- pweil- diff --git a/docs/user-guide/pod-security-policy/psp.yaml b/docs/user-guide/pod-security-policy/psp.yaml deleted file mode 100644 index 9f037f67d0..0000000000 --- a/docs/user-guide/pod-security-policy/psp.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: extensions/v1beta1 -kind: PodSecurityPolicy -metadata: - name: permissive -spec: - seLinux: - rule: RunAsAny - supplementalGroups: - rule: RunAsAny - runAsUser: - rule: RunAsAny - fsGroup: - rule: RunAsAny - hostPorts: - - min: 8000 - max: 8080 - volumes: - - '*' diff --git a/test/examples_test.go b/test/examples_test.go index 011a68d4bd..a3ec012acb 100644 --- a/test/examples_test.go +++ b/test/examples_test.go @@ -234,7 +234,7 @@ func TestExampleObjectSchemas(t *testing.T) { "kitten-rc": {&api.ReplicationController{}}, "nautilus-rc": {&api.ReplicationController{}}, }, - "../docs/user-guide/pod-security-policy": { + "../docs/concepts/policy": { "psp": {&extensions.PodSecurityPolicy{}}, }, "../docs/user-guide/persistent-volumes/volumes": {