Skip to content

Refactor IngressNodeFirewall deployment to use Operator base class#14902

Open
dahorak wants to merge 1 commit intored-hat-storage:masterfrom
dahorak:fix-ingress-node-firewall-unreleased-deployment
Open

Refactor IngressNodeFirewall deployment to use Operator base class#14902
dahorak wants to merge 1 commit intored-hat-storage:masterfrom
dahorak:fix-ingress-node-firewall-unreleased-deployment

Conversation

@dahorak
Copy link
Copy Markdown
Contributor

@dahorak dahorak commented Apr 14, 2026

Eliminates code duplication by replacing IngressNodeFirewallInstaller class with IngressNodeFirewallOperator that extends the Operator base class. This aligns the implementation with other operators (NMStateOperator, LocalStorageOperator, etc.) and automatically handles unreleased operator catalogs.

This change should also fix the deployment of un-released version (e.g. on OCP 4.22).

@dahorak dahorak self-assigned this Apr 14, 2026
@dahorak dahorak requested a review from a team as a code owner April 14, 2026 15:12
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Apr 14, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dahorak

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

@pull-request-size pull-request-size bot added the size/L PR that changes 100-499 lines label Apr 14, 2026
@dahorak dahorak added team/ecosystem Ecosystem team related issues/PRs and removed size/L PR that changes 100-499 lines labels Apr 14, 2026
@dahorak dahorak force-pushed the fix-ingress-node-firewall-unreleased-deployment branch from 8784fe9 to 054322e Compare April 14, 2026 15:19
@pull-request-size pull-request-size bot added the size/L PR that changes 100-499 lines label Apr 14, 2026
@dahorak dahorak force-pushed the fix-ingress-node-firewall-unreleased-deployment branch from 054322e to 5843dbd Compare April 14, 2026 15:19
Eliminates code duplication by replacing IngressNodeFirewallInstaller
class with IngressNodeFirewallOperator that extends the Operator base
class. This aligns the implementation with other operators
(NMStateOperator, LocalStorageOperator, etc.) and automatically handles
unreleased operator catalogs.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

Signed-off-by: Daniel Horak <dahorak@redhat.com>
@dahorak dahorak force-pushed the fix-ingress-node-firewall-unreleased-deployment branch from 5843dbd to 55edfc1 Compare April 14, 2026 15:21
@dahorak
Copy link
Copy Markdown
Contributor Author

dahorak commented Apr 15, 2026

Verification job: https://url.corp.redhat.com/c8797e0

2026-04-14 18:09:39  12:09:39 - MainThread - ocs_ci.ocs.ocp - INFO  - Resource ingress-node-firewall.v4.21.0 is in phase: Succeeded!

(version 4.22 is not yet available, so it installed version 4.21)

@dahorak dahorak added the Verified Mark when PR was verified and log provided label Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L PR that changes 100-499 lines team/ecosystem Ecosystem team related issues/PRs Verified Mark when PR was verified and log provided

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant