Implement the provision of a Keycloak instance based on the definition of the Keycloak custom resource. A Keycloak instance and an admin user for that instance should be created. A reference to the admin credential is added to the Keycloak custom resource as well as the service instance id.
Progress
[x] Provision Keycloak when a Keycloak custom resource is created.
[x] Create a secret in the same namespace for the admin credentials and add a reference of this to the Keycloak CR.
[x] Add a reference of the Keycloak service instance to the Keycloak CR.
[x] Set phase to complete and status ready to true once Keycloak has successfully provisioned.
Description
Implement the provision of a Keycloak instance based on the definition of the Keycloak custom resource. A Keycloak instance and an admin user for that instance should be created. A reference to the admin credential is added to the Keycloak custom resource as well as the service instance id.
Progress
complete
and status ready totrue
once Keycloak has successfully provisioned.Additional Notes
Related JIRA Ticket - https://issues.jboss.org/browse/AEROGEAR-7683
Verification Steps
keycloak-admin-cred-<hash>
should be created within the same namespace. This should have the following properties:status.phase: provisioning
and the following properties added to itsSpec
:status.phase: complete
keycloak-admin-cred-<hash>
secret.