- Clone this git repository. And copy the GIT URL (to clipboard) to your GIT repo.
- Log into OpenShift via CLI
- Create a new project.
$ oc new-project keycloak
- Next, create a new application.
$ oc new-app [Path to GIT URL .git]
- Get a list of all services.
$ oc get svc
Note down the service name. (Note: The keycloak server service listens on port 8080.)
6. Expose the service via a route.
$ oc expose svc [service name]
- Log into the Web UI, go to the overview tab & click on the route name. This should open a new browser tab with the keycloak server admin UI. User name + Password is admin/admin.
- List all pods
$ oc get pods
- Tail/View the log for the build/deploy pods
$ oc logs -f [Name or ID of build or deployment pod]