Skip to content

Commit

Permalink
Update quickstart.md
Browse files Browse the repository at this point in the history
* Adjust docker image name for iris to match iris helm chart default values
* Add ingress.hostname adjustment to match ingress.test, even if it might not be critical for this local guide
  • Loading branch information
chrisingenhaag authored Aug 29, 2024
1 parent cbe1350 commit 73d0691
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,19 +293,24 @@ If you have not yet installed an identity provider in the cluster, you can do so

* Build the image:
```powershell
docker build -t iris:latest -f .\identity-iris-keycloak-image\Dockerfile.multi-stage .\identity-iris-keycloak-image
docker build -t iris_keycloak:latest -f .\identity-iris-keycloak-image\Dockerfile.multi-stage .\identity-iris-keycloak-image
```

* Import the image into the cluster:
```powershell
k3d image import docker.io/library/iris:latest -c horizon-playground
k3d image import docker.io/library/iris_keycloak:latest -c horizon-playground
```

* Required for k3d/k3s: Set the StorageClass name to "local-path":
```powershell
yq -i '.postgresql.persistence.storageClassName = \"local-path\"' .\identity-iris-keycloak-charts\values.local.yaml
```

* Adjust the ingress hostname to be resolvable and reachable. For simplicity we add a host entry to this below to avoid the need of a configured dns server within this guide:
```powershell
yq -i '.ingress.hostname = \"iris.test\"' .\identity-iris-keycloak-charts\values.local.yaml
```

* Install the IDP:
```powershell
helm upgrade -i -n platform -f .\identity-iris-keycloak-charts\values.local.yaml iris .\identity-iris-keycloak-charts\
Expand Down

0 comments on commit 73d0691

Please sign in to comment.