| What The operator will be watching for shared service slices custom resources when it sees one it should do the following
- if the spec.type is keycloak it should set the owner ref and finaliser and set its state to accepted
- it should look at the serviceinstances of type keycloak that it owns and look for one that has not reached its max slices
- it should find the keycloak cr based on this service instance (perhaps a label or annotation)
- it should create a KeycloakRealm custom resource type based on the SharedServiceSlice this ream should reference the keycloak it is going to be created in
- the keycloak realm should be set to accepted
- the keycloak realm should be created via rest call to the keycloak instance and the keycloak CR set to complete, the shared service slice should also be set to complete
- the sharedService slices should be incremented on the SharedServiceInstance
|