Skip to content

Commit

Permalink
[issue-215] - Support latest Keycloak/Red Hat Build of keycloak
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiobrz committed Jan 9, 2025
1 parent 3eb44c4 commit 501b754
Show file tree
Hide file tree
Showing 9 changed files with 3,608 additions and 2,838 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ Feel free to submit an issue in such a case, Intersmash welcomes community contr
| Kafka provided by Strimzi | 3.8.0 | Provided by the Strimzi Operator `stable` channel |
| Red Hat AMQ Streams | 3.8.0.redhat-00007 | Or _default_, as provided by the Red Hat AMQ Streams Operator `stable` channel |
| | | |
| Keycloak | 24.0.3 | Or _default_, as provided by default by the Keycloak Operator `fast` channel |
| Red Hat Build of keycloak (RHBK) | 24.0.3.redhat-00004 | Or _latest_ in the `:24` tag image stream, see registry.redhat.io/rhbk/keycloak-rhel9 |
| Keycloak | 26.0.7 | Or _default_, as provided by default by the Keycloak Operator `fast` channel |
| Red Hat Build of keycloak (RHBK) | 26.0.7.redhat-00001 | Or _latest_ in the `:26.0` tag image stream, see registry.redhat.io/rhbk/keycloak-rhel9 |
| Red Hat SSO - **DEPRECATED** | 7.6.z | The _latest_ in the `:7.6` tag image stream, see registry.redhat.io/rh-sso-7/sso76-openshift-rhel8:7.6 |
| | | |
| WildFly | 32.0.0.Final | |
Expand Down
4 changes: 2 additions & 2 deletions docs/Operator-Based-Provisioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ extended easily, since Intersmash _provisioners_ are pluggable components.
| Red Hat DataGrid | 8.5.2 | stable | https://github.com/infinispan/infinispan-operator | As available on the OpenShift OperatorHub |
| Kafka provided by Strimzi | 0.44.0 | stable | https://github.com/strimzi/strimzi-kafka-operator | |
| Red Hat AMQ Streams | 2.8.0-0 | stable | https://github.com/strimzi/strimzi-kafka-operator | As available on the OpenShift OperatorHub |
| Keycloak | 24.0.3 | fast | https://github.com/keycloak/keycloak/tree/main/operator | Latest Keycloak, based on Quarkus. Supports a limited number of CR (Keycloak and KeycloakRealmImport): more to come in upcoming versions |
| Red Hat Build of keycloak (RHBK) | 24.0.3-opr.1 | stable-v24 | https://github.com/keycloak/keycloak/tree/main/operator | Latest Keycloak, based on Quarkus. |
| Keycloak | 26.0.7 | fast | https://github.com/keycloak/keycloak/tree/main/operator | Latest Keycloak, based on Quarkus. Supports a limited number of CR (Keycloak and KeycloakRealmImport): more to come in upcoming versions |
| Red Hat Build of keycloak (RHBK) | 26.0.7-opr.1 | stable-v26 | https://github.com/keycloak/keycloak/tree/main/operator | Latest Keycloak, based on Quarkus. |
| Red Hat SSO - **DEPRECATED** | 7.6.8-opr-001 | stable | https://github.com/keycloak/keycloak-operator | Latest Red Hat SSO Operator, based on legacy Keycloak |
| WildFly | 1.0.0 | alpha | https://github.com/wildfly/wildfly-operator | As available on https://operatorhub.io/operator/wildfly |
| Red Hat JBoss EAP | 3.0.0 | stable | https://github.com/wildfly/wildfly-operator | As available from the OpenShift OperatorHub |
Expand Down
2 changes: 1 addition & 1 deletion examples/wildfly-keycloak-saml-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<!-- Keycloak SAML -->
<keycloak-saml-adapter-galleon-pack.groupId>org.keycloak</keycloak-saml-adapter-galleon-pack.groupId>
<keycloak-saml-adapter-galleon-pack.artifactId>keycloak-saml-adapter-galleon-pack</keycloak-saml-adapter-galleon-pack.artifactId>
<keycloak-saml-adapter-galleon-pack.version>22.0.5</keycloak-saml-adapter-galleon-pack.version>
<keycloak-saml-adapter-galleon-pack.version>26.0.7</keycloak-saml-adapter-galleon-pack.version>
</properties>

<dependencyManagement>
Expand Down
2 changes: 1 addition & 1 deletion global-test.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ intersmash.activemq.operators.index_image=quay.io/jbossqe-eap/intersmash-activem
intersmash.activemq.operators.package_manifest=activemq-artemis-operator
intersmash.activemq.operators.channel=upstream

intersmash.keycloak.image=quay.io/keycloak/keycloak:latest
intersmash.keycloak.image=quay.io/keycloak/keycloak:26.0.7
intersmash.keycloak.operators.catalog_source=community-operators
intersmash.keycloak.operators.channel=fast

Expand Down
2 changes: 1 addition & 1 deletion provisioners/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ a given service on cloud environments via APIs that leverage the
[Operator Framework](https://github.com/operator-framework). Operator-based provisioners implement a common contract and high level behavior which is defined by Intersmash's, abstract class, _OperatorProvisioner_.
[Operator provisioning How-to](docs/operator-howto.md),
describes the steps needed to create a new operator-based provisioner.
[KeycloakOperatorProvisionerFactory](src/main/java/org/jboss/intersmash/provision/openshift/KeycloakOperatorProvisionerFactory.java) provides a reference to a _Provisioner_ and _Application_ implementing this feature.
[KeycloakOperatorProvisionerFactory](src/main/java/org/jboss/intersmash/provision/operator/KeycloakOperatorProvisionerFactory.java) provides a reference to a _Provisioner_ and _Application_ implementing this feature.

A list of operator based provisioners [here](../docs/Operator-Based-Provisioning.md)

Expand Down
4 changes: 2 additions & 2 deletions provisioners/docs/operator-howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Kubernetes Client Java Generator Maven plugin, starting from a given operator CR
This means that generated sources are not under version control and a build is needed in order to use or to inspect them.

This guide will demonstrate the initial approach and will use the Keycloak operator as an
example of a operator based provisioner.
example for implementing an operator based provisioner.

## Implementation

Expand All @@ -32,7 +32,7 @@ Put all of this collected info into the Intersmash issue which is tracking the o

#### Example Outcome
* sources: https://github.com/keycloak/keycloak/tree/main/operator
* CRDs: https://github.com/keycloak/keycloak-k8s-resources/tree/22.0.4/kubernetes
* CRDs: https://github.com/keycloak/keycloak-k8s-resources/tree/26.0.7/kubernetes
* documentation: https://www.keycloak.org/guides#operator
* operator marketplace id = `keycloak-operator`
* provided CRs: [`keycloaks.k8s.keycloak.org`, `keycloakrealmimports.k8s.keycloak.org`]
Expand Down
2 changes: 1 addition & 1 deletion provisioners/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<properties>
<logDirectory>${basedir}/log/test-logs</logDirectory>
<version.org.keycloak.keycloak-admin-client>19.0.1</version.org.keycloak.keycloak-admin-client>
<version.org.keycloak.keycloak-admin-client>26.0.3</version.org.keycloak.keycloak-admin-client>

<formatting-style-base-directory>${project.parent.basedir}/ide-config</formatting-style-base-directory>
</properties>
Expand Down
Loading

0 comments on commit 501b754

Please sign in to comment.