k3s/cmd/kubeadm
Kubernetes Submit Queue afd01c0fcc
Merge pull request #57561 from dims/enable-privileged-container-for-apiserver-and-controller
Automatic merge from submit-queue. 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>.

Enable privileged containers for apiserver and controller

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

In OpenStack environment, when there is no metadata service, we
look at the config drive to figure out the metadata. Since we need
to run commands like blkid, we need to ensure that api server and
kube controller are running in the privileged mode.

**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 #47392
Fixes https://github.com/kubernetes/kubeadm/issues/588

**Special notes for your reviewer**:

**Release note**:

```release-note
Fix issue when using OpenStack config drive for node metadata
```
2018-01-18 10:27:01 -08:00
..
app Merge pull request #57561 from dims/enable-privileged-container-for-apiserver-and-controller 2018-01-18 10:27:01 -08:00
test Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
BUILD Switch go binaries from (hacky) static to pure Go 2017-12-23 13:13:09 -08:00
OWNERS Remove mikedanese from kubeadm owners since he's no longer 2018-01-05 14:46:14 -08:00
kubeadm.go Add fmt.printf for other need 2017-08-18 16:07:56 +08:00