-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCPBUGS-43316: Enforce privileged PSA by default #4834
OCPBUGS-43316: Enforce privileged PSA by default #4834
Conversation
Hi @Evan-Reilly. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Evan-Reilly please take a look at the failures
control-plane-operator/controllers/hostedcontrolplane/clusterpolicy/config.go
Outdated
Show resolved
Hide resolved
6f250f1
to
f6d5c66
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/hold for changes based on https://ibm-argonauts.slack.com/archives/C01C8502FMM/p1727808157696799.
91cf662
to
9cc94ab
Compare
/remove-hold |
@Evan-Reilly please fix the following test:
|
9cc94ab
to
c8ba741
Compare
/test verify |
c8ba741
to
a370cc6
Compare
test/e2e/create_cluster_test.go
Outdated
@@ -129,7 +129,6 @@ func TestCreateClusterRequestServingIsolation(t *testing.T) { | |||
|
|||
e2eutil.NewHypershiftTest(t, ctx, func(t *testing.T, g Gomega, mgtClient crclient.Client, hostedCluster *hyperv1.HostedCluster) { | |||
guestClient := e2eutil.WaitForGuestClient(t, testContext, mgtClient, hostedCluster) | |||
e2eutil.EnsurePSANotPrivileged(t, ctx, guestClient) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per our slack discussion, I think you need to first remove the test in a separate PR in order for PR testing to pass on this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#4855 will hopefully resolve this.
/jira refresh |
@rtheis: This pull request references Jira Issue OCPBUGS-43316, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/jira refresh |
@rvanderp3: This pull request references Jira Issue OCPBUGS-43316, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/jira refresh |
@rvanderp3: This pull request references Jira Issue OCPBUGS-43316, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/jira refresh |
@rvanderp3: This pull request references Jira Issue OCPBUGS-43316, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/approve |
/hold on review from hyperhift team. didn't really no one from our side had looked yet. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Evan-Reilly, rtheis, sjenning The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
control-plane-operator/controllers/hostedcontrolplane/clusterpolicy/params.go
Outdated
Show resolved
Hide resolved
Update the openshift-api module to get updated feature flags
OpenShiftPodSecurityAdmission feature gate is not enabled by default in 4.17 any longer. Therefore, to ensure namespace security is not enforcing restricted by default any longer, this PR is required to properly enforce privileged PSA by default.
e34dd08
to
d96393d
Compare
/lgtm |
@Evan-Reilly: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
93ca4ee
into
openshift:release-4.17
@Evan-Reilly: Jira Issue OCPBUGS-43316: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-43316 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
[ART PR BUILD NOTIFIER] Distgit: hypershift |
What this PR does / why we need it:
OpenShiftPodSecurityAdmission feature gate is not enabled by default in 4.17 any longer. Therefore, to ensure namespace security is not enforcing restricted by default any longer, this PR is required to properly enforce privileged PSA by default.
Which issue(s) this PR fixes (optional, use
fixes #<issue_number>(, fixes #<issue_number>, ...)
format, where issue_number might be a GitHub issue, or a Jira story:Fixes https://issues.redhat.com/browse/OCPBUGS-43316
Checklist