This document outlines the steps for each APB task to help people understand what is happening under the hood.
Create a new Postgres service, including:
- Secrets for database admin users
- Service for the Postgres DB
- PersistVolume Claim to for the Postgres DB
- DeploymentConfig for the Postgres DB
Create a new Keycloak service, including:
- DeploymentConfig for Keycloak
- Link Keycloak and Postgres DB
- Add default Keycloak admin user credential
- Service for Keycloak
- Route HTTPS for Keycloak
Create a new realm in Keycloak using the current OpenShift project name and display name
- Create a new client with the provided service and redirect_uri in Keycloak. It is created in the realm that matches the current namespace.
- Persist the newly created client name and password as
_apb_bind_creds
- Delete the client from Keycloak
- Delete all the routes
- Keycloak
- Delete all the services
- Keycloak
- Postgres
- Delete all the deploymentConfigs
- Keycloak
- Postgres
- Delete all the secrets
- Postgres
- Delete all the persistent volume claims
- Postgres
- Delete all the imageStreams
- Keycloak
- Delete the realm