Skip to content

WIP - TEST ONLY - refactor(gatewayapi): replace OLM-based Istio install with Sail Library#1351

Closed
aslakknutsen wants to merge 6 commits intoopenshift:masterfrom
aslakknutsen:sail_library
Closed

WIP - TEST ONLY - refactor(gatewayapi): replace OLM-based Istio install with Sail Library#1351
aslakknutsen wants to merge 6 commits intoopenshift:masterfrom
aslakknutsen:sail_library

Conversation

@aslakknutsen
Copy link
Contributor

JUST A TEST. PR TO LAUNCH VIA CLUSTERBOT


Replace the OLM (Operator Lifecycle Manager) based installation of Istio/OSSM with the Sail Operator library, which uses Helm directly. This simplifies the Gateway API installation flow by eliminating the need for Subscription/InstallPlan management and Istio CR lifecycle.

Key changes:

  • Use install.NewInstaller() with PresetGatewayAPI to deploy Istio
  • Pass GatewayClass as ownerReference for Helm release garbage collection
  • Remove OLM Subscription, InstallPlan, and Istio CR watches/creation
  • Remove Marketplace and OLM capability gating from gatewayapi controller
  • Remove OLM-related CLI flags and config fields
  • Remove sailv1 scheme registration (no longer creating Istio CRs)
  • Remove Istio CRD existence check from status controller

The Sail Library embeds Istio Helm charts and provides a one-shot installer API, making the installation idempotent and self-contained without requiring external operator dependencies.

BREAKING CHANGE: CLI flags --gateway-api-operator-catalog, --gateway-api-operator-channel, and --gateway-api-operator-version have been removed

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 26, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 26, 2026
@rikatz
Copy link
Member

rikatz commented Jan 26, 2026

@aslakknutsen please take a look into #1347

@aslakknutsen
Copy link
Contributor Author

@rikatz Yeah, I'm aware. This is a slightly different approach. Just playing for now. :)

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 27, 2026
Replace the OLM (Operator Lifecycle Manager) based installation of
Istio/OSSM with the Sail Operator library, which uses Helm directly.
This simplifies the Gateway API installation flow by eliminating the
need for Subscription/InstallPlan management and Istio CR lifecycle.

Key changes:
- Use install.NewInstaller() with PresetGatewayAPI to deploy Istio
- Pass GatewayClass as ownerReference for Helm release garbage collection
- Remove OLM Subscription, InstallPlan, and Istio CR watches/creation
- Remove Marketplace and OLM capability gating from gatewayapi controller
- Remove OLM-related CLI flags and config fields
- Remove sailv1 scheme registration (no longer creating Istio CRs)
- Remove Istio CRD existence check from status controller

The Sail Library embeds Istio Helm charts and provides a one-shot
installer API, making the installation idempotent and self-contained
without requiring external operator dependencies.

BREAKING CHANGE: CLI flags --gateway-api-operator-catalog,
--gateway-api-operator-channel, and --gateway-api-operator-version
have been removed
The --gateway-api-operator-catalog, --gateway-api-operator-channel, and
--gateway-api-operator-version flags were removed from start.go but the
deployment manifests still passed them. This caused the ingress operator
to fail at startup with unknown flag errors, preventing cluster
initialization.

Removes the obsolete flags and corresponding environment variables from
both 02-deployment.yaml and the generated 02-deployment-ibm-cloud-managed.yaml.
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 27, 2026
Update Sail Library to latest version which adds support for custom
revision names. Configure the revision to "openshift-gateway" to match
the expected istiod deployment name (istiod-openshift-gateway) used in
e2e tests and maintain consistency with the previous Istio CR naming.
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 27, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign candita for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@aslakknutsen
Copy link
Contributor Author

Replaced by #1354

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants