Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docs/kubernetes/openshift.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,24 @@ Sandbox pods run under the `openshell-sandbox` service account in the `openshell
oc adm policy add-scc-to-user privileged -z openshell-sandbox -n openshell
```

## Create the JWT signing secret

The PKI init job is disabled (see next step), so the JWT signing keys it would normally create must be provisioned manually:

```shell
openssl genpkey -algorithm Ed25519 -out /tmp/signing.pem
openssl pkey -in /tmp/signing.pem -pubout -out /tmp/public.pem
openssl rand -hex 16 > /tmp/kid

oc create secret generic openshell-jwt-keys \
-n openshell \
--from-file=signing.pem=/tmp/signing.pem \
--from-file=public.pem=/tmp/public.pem \
--from-file=kid=/tmp/kid

rm /tmp/signing.pem /tmp/public.pem /tmp/kid
```

## Install the chart with OpenShift overrides

```shell
Expand Down
Loading