mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
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:
commit
9f5849a05e
@ -35,4 +35,5 @@ spec:
|
||||
- 'downwardAPI'
|
||||
- 'configMap'
|
||||
- 'persistentVolumeClaim'
|
||||
- 'projected'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user