kubernetes/cmd
Kubernetes Submit Queue 1bc78add3e Merge pull request #40682 from dgoodwin/pod-security-context
Automatic merge from submit-queue (batch tested with PRs 38443, 40145, 40701, 40682)

Move kubeadm etcd SELinux options from container to pod.

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

Works around a bug that surfaces in Docker 1.12+ related to the pause
container's namespace and selinux labels being transferred to the etcd
container when it runs.

At present it appears that applying selinux options to a container may
be broken, or perhaps shouldn't be supported at all. Moving these to the
pod causes all containers (including pause) to run with the correct
labels.



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

**Special notes for your reviewer**:

Related to and partial fix for https://github.com/kubernetes/kubeadm/issues/107

This is one of several selinux related fixes in flight for upcoming releases, and newer versions of Docker. To successfully run kubeadm with selinux enforcing right now would like require a recent container-selinux build as uncovered in https://github.com/kubernetes/kubeadm/issues/107, a bugfix for the format labels in #40179, and finally this fix.

**Release note**:

```release-note
Fixed an SELinux issue in kubeadm on Docker 1.12+ by moving etcd SELinux options from container to pod.
```
2017-01-30 20:59:44 -08:00
..
clicheck Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
cloud-controller-manager Update generated files 2017-01-24 20:56:03 +01:00
gendocs Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
genkubedocs Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
genman Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
genslateyaml Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
genswaggertypedocs start the apimachinery repo 2017-01-11 09:09:48 -05:00
genutils Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
genyaml Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
hyperkube Update generated files 2017-01-24 20:56:03 +01:00
kube-aggregator Merge pull request #40700 from liggitt/lister-gen-cleanup 2017-01-30 19:14:44 -08:00
kube-apiserver Enable protobufs in etcd by default 2017-01-30 20:14:06 +01:00
kube-controller-manager move dynamic and discovery clients 2017-01-26 08:37:06 -05:00
kube-discovery Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
kube-proxy Remove proxy-mode annotation from kube-proxy 2017-01-28 09:12:28 -08:00
kubeadm Merge pull request #40682 from dgoodwin/pod-security-context 2017-01-30 20:59:44 -08:00
kubectl Revert "update kubectl approvers" 2017-01-25 17:32:22 -08:00
kubelet move genericapiserver authenticator and authorizer factories 2017-01-26 08:50:47 -05:00
kubemark Added OWNERS to kubemark subdirectories 2017-01-25 14:37:57 +01:00
libs/go2idl Merge pull request #40700 from liggitt/lister-gen-cleanup 2017-01-30 19:14:44 -08:00
linkcheck Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
mungedocs Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
BUILD rename kubernetes-discovery to kube-aggregator 2017-01-10 12:27:42 -05:00
OWNERS Updated top level owners file to match new format 2017-01-19 11:29:16 -08:00