Skip to content

Commit

Permalink
docs: add custom jar in customization doc (#6884)
Browse files Browse the repository at this point in the history
Signed-off-by: Amro Misbah <amromisba7@gmail.com>
  • Loading branch information
misba7 committed Dec 1, 2023
1 parent 571b1d6 commit 45eedd2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/admin/kubernetes-ops/customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,30 @@ Templates refers to the common interface layout and style. For example, a banner
2. Place a modified `template.xhtml` in the above location which will override the [default template file](https://github.com/JanssenProject/jans/blob/main/jans-auth-server/server/src/main/webapp/WEB-INF/incl/layout/template.xhtml) from the war


## Custom Jar file for scripts

1. Create a configmap with the custom jar file:
`kubectl -n <namespace> create cm my-custom-jar --from-file=mycustom.jar`

1. Mount the configmap in your values.yaml under `auth-server.volumes` and `auth-server.volumeMounts`

```
auth-server:
volumeMounts:
- name: my-custom-jar-volume
mountPath: /opt/jans/jetty/jans-auth/custom/libs/mycustom.jar
subPath: mycustom.jar
volumes:
- name: my-custom-jar-volume
configMap:
name: my-custom-jar
```

1. Run helm install or helm upgrade if Jans has been already installed.
```bash
helm upgrade <helm-release-name> janssen/janssen -n <namespace> -f values.yaml --version=1.0.x
```

## Customized pages examples

### Custom Login page
Expand Down

0 comments on commit 45eedd2

Please sign in to comment.