Merge pull request #45975 from php-coder/psp_and_projected_volume

Automatic merge from submit-queue (batch tested with PRs 45346, 45903, 45958, 46042, 45975)

examples/podsecuritypolicy/rbac: allow to use projected volumes in restricted PSP

**What this PR does / why we need it**:
This PR modifies `restricted` PSP to allow `projected` volume type. No need to modify `privileged` PSP because it already allows all volume types.

It should not add any harm because `projected` uses configmaps, downward API, and secrets that are already permitted.

**Special notes for your reviewer**:
This was inspired by similar change in the OpenShift: https://github.com/openshift/origin/pull/14147

**Release note**:
```release-note
NONE
```

PTAL @pweil- @derekwaynecarr 
CC @mfojtik
This commit is contained in:
Kubernetes Submit Queue 2017-05-19 22:29:36 -07:00 committed by GitHub
commit 9f5849a05e

View File

@ -35,4 +35,5 @@ spec:
- 'downwardAPI'
- 'configMap'
- 'persistentVolumeClaim'
- 'projected'