Skip to content

Feature/operator version bump#372

Open
simonpriadka wants to merge 1 commit into
Intersmash:mainfrom
simonpriadka:feature/operator-version-bump
Open

Feature/operator version bump#372
simonpriadka wants to merge 1 commit into
Intersmash:mainfrom
simonpriadka:feature/operator-version-bump

Conversation

@simonpriadka

@simonpriadka simonpriadka commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR updates operator versions and CRDs for EAP 8.2, EAP XP 6, and EAP XP 7 profiles, along with significant refactoring of operator provisioning and CRD organization.

Key Changes:

  • Operator version bumps:

    • Red Hat AMQ Broker: 7.13.2-opr-1 → 7.14.0-opr-1 (channel 7.13.x → 7.14.x)
    • Red Hat DataGrid: 8.5.12 → 8.6.3
    • Red Hat Build of Keycloak (RHBK): 26.4.2-opr.1 → 26.6.3-opr.1 (channel stable-v26.4 → stable-v26.6)
    • Streams for Apache Kafka: 3.0.1-3 → 3.2.0-24 (package manifest corrected from amqstreams to amq-streams)
  • CRD reorganization: Separated operator CRDs into dedicated subdirectories (provisioners/src/main/resources/crds/default/{activemq,infinispan,keycloak,rhsso}) for better organization and clarity

  • RH SSO separation: Separated Red Hat SSO (legacy) from Keycloak (modern) with dedicated CRDs and models

  • Bug fixes:

    • Fixed scale() method in ActiveMQOperatorProvisioner
    • Fixed OperatorProvisioner implementation issues
  • Documentation updates: Updated docs/Operator-Based-Provisioning.md to reflect new operator versions

Type of change

  • Chore (non-breaking change which doesn't affect codebase; test, version modification, documentation, etc.)

Checklist

  • Code contributed by me aligns with current project license: Apache 2.0
  • Pull Request contains a description of the changes
  • Pull Request does not include fixes for multiple issues/topics
  • Code is self-descriptive and/or documented
  • I have implemented unit tests to cover my changes
  • I tested my code in OpenShift

CI Runs: eap-8.x-cross-product-face#427

@simonpriadka simonpriadka force-pushed the feature/operator-version-bump branch from 9365c45 to 84cfb3f Compare June 25, 2026 11:40
@simonpriadka simonpriadka force-pushed the feature/operator-version-bump branch from 84cfb3f to d4da358 Compare June 30, 2026 09:15
| Red Hat AMQ Broker | 7.14.0-opr-1 | 7.14.x | https://github.com/rh-messaging/activemq-artemis-operator | | As available on the OpenShift OperatorHub |
| Infinispan | 2.4.18 | stable | https://github.com/infinispan/infinispan-operator | | As available on the OpenShift OperatorHub (community-operators) |
| Red Hat DataGrid | 8.5.12 | stable | https://github.com/infinispan/infinispan-operator | | As available on the OpenShift OperatorHub |
| Red Hat DataGrid | 8.6.3 | stable | https://github.com/infinispan/infinispan-operator | | As available on the OpenShift OperatorHub |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see

Image in current cluster ... have you considered upgrading to this operator version? what Data Grid version would it deploy? I suppose:

Image

| Red Hat DataGrid | 8.6.3 | stable | https://github.com/infinispan/infinispan-operator | | As available on the OpenShift OperatorHub |
| Kafka provided by Strimzi | 0.48.0 | stable | https://github.com/strimzi/strimzi-kafka-operator | | As available on the OpenShift OperatorHub (community-operators) |
| Streams for Apache Kafka | 3.0.1-3 | stable | https://github.com/strimzi/strimzi-kafka-operator | | As available on the OpenShift OperatorHub |
| Streams for Apache Kafka | 3.2.0-24 | stable | https://github.com/strimzi/strimzi-kafka-operator | | As available on the OpenShift OperatorHub |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see this in the cluster we are currently using:

Image

have you considered upgrading to this operator version?

| Streams for Apache Kafka | 3.2.0-24 | stable | https://github.com/strimzi/strimzi-kafka-operator | | As available on the OpenShift OperatorHub |
| Keycloak | 26.4.4 | fast | https://github.com/keycloak/keycloak/tree/main/operator | | Latest Keycloak, based on Quarkus. |
| Red Hat Build of keycloak (RHBK) | 26.4.2-opr.1 | stable-v26.4 | https://github.com/keycloak/keycloak/tree/main/operator | | Latest Keycloak, based on Quarkus. |
| Red Hat Build of keycloak (RHBK) | 26.6.3-opr.1 | stable-v26.6 | https://github.com/keycloak/keycloak/tree/main/operator | | Latest Keycloak, based on Quarkus. |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see this in the cluster we are currently using:

Image

have you considered upgrading to this operator version?

import org.keycloak.v1alpha1.KeycloakClient;
import org.keycloak.v1alpha1.KeycloakRealm;
import org.keycloak.v1alpha1.KeycloakUser;
import org.jboss.intersmash.rhsso.v1alpha1.Keycloak;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did we change the package for the CRDs? is it just for Keycloak?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, to separate rh sso from Keycloak

// .failFast(ffCheck)
// .level(Level.DEBUG)
// .waitFor();
if (replicas == 0) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this assuming we always go from replicas>0 to replicas=0 ? what if the cluster starts with 0 replicas? would it make sense to test ready.size() == 0 in io.amq.broker.v1beta1.activemqartemisstatus.PodStatus ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been observing this and the behavior when scaling down to 0 is, that the pod status will contain stopped so ready.size() == 0 won't work, as getReady() will be null in this case.

Comment thread provisioners/pom.xml
<!--
Separate RHSSO 7 (keycloak.org) CRDs from modern RHBK (k8s.keycloak.org) CRDs
-->
<packageOverrides>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@simonpriadka why is this necessary?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RH SSO uses v1alpha1 whilst upgraded Keycloak moved to v2beta1. This was purely for the provisioners to take the distinctive imports

@tommaso-borgato

Copy link
Copy Markdown
Member

@simonpriadka thank you for your PR! I added a few questions

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.

2 participants