k3s/pkg/security/podsecuritypolicy
Kubernetes Submit Queue 924121cc35
Merge pull request #68105 from tallclair/psp-test
Automatic merge from submit-queue (batch tested with PRs 65251, 67255, 67224, 67297, 68105). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

Cleanup PodSecurityPolicy AllowPrivEsc tests

**What this PR does / why we need it**:

Old tests were confusing and missing a lot of combinations. The new test is a simple table-driven test with all valid combinations.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes ##67387

**Special notes for your reviewer**:
Alternative to https://github.com/kubernetes/kubernetes/pull/67388

**Release note**:
```release-note
NONE
```
2018-08-31 19:25:39 -07:00
..
apparmor Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
capabilities Cleanup & fix PodSecurityPolicy field path usage 2018-07-18 17:47:32 -07:00
group Cleanup & fix PodSecurityPolicy field path usage 2018-07-18 17:47:32 -07:00
seccomp Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
selinux Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
sysctl Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
user Cleanup & fix PodSecurityPolicy field path usage 2018-07-18 17:47:32 -07:00
util Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
BUILD Cleanup PodSecurityPolicy AllowPrivEsc tests 2018-08-31 09:03:21 -07:00
OWNERS Add owners for podsecuritypolicy package 2017-11-22 13:17:43 -05:00
doc.go Add package docs for pod security policy 2016-07-22 13:35:37 -04:00
factory.go Cleanup & fix PodSecurityPolicy field path usage 2018-07-18 17:47:32 -07:00
provider.go ProcMount: add api options and feature gate 2018-08-30 11:40:02 -04:00
provider_test.go Merge pull request #68105 from tallclair/psp-test 2018-08-31 19:25:39 -07:00
types.go Cleanup & fix PodSecurityPolicy field path usage 2018-07-18 17:47:32 -07:00