k3s/plugin
Kubernetes Submit Queue 45a069a241
Merge pull request #56839 from hzxuzhonghu/exec-admission
Automatic merge from submit-queue (batch tested with PRs 57746, 57621, 56839, 57464). 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>.

 check pod securityContext hostNetwork in exec admission controller

**What this PR does / why we need it**:
currently only hostIPC hostPID are checked in DenyEscalatingExec admission controller,
hostNetwork should also be checked to deny exec /attach
**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 #56838

**Special notes for your reviewer**:

**Release note**:

```release-note
check psp HostNetwork in DenyEscalatingExec admission controller.
```
2018-01-02 15:26:44 -08:00
..
cmd/kube-scheduler fix local up cluster startup flag bug 2017-12-27 17:46:50 +08:00
pkg Merge pull request #56839 from hzxuzhonghu/exec-admission 2018-01-02 15:26:44 -08:00
BUILD Admission Controller PVC Finalizer Plugin 2017-11-23 11:46:28 +01:00
OWNERS Updated top level owners file to match new format 2017-01-19 11:29:16 -08:00