-
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-45600: Enforce privileged PSA by default #5359
base: release-4.18
Are you sure you want to change the base?
OCPBUGS-45600: Enforce privileged PSA by default #5359
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. |
@Evan-Reilly: This pull request references Jira Issue OCPBUGS-45600, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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. |
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 we need to talk with Red Hat about how to handle this because we don't want to create a cherry-pick mess like last time.
test/e2e/create_cluster_test.go
Outdated
@@ -1062,7 +1062,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.
I don't think that we should be removing this function. Instead, I think we should punt restricted PSA to 4.20 via a change to the function like was done by #4875. Then in a follow-up PR we can restore restricted by default PSA to align with how 4.19 is currently defined https://github.com/openshift/api/blob/release-4.19/features/features.go#L79-L85.
/test all |
b1849d5
to
d28b4c0
Compare
We need to get #5362 merged before this PR. |
d28b4c0
to
98709bc
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
@Evan-Reilly please rebase this PR. |
0ed817e
to
1faffb9
Compare
Align HyperShift with OpenShift's expectation that PSA is enforcing privileged by default instead of restricted.
1faffb9
to
89ffa79
Compare
89ffa79
to
29be711
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
/ok-to-test |
@Evan-Reilly please take a look at the test failures. |
29be711
to
6acc352
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
/retest-required |
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 there appears to be a problem with your latest push to update the Go modules.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Evan-Reilly The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Update the openshift-api module to get updated feature flags
ade60a0
to
a418f7f
Compare
@Evan-Reilly: The following tests failed, say
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. |
Align HyperShift with OpenShift's expectation that PSA is enforcing privileged by default instead of restricted.
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-45600
Checklist