Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ eval $(minikube -p minikube docker-env)
Compile the project and generate the Docker image with JIB:

```bash
mvn clean package -Doperator -Dquarkus.container-image.build=true -Dquarkus.kubernetes.deployment-target=minikube
mvn clean package -Dquarkus.kubernetes.image-pull-policy=IfNotPresent -Dquarkus.container-image.build=true
```

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

```bash
kubectl create namespace keycloak
kubectl apply -k target
```

Expand Down
4 changes: 0 additions & 4 deletions operator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-openshift</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-minikube</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-kubernetes-client</artifactId>
Expand Down
5 changes: 1 addition & 4 deletions operator/src/main/kubernetes/kustomization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,4 @@ namespace: keycloak
resources:
- kubernetes/keycloaks.k8s.keycloak.org-v1.yml
- kubernetes/keycloakrealmimports.k8s.keycloak.org-v1.yml
- kubernetes/kubernetes.yml

patchesStrategicMerge:
- kubernetes/minikube.yml
- kubernetes/kubernetes.yml
1 change: 0 additions & 1 deletion operator/src/main/kubernetes/minikube.yml

This file was deleted.