keycloak-scim/operator
2022-02-11 17:46:03 -03:00
..
overlays/default-namespace Proper kustomize setup for the operator 2022-01-24 13:13:16 -03:00
src Tests for Keycloak Deployment 2022-02-11 17:46:03 -03:00
patch-sources.sh CRD generation from RealmRepresentation (#9759) 2022-01-27 10:56:46 +01:00
pom.xml Set version to 18.0.0-SNAPSHOT (#10165) 2022-02-11 21:28:06 +01:00
README.md Proper kustomize setup for the operator 2022-01-24 13:13:16 -03:00

Keycloak on Quarkus

The module holds the codebase to build the Keycloak Operator on top of Quarkus. Using the Quarkus Operator SDK.

Activating the Module

When build from the project root directory, this module is only enabled if the installed JDK is 11 or newer.

Building

Ensure you have JDK 11 (or newer) installed.

Build the Docker image with:

mvn clean package -Doperator -Dquarkus.container-image.build=true

Contributing

Quick start on Minikube

Enable the Minikube Docker daemon:

eval $(minikube -p minikube docker-env)

Compile the project and generate the Docker image with JIB:

mvn clean package -Doperator -Dquarkus.container-image.build=true -Dquarkus.kubernetes.deployment-target=minikube

Install the CRD definition and the operator in the cluster in the keycloak namespace:

kubectl apply -k target

to install in the default namespace:

kubectl apply -k overlays/default-namespace

Remove the created resources with:

kubectl delete -k <previously-used-folder>