Repository navigation
Move CapabilityAll from k8s types and rename it to AllowAllCapabilities - #15135
openshift-merge-robot merged 2 commits into
Conversation
|
There should be a comment that gets removed from the upstream types and added to the SCC type |
|
@deads2k Where it should be? In the |
No as I recall the original, it modified the godoc on the Capabilties type that was only valid when used inside of an SCC object. |
There were modifications only on the SCC type: 25ade46 |
|
@deads2k I believe that it's ready to merge. Could you merge or do you have other comments? |
|
@deads2k Can we merge it now? |
rename your commit as a revert of |
6070786 to
08d7aa1
Compare
@deads2k Done. |
|
/lgtm |
08d7aa1 to
af9f4c6
Compare
|
/lgtm cancel |
|
/lgtm [merge] |
|
[Test]ing while waiting on the merge queue |
|
I hope that this won't be merged because I still couldn't name the commit properly :-( |
af9f4c6 to
11f06b9
Compare
|
I added a missing colon to the commit message. |
|
Test flake #14897 |
|
[merge] |
|
Evaluated for origin merge up to 11f06b9 |
|
continuous-integration/openshift-jenkins/merge FAILURE (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/1367/) (Base Commit: 883e926) (PR Branch Commit: 11f06b9) |
d1f17c6 to
ae961cc
Compare
ae961cc to
c749133
Compare
|
Evaluated for origin test up to c749133 |
|
Origin Action Required: Please contact #openshift-dev to have this pull request manually reviewed and tested |
|
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/3480/) (Base Commit: 970dc61) (PR Branch Commit: c749133) |
|
Test flake #13536 |
|
/test all |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, php-coder Associated issue: 15273 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
|
Automatic merge from submit-queue |
Automatic merge from submit-queue (batch tested with PRs 51337, 47080, 52646, 52635, 52666). 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>.. PodSecurityPolicy.allowedCapabilities: add support for * to allow to request any capabilities **What this PR does / why we need it**: Prior this change there was no way to allow to pods to request any capabilities. Cluster admin had always specify a full list of capabilities explicitly. Because there are many of them, it gets tedious. This PR makes possible to use `*` to allow all possible capabilities. Non-paranoid (and lazy) cluster admins can use it. Those who are super strict and paranoid of course won't use it because `*` allows capabilities that don't exist today but may be introduced in the future. "privileged" PSP in examples was modified to allow privileged users to use this feature. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #50055 **Special notes for your reviewer**: This functional is already present in OpenShift: openshift/origin#12875 and openshift/origin#15135 **Release note**: ```release-note PSP: add support for using `*` as a value in `allowedCapabilities` to allow to request any capabilities ``` CC @simo5 @pweil- @gyliu513 @liqlin2015
…d_caps Automatic merge from submit-queue (batch tested with PRs 51337, 47080, 52646, 52635, 52666). 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>.. PodSecurityPolicy.allowedCapabilities: add support for * to allow to request any capabilities **What this PR does / why we need it**: Prior this change there was no way to allow to pods to request any capabilities. Cluster admin had always specify a full list of capabilities explicitly. Because there are many of them, it gets tedious. This PR makes possible to use `*` to allow all possible capabilities. Non-paranoid (and lazy) cluster admins can use it. Those who are super strict and paranoid of course won't use it because `*` allows capabilities that don't exist today but may be introduced in the future. "privileged" PSP in examples was modified to allow privileged users to use this feature. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes kubernetes#50055 **Special notes for your reviewer**: This functional is already present in OpenShift: openshift/origin#12875 and openshift/origin#15135 **Release note**: ```release-note PSP: add support for using `*` as a value in `allowedCapabilities` to allow to request any capabilities ``` CC @simo5 @pweil- @gyliu513 @liqlin2015
Move
CapabilityAllfrom k8s types to openshift, close to the SCC definition and also rename it toAllowAllCapabilities.Addresses #12875 (comment) and fixes #15273
PTAL @deads2k @pweil-
CC @simo5