The module holds the codebase to build the Keycloak Operator on top of Quarkus. Using the Quarkus Operator SDK.
When build from the project root directory, this module is only enabled if the installed JDK is 11 or newer.
Ensure you have JDK 11 (or newer) installed.
Build the Docker image with:
mvn clean package -Doperator -Dquarkus.container-image.build=trueEnable 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=minikubeInstall the CRD definition and the operator in the cluster in the keycloak namespace:
kubectl apply -k targetto install in the default namespace:
kubectl apply -k overlays/default-namespaceRemove the created resources with:
kubectl delete -k <previously-used-folder>