if this is a shared service do not deploy keycloak and postgresql, but still configure them and write the secret to the current namespace.
POC work: https://github.com/aerogearcatalog/keycloak-apb/compare/master...philbrookes:shared-services-poc?expand=1#diff-bd84d488df2d1137568929b31a1f9c71R31
If there is no realm specified then a new realm should be created. If there is a realm specified we should check whether it exists, if it does we should skip creating the realm but create the remaining pieces (public client). If it does not exist we should create the realm specified. |
|