*What*
Implement the provision of a keycloak instance based on the definition in the CR. It does not need to create the realms or users at this point it just needs to do a provision. Initially it should do one via the service catalog using our existing APB. One provisioned we will need to find the secret created (should be labelled with the serviceInstanceID) and update the CR adminCredentials in the spec . We will need to check the ServiceInstance status to see when it is completed. Once completed, we should update the keycloak resource status as provisioned. Implement deprovision. This happens if the keycloak resource is marked for deletion. Currently we will again invoke the catalog to delete the service instance and let the APB do the clean up. Once the service instance is removed we can then remove our finaliser on the keycloak resource |
|