*Creation*
When a new keycloak realm is added to the keycloak resource, its {code} status.phase {code} should be set to modified or empty if the keycloak resource has just been created. The operator should do something along the lines of the following: - When the operator sees this resource it should mark its status as accepted - it should authenticate using the credentials in the secret referenced by the keycloak resource under the {code}adminCredentials{code} property - it should then reconcile the realms by listing all realms from keycloak. If a realm is present in the keycloak resource but not present in the keycloak server, it should create the realm - If a realm is present in keycloak server but not present in the resource it should delete the realm from keycloak |
|