k3s/test
Kubernetes Submit Queue 96d81fe688
Merge pull request #52367 from tallclair/psp-config
Automatic merge from submit-queue (batch tested with PRs 52367, 53363, 54989, 54872, 54643). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Basic GCE PodSecurityPolicy Config

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

This PR lays the foundation for enabling PodSecurityPolicy in GCE and other default deployments. The 3 commits are:

1. Add policies, roles & bindings for the default addons on GCE.
2. Enable the PSP admission controller & load the addon policies when the`ENABLE_POD_SECURITY_POLICY=true` environment variable is set.
3. Support the PodSecurityPolicy in the E2E environment & add PSP tests.

NOTES:

- ~~Depends on https://github.com/kubernetes/kubernetes/pull/52301 for privileged capabilities~~
- ~~Depends on https://github.com/kubernetes/kubernetes/pull/52849 for sane mutations~~
- ~~Depends on https://github.com/kubernetes/kubernetes/pull/53479 for aggregator tests to pass~~
- ~~Depends on https://github.com/kubernetes/kubernetes/pull/54175 for dedicated fluentd service~~ account
- This PR is a fork of https://github.com/kubernetes/kubernetes/pull/46064, credit to @Q-Lee

**Which issue this PR fixes**: #43538

**Release note**:
```release-note
Add support for PodSecurityPolicy on GCE: `ENABLE_POD_SECURITY_POLICY=true` enables the admission controller, and installs policies for default addons.
```
2017-11-02 12:59:13 -07:00
..
conformance Update conformance testdata for storage test 2017-10-31 11:07:32 +08:00
e2e Merge pull request #52367 from tallclair/psp-config 2017-11-02 12:59:13 -07:00
e2e_node Merge pull request #54160 from mtaufen/runtime-config-to-flags 2017-10-31 01:23:15 -07:00
fixtures add test for convert 2017-11-01 01:14:24 -07:00
images update bazel 2017-10-27 15:58:24 -07:00
integration admission: wire create+update validation func into kube registries 2017-11-02 09:29:16 +01:00
kubemark Merge pull request #53520 from shun-miyoshi-com/fix_old_name 2017-10-17 01:36:33 -07:00
list update BUILD files 2017-10-15 18:18:13 -07:00
soak Update bazel 2017-10-18 17:24:04 +02:00
utils Merge pull request #54331 from crimsonfaith91/dfailed 2017-10-27 15:19:20 -07:00
BUILD Add conformance test regression test. 2017-10-27 15:31:20 -07:00
OWNERS Add timothysc to test approvers 2017-10-19 09:03:01 -05:00
test_owners.csv Remove all traces of federation 2017-10-26 13:37:37 -07:00
test_owners.json Remove all traces of federation 2017-10-26 13:37:37 -07:00