k3s/docs
Kubernetes Submit Queue 72c6251508 Merge pull request #47019 from jessfraz/allowPrivilegeEscalation
Automatic merge from submit-queue (batch tested with PRs 49651, 49707, 49662, 47019, 49747)

Add support for `no_new_privs` via AllowPrivilegeEscalation

**What this PR does / why we need it**:
Implements kubernetes/community#639
Fixes #38417

Adds `AllowPrivilegeEscalation` and `DefaultAllowPrivilegeEscalation` to `PodSecurityPolicy`.
Adds `AllowPrivilegeEscalation` to container `SecurityContext`.

Adds the proposed behavior to `kuberuntime`, `dockershim`, and `rkt`. Adds a bunch of unit tests to ensure the desired default behavior and that when `DefaultAllowPrivilegeEscalation` is explicitly set.

Tests pass locally with docker and rkt runtimes. There are also a few integration tests with a `setuid` binary for sanity.

**Release note**:

```release-note
Adds AllowPrivilegeEscalation to control whether a process can gain more privileges than it's parent process
```
2017-07-31 16:56:58 -07:00
..
admin Merge pull request #43443 from irfanurrehman/kubefed-doc-1 2017-07-25 21:52:45 -07:00
api-reference Merge pull request #47019 from jessfraz/allowPrivilegeEscalation 2017-07-31 16:56:58 -07:00
design Remove docs/ other than auto generated 2017-06-01 23:10:47 -07:00
devel Remove docs/ other than auto generated 2017-06-01 23:10:47 -07:00
getting-started-guides Remove docs/ other than auto generated 2017-06-01 23:10:47 -07:00
man/man1 Merge pull request #47934 from wlan0/master 2017-06-30 16:58:08 -07:00
proposals Fix cronjob stub 2017-06-11 22:15:57 +08:00
user-guide/kubectl Remove docs/ other than auto generated 2017-06-01 23:10:47 -07:00
yaml/kubectl Merge pull request #46151 from verb/kubectl-featuregate 2017-06-23 05:00:35 -07:00
.generated_docs Merge pull request #43443 from irfanurrehman/kubefed-doc-1 2017-07-25 21:52:45 -07:00
BUILD Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
OWNERS Move .generated_docs to docs/ so docs OWNERS can review / approve 2017-02-16 10:11:57 -08:00