From 9b7e382fe4c07f693be34daf0d76b49e3cae6615 Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Fri, 22 Sep 2023 22:09:35 +0200 Subject: [PATCH] Update the helm chart readme --- helm-chart/README.md | 68 +++++++++++++++++++++++++++++--------------- 1 file changed, 45 insertions(+), 23 deletions(-) diff --git a/helm-chart/README.md b/helm-chart/README.md index 7cfee38fb..de3be0b33 100644 --- a/helm-chart/README.md +++ b/helm-chart/README.md @@ -1,6 +1,24 @@ # Helm Chart of [Onyxia](https://onyxia.sh/) -- Complete installation guide: https://onyxia.sh/ +## Installation + +```bash +helm repo add onyxia https://inseefrlab.github.io/onyxia + +cat << EOF > ./onyxia-values.yaml +ingress: + enabled: true + hosts: + - host: datalab.yourdomain.com +EOF + +helm install onyxia onyxia/onyxia --version "4.0.1" -f onyxia-values.yaml +``` + +Complete installation guide: https://onyxia.sh/ + +## Parameters documentation + - `api` parameters: [../api/README.md](https://github.com/InseeFrLab/onyxia-api/blob/v0.30/README.md#configuration) - `web` parameters: [../.env](../.env) @@ -9,26 +27,30 @@ the parameters of onyxia-web and onyxia-api should be filled in: `onyxia-values.yaml` -```yaml -web: - env: - THEME_ID=ultraviolet - TERMS_OF_SERVICES: | - { - "en": "https://www.sspcloud.fr/tos_en.md", - "fr": "https://www.sspcloud.fr/tos_fr.md" - } - # ... -api: - env: - security.cors.allowed_origins: http://localhost:3000 - authentication.mode: openidconnect - keycloak.realm: datalab - keycloak.auth-server-url: https://auth.lab.my-domain.net/auth - regions: - [ - { - "id":"demo", - "name":"Demo", - # ... +```diff + ingress: + enabled: true + hosts: + - host: datalab.yourdomain.com ++web: ++ env: ++ THEME_ID=ultraviolet ++ TERMS_OF_SERVICES: | ++ { ++ "en": "https://www.sspcloud.fr/tos_en.md", ++ "fr": "https://www.sspcloud.fr/tos_fr.md" ++ } ++ # ... ++api: ++ env: ++ security.cors.allowed_origins: http://localhost:3000 ++ authentication.mode: openidconnect ++ keycloak.realm: datalab ++ keycloak.auth-server-url: https://auth.lab.my-domain.net/auth ++ regions: ++ [ ++ { ++ "id":"demo", ++ "name":"Demo", ++ # ... ```