k3s/cluster/gce
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
..
addons Add GCP addon PodSecurityPolicies & Bindings 2017-11-01 14:03:05 -07:00
container-linux Merge pull request #54518 from rramkumar1/custom-kube-dns-for-gke 2017-10-25 11:38:43 -07:00
debian Allow creating special node for heapster in GCE 2017-06-28 21:27:36 +02:00
gci Merge pull request #52367 from tallclair/psp-config 2017-11-02 12:59:13 -07:00
BUILD Introduce GCE-specific addon directory 2017-10-17 16:08:03 -07:00
OWNERS Add bowei to the OWNER for cluster/gce 2017-08-31 10:29:19 -07:00
config-common.sh Remove all traces of federation 2017-10-26 13:37:37 -07:00
config-default.sh GCP PodSecurityPolicy configuration 2017-11-01 14:03:09 -07:00
config-test.sh PodSecurityPolicy E2E tests 2017-11-01 16:00:32 -07:00
configure-vm.sh GCP PodSecurityPolicy configuration 2017-11-01 14:03:09 -07:00
cos
delete-stranded-load-balancers.sh
list-resources.sh Switch away from gcloud deprecated flags in compute resource listings 2017-08-30 06:41:09 +01:00
ubuntu
upgrade.sh Add cos as an alias for gci in the upgrade script 2017-09-22 15:34:51 -07:00
util.sh Merge pull request #54001 from cblecker/sed-func 2017-10-31 03:09:46 -07:00