Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickleet committed May 19, 2020
1 parent 95db231 commit 15a7378
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
keycloak-controller
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,23 @@

Installs keycloak configured with custom theme, wired up to use with keycloak-controller, and able to get secrets from jx/vault/helm integration

keycloak-controller is required to be running in the cluster with `namespaced: false`
keycloak-controller is required to be running in the cluster with `namespaced: false`

## DB configuration

The database needs to be set up and configured before chart will start successfully.

Deploy patroni to env, then connect to it with:

```
kubectl run -i --tty --rm psql --image=postgres --restart=Never -- bash -il
psql -U postgres -h jx-patroni.jx-staging.svc.cluster.local
```

Enter the "superuser" password.

```
create database keycloak;
create user keycloak with encrypted password 'mypass' in role admin;
grant all privileges on database keycloak to keycloak;
```

0 comments on commit 15a7378

Please sign in to comment.