2021-01-10 16:59:45 +01:00
|
|
|
# Keycloak-Operator
|
|
|
|
|
|
|
|
scaffolded with
|
|
|
|
|
|
|
|
```console
|
|
|
|
operator-sdk init --domain=bitmask.me --repo=git.zom.bi/images/keycloak-operator
|
2021-01-10 17:03:24 +01:00
|
|
|
# Edit Manager options to watch all namespaces (Namespace: "")
|
2021-01-10 17:06:01 +01:00
|
|
|
operator-sdk create api --group=keycloak --version=v1alpha1 --kind=KeycloakRealm
|
2021-01-10 23:53:43 +01:00
|
|
|
operator-sdk create api --group=keycloak --version=v1alpha1 --kind=KeycloakClient
|
2021-01-10 16:59:45 +01:00
|
|
|
```
|
2021-01-10 17:27:24 +01:00
|
|
|
|
|
|
|
for testing locally:
|
|
|
|
```
|
|
|
|
kubectl apply -f config/crd/bases/keycloak.bitmask.me_keycloakrealms.yaml
|
|
|
|
make run ENABLE_WEBHOOKS=false
|
|
|
|
```
|