[release-4.21] WIP: Remove feature-set annotations from Sail Library RBAC Manifests#1462
[release-4.21] WIP: Remove feature-set annotations from Sail Library RBAC Manifests#1462gcs278 wants to merge 12 commits into
Conversation
Vendor the GatewayAPIWithoutOLM in the openshift/api repo to support backporting the No OLM logic into the release-4.21 branch. go get github.com/openshift/api@1d79f30d466 go get github.com/openshift/client-go@96a6cbc1420c PR: openshift#1354
Cherry-picked from: 8a40966 openshift#1354 Conflicts resolved: - pkg/operator/operator.go: Added GatewayAPIWithoutOLM gate alongside existing 4.21 gates (GatewayAPI, GatewayAPIController, RouteExternalCertificate)
Cherry-picked from: 5617a41 openshift#1354
Cherry-picked from: ed2eb36 openshift#1354 Conflicts resolved: - pkg/operator/controller/status/controller.go: Took incoming noOLM logic (useOLM/useSailLibrary, conditional subscription listing) but wrapped in existing 4.21 GatewayAPIEnabled guard. Restored GatewayAPIControllerEnabled guard that was present in the original condition but dropped during cherry-pick.
…rRole Cherry-picked from: a758d83 openshift#1354
Cherry-picked from: 9c4d792 openshift#1354 Conflicts resolved: - test/e2e/gateway_api_test.go: Kept 4.21 gatewayAPIControllerEnabled guard, added gatewayAPIWithoutOLMEnabled conditionals inside it. Kept xcrdNames alongside new istioCRDNames. Removed testCRDNames declaration since it was subsequently added to release-4.21 via PR openshift#1446. - Removed references to testGatewayAPIInfrastructureAnnotations, testGatewayAPIInternalLoadBalancer, and testGatewayOpenshiftConditions which were added in separate PRs not present on release-4.21.
Cherry-picked from: 955a5c0 openshift#1354
Cherry-picked from: 6d2c6c8 openshift#1402
Cherry-picked from: 43c978a openshift#1404 Conflicts resolved: - go.mod: Aslak's development branch introduced transitive dependencies that diverged from release-4.21. Reset go.mod to the release-4.21 baseline, then added only the openshift-service-mesh/sail-operator replace directive and bumped gateway-api to v1.4.1.
Cherry-picked from: b1bbbb7 openshift#1404
Remove the release.openshift.io/feature-set annotation from the Sail Library ClusterRole and ClusterRoleBinding so they are included in all feature sets, not just DevPreview and TechPreview. This is needed to test the noOLM path in Default/GA mode via payload jobs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Skipping CI for Draft Pull Request. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@gcs278: This PR was included in a payload test run from openshift/origin#31232
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/6689b0c0-603c-11f1-940d-a9e7c33d49a1-0 |
|
@gcs278: This PR was included in a payload test run from openshift/origin#31232
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/8f447a90-603c-11f1-97f7-e6703f146ba4-0 |
|
@gcs278: This PR was included in a payload test run from openshift/origin#31232
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/d6b82790-604c-11f1-8cfa-10e8e0b0bde5-0 |
|
@gcs278: This PR was included in a payload test run from openshift/origin#31232
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/9d4f79a0-6069-11f1-8253-78c971bcc8c1-0 |
|
@gcs278: This PR was included in a payload test run from openshift/origin#31232
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/c9301480-6069-11f1-94ef-707e0daebf2d-0 |
Summary
Remove the
release.openshift.io/feature-set: DevPreviewNoUpgrade,TechPreviewNoUpgradeannotation from the Sail Library ClusterRole and ClusterRoleBinding manifests. This annotation restricts CVO from deploying these RBAC resources on clusters running the Default feature set. Removing it is required before promoting theGatewayAPIWithoutOLMfeature gate to GA.Depends on #1442. Blocks openshift/api#2865 (FG promotion to Default/GA).
🤖 Generated with Claude Code