Skip to content

Commit

Permalink
Update Application Hub to chart version 2.0.59 to add support for p…
Browse files Browse the repository at this point in the history
…ath-prefix (`BASE_URL`)
  • Loading branch information
rconway committed Mar 15, 2024
1 parent 7f239cf commit 278400e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
15 changes: 11 additions & 4 deletions deploy/eoepca/application-hub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ initIpDefaults

domain="${2:-${default_domain}}"
NAMESPACE="app-hub"
BASE_URL="/"

if [[ "${BASE_URL}" != */ ]]; then
BASE_URL="${BASE_URL}/"
fi

main() {
deployService
Expand All @@ -30,7 +35,7 @@ deployService() {
--timeout 10m \
--repo https://eoepca.github.io/helm-charts \
--namespace "${NAMESPACE}" --create-namespace \
--version 2.0.58
--version 2.0.59
fi
}

Expand All @@ -42,7 +47,7 @@ ingress:
hosts:
- host: applicationhub.${domain}
paths:
- path: /
- path: ${BASE_URL}
pathType: ImplementationSpecific
tls:
- secretName: applicationhub-tls
Expand All @@ -53,19 +58,21 @@ ingress:
jupyterhub:
fullnameOverride: "application-hub"
hub:
baseUrl: ${BASE_URL}
existingSecret: application-hub-secrets
extraEnv:
JUPYTERHUB_ENV: "dev"
JUPYTERHUB_SINGLE_USER_IMAGE: "eoepca/pde-container:1.0.3"
OAUTH_CALLBACK_URL: $(httpScheme)://applicationhub.${domain}/hub/oauth_callback
OAUTH_CALLBACK_URL: $(httpScheme)://applicationhub.${domain}${BASE_URL}hub/oauth_callback
OAUTH2_USERDATA_URL: $(httpScheme)://keycloak.${domain}/realms/master/protocol/openid-connect/userinfo
OAUTH2_TOKEN_URL: $(httpScheme)://keycloak.${domain}/realms/master/protocol/openid-connect/token
OAUTH2_AUTHORIZE_URL: $(httpScheme)://keycloak.${domain}/realms/master/protocol/openid-connect/auth
OAUTH_LOGOUT_REDIRECT_URL: "$(httpScheme)://applicationhub.${domain}"
OAUTH_LOGOUT_REDIRECT_URL: "$(httpScheme)://applicationhub.${domain}${BASE_URL}hub/home"
OAUTH2_USERNAME_KEY: "preferred_username"
APP_HUB_NAMESPACE: "${NAMESPACE}"
STORAGE_CLASS: "${APPLICATION_HUB_STORAGE}"
RESOURCE_MANAGER_WORKSPACE_PREFIX: "ws"
BASE_URL: ${BASE_URL}
JUPYTERHUB_CRYPT_KEY:
valueFrom:
Expand Down
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

* **[FIX]** Update Application Hub to chart version `2.0.58` to fix hard-coded namespace `proc`<br>
_Namespace can now be set via chart environment variable `APP_HUB_NAMESPACE`_
* **[FIX]** Update Application Hub to chart version `2.0.59` to add support for path-prefix (`BASE_URL`)
* **[FIX]** Correct default value of `PROCESSING_MAX_RAM` to the integer value in Mi `1024` (was string `8Gi`)

The Deployment Guide captures each release of the EOEPCA Reference Implementation, by providing for each version...
Expand Down

0 comments on commit 278400e

Please sign in to comment.