cosmotech-business-webapp
by Cosmo Tech
Helm chartv0.4.0Verified publisher
Cosmo Tech Business Web Application
About this chart
cosmotech-business-webapp
Cosmo Tech Business Web Application
- Homepage
- Changelog
Compatibility
| Chart version | Compatible Cosmo Tech Webapp versions | Compatible Cosmo Tech API versions |
|---|---|---|
| 0.1 | 7.0.0-beta.* (instance-specific server only) | 4.0.0-onprem |
| >= 0.2 | 7.0.0-beta.* | 4.0.0-onprem |
| >= 0.2 | >= 7.0.0 | >= 5.0.0 |
Source Code
Values
| Key | Type | Default | Description |
|---|---|---|---|
| cosmotech.apiUrl | string | "" | URL of the Cosmo Tech API used by the webapp (e.g. https://mytenant.cosmotech.com/mytenant/v5) |
| ingress.enabled | bool | true | whether to deploy the ingress for the webapp server and functions |
| keycloak.realmUrl | string | "" | URL of the keycloak realm that authenticates the users of the webapp. Required to validate user tokens in the webapp functions. (e.g. https://mytenant.cosmotech.com/keycloak/realms/myrealm) |
| name | string | "cosmotech-business-webapp" | prefix of the deployments, ingress and services that will be created |
| powerbi.clientId | string | "" | client id of the app registration that delivers PowerBI tokens for the GetEmbedInfo function |
| powerbi.clientSecret | string | "" | client secret of the app registration that delivers PowerBI tokens for the GetEmbedInfo function |
| powerbi.tenantId | string | "" | tenant id of the app registration that delivers PowerBI tokens for the GetEmbedInfo function |
| resources.limits.cpu | string | "1000m" | |
| resources.limits.ephemeral-storage | string | "2Gi" | |
| resources.limits.memory | string | "256Mi" | |
| resources.requests.cpu | string | "200m" | |
| resources.requests.ephemeral-storage | string | "50Mi" | |
| resources.requests.memory | string | "128Mi" | |
| superset.apiUrl | string | "" | URL of the Superset instance API. This is required to fetch guest tokens, when Superset dashboards are embedded in the webapp. (e.g. http://superset-web.mytenant.svc.cluster.local/api/v1) |
| superset.superuser.password | string | "" | Superset user password to use as credentials when calling superset /login endpoint, in order to generate guest tokens for Superset |
| superset.superuser.username | string | "" | Superset user name to use as credentials when calling superset /login endpoint, in order to generate guest tokens for Superset |
| webapp.contentSecurityPolicy | object | {} | CSP to set on the webapp e.g: contentSecurityPolicy: connect-src: - '*.mytenantplatform.platform.cosmotech.com' - https://mytenantplatform.platform.cosmotech.com frame-src: - https://superset-mytenantplatform.platform.cosmotech.com |
| webapp.domainName | string | "" | domain name to use to host the webapp server (e.g. mytenant.cosmotech.com) |
| webapp.functions.image.pullPolicy | string | "Always" | policy to pull the image |
| webapp.functions.image.pullSecret | string | "" | name of the secret containing registry credentials to pull private images (e.g. cosmotech-business-webapp-brewery-registry) |
| webapp.functions.image.repository | string | "" | container image to use for webapp functions (e.g. ghcr.io/cosmo-tech/azure-sample-webapp/webapp-functions) |
| webapp.functions.image.tag | string | "" | container image tag |
| webapp.functions.nodeSelector | object | {} | node selector for webapp functions deployment |
| webapp.functions.tolerations | list | [] | tolerations for webapp functions deployment |
| webapp.globalConfiguration | object | {} | Configuration environment variables of the webapp e.g: globalConfiguration: APP_REGISTRATION_CLIENT_ID: "" AUTH_KEYCLOAK_CLIENT_ID: cosmotech-client-webapp AUTH_KEYCLOAK_REALM: https://mytenantplatform.platform.cosmotech.com/keycloak/realms/mytenant AUTH_KEYCLOAK_ROLES_JWT_CLAIM: userRoles AZURE_TENANT_ID: "" COSMOTECH_API_SCOPE: https://mytenantplatform.platform.cosmotech.com/platform DEFAULT_BASE_PATH: https://mytenantplatform.platform.cosmotech.com/mytenant/api RUN_API_URL: https://mytenantplatform/mytenant/api ADL_API_URL: https://mytenantplatform/mytenant/asset ORGANIZATION_ID: o-xxxxxxxxxxx PUBLIC_URL: /mytenant/webapp WORKSPACES_IDS_FILTER: null |
| webapp.publicUrl | string | "" | URL path to use as root of the webapp (e.g. /cosmotech-webapp/brewery) |
| webapp.server.image.pullPolicy | string | "Always" | policy to pull the image |
| webapp.server.image.pullSecret | string | "" | name of the secret containing registry credentials to pull private images (e.g. cosmotech-business-webapp-brewery-registry) |
| webapp.server.image.repository | string | "" | container image to use as webapp server (e.g. ghcr.io/cosmo-tech/azure-sample-webapp/webapp-server) |
| webapp.server.image.tag | string | "" | container image tag |
| webapp.server.nodeSelector | object | {} | node selector for webapp server deployment |
| webapp.server.tolerations | list | [] | tolerations for webapp server deployment |
Deploy cosmotech-business-webapp with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cosmotech-business-webapp on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcosmotech-business-webapp is pinned at v0.4.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply