Files
kubernetes/pkg/api
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
..
2017-04-14 10:40:57 -07:00
2017-02-02 15:19:04 +01:00
2017-04-14 10:40:57 -07:00
2017-06-22 11:31:03 -07:00
2017-07-20 12:10:46 +02:00
2017-07-18 17:47:57 -07:00
2017-07-20 12:31:00 +02:00
2017-02-03 17:37:42 +08:00
2017-07-20 12:31:00 +02:00
2017-07-20 12:31:00 +02:00
2016-07-16 13:48:21 -04:00
API
2017-02-28 23:05:40 -08:00
2016-09-28 10:53:30 -07:00
2017-07-20 12:10:46 +02:00
2017-04-13 10:02:43 -07:00