Skip to content

federation: skip OperatorGroup creation when one already exists#4036

Closed
lmiccini wants to merge 1 commit into
openstack-k8s-operators:mainfrom
lmiccini:fix-federation-duplicate-operatorgroup
Closed

federation: skip OperatorGroup creation when one already exists#4036
lmiccini wants to merge 1 commit into
openstack-k8s-operators:mainfrom
lmiccini:fix-federation-duplicate-operatorgroup

Conversation

@lmiccini

@lmiccini lmiccini commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

OLM enforces a single OperatorGroup per namespace. When deploying on OpenShift with the architecture repo, the namespace already has an OperatorGroup, and creating a second one prevents InstallPlan generation for all Subscriptions in that namespace.

Check for an existing OperatorGroup before rendering the template and conditionally skip creation. This fixes multiregion deployments while preserving CRC support where no OperatorGroup pre-exists.

OLM enforces a single OperatorGroup per namespace. When deploying
on OpenShift with the architecture repo, the namespace already has
an OperatorGroup, and creating a second one prevents InstallPlan
generation for all Subscriptions in that namespace.

Check for an existing OperatorGroup before rendering the template
and conditionally skip creation. This fixes multiregion deployments
while preserving CRC support where no OperatorGroup pre-exists.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@openshift-ci

openshift-ci Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

[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 afaranha 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

@lmiccini lmiccini closed this Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant