cosmotech-gateway
by Cosmo Tech
Helm chartv0.1.0App 0.0.1Verified publisher
Cosmo Tech Gateway
About this chart
cosmotech-gateway
Cosmo Tech Gateway
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| config.csm.platform.gateway.authorization.cookie-name | string | "SESSION" | |
| config.csm.platform.gateway.authorization.principal | string | "preferred_username" | |
| config.csm.platform.gateway.configuration.defaultFilters[0] | string | "TokenRelay=" | |
| config.csm.platform.gateway.configuration.failOnRouteDefinitionError | bool | true | |
| config.csm.platform.gateway.configuration.routeFilterCacheEnabled | bool | false | |
| config.csm.platform.gateway.configuration.routes[0].filters[0] | string | "RewritePath=/changeme/(?<segment>.*),/$\\{segment}" | |
| config.csm.platform.gateway.configuration.routes[0].id | string | "my-route-id" | |
| config.csm.platform.gateway.configuration.routes[0].predicates[0] | string | "Path=/changeme/**" | |
| config.csm.platform.gateway.configuration.routes[0].uri | string | "http://localhost:8080" | |
| config.csm.platform.gateway.configuration.trustedProxies | string | "" | |
| config.csm.platform.gateway.contextPath | string | "/" | |
| config.csm.platform.gateway.cors.allow-credentials | bool | true | |
| config.csm.platform.gateway.cors.allowed-headers[0] | string | "*" | |
| config.csm.platform.gateway.cors.allowed-methods[0] | string | "GET" | |
| config.csm.platform.gateway.cors.allowed-methods[1] | string | "HEAD" | |
| config.csm.platform.gateway.cors.allowed-methods[2] | string | "POST" | |
| config.csm.platform.gateway.cors.allowed-methods[3] | string | "PUT" | |
| config.csm.platform.gateway.cors.allowed-methods[4] | string | "PATCH" | |
| config.csm.platform.gateway.cors.allowed-methods[5] | string | "DELETE" | |
| config.csm.platform.gateway.cors.allowed-methods[6] | string | "OPTIONS" | |
| config.csm.platform.gateway.cors.allowed-origins[0] | string | "http://localhost:3000" | |
| config.csm.platform.gateway.cors.allowed-origins[1] | string | "http://localhost:8080" | |
| config.csm.platform.gateway.cors.exposed-headers[0] | string | "Location" | |
| config.csm.platform.gateway.cors.exposed-headers[1] | string | "WWW-Authenticate" | |
| config.csm.platform.gateway.cors.max-age | int | 3600 | |
| config.csm.platform.gateway.identityProvider.identity.clientId | string | "gateway-client-id" | |
| config.csm.platform.gateway.identityProvider.identity.tenantId | string | "my-tenant-id" | |
| config.csm.platform.gateway.identityProvider.serverBaseUrl | string | "http://changeme" | |
| config.csm.platform.gateway.openApiAggregation.enabled | bool | true | |
| config.csm.platform.gateway.openApiAggregation.serverUrls | object | {} | |
| config.csm.platform.gateway.swagger-ui.oauth.scopes | string | "openid,email,profile" | |
| config.csm.platform.gateway.swagger-ui.oauth.useBasicAuthenticationWithAccessCodeGrant | bool | false | |
| config.csm.platform.gateway.swagger-ui.oauth.usePkceWithAuthorizationCodeGrant | bool | true | |
| config.csm.platform.gateway.swagger-ui.path | string | "/swagger-ui.html" | |
| config.csm.platform.gateway.swagger-ui.persistAuthorization | bool | false | |
| config.csm.platform.gateway.swagger-ui.urlsPrimaryName | string | "cosmotech-gateway" | |
| config.csm.platform.gateway.swagger-ui.urls[0].name | string | "cosmotech-gateway" | |
| config.csm.platform.gateway.swagger-ui.urls[0].url | string | "/v3/api-docs" | |
| config.csm.platform.gateway.swagger-ui.useRootPath | bool | true | |
| deploymentStrategy | object | {"rollingUpdate":{"maxSurge":1,"maxUnavailable":"50%"},"type":"RollingUpdate"} | Deployment strategy |
| deploymentStrategy.rollingUpdate.maxSurge | int | 1 | maximum number of Pods that can be created over the desired number of Pods |
| deploymentStrategy.rollingUpdate.maxUnavailable | string | "50%" | maximum number of Pods that can be unavailable during the update process |
| fullnameOverride | string | "" | value overriding the full name of the Chart. If not set, the value is computed from nameOverride. Truncated at 63 chars because some Kubernetes name fields are limited to this. |
| image.pullPolicy | string | "Always" | policy for pulling the image |
| image.repository | string | "registry.cosmotech.com/product/cosmotech-gateway" | container image to use for deployment |
| image.tag | string | "" | container image tag. Defaults to the Chart appVersion if empty or missing |
| imageCredentials.password | string | "" | password for registry to use for pulling the Deployment image. Useful if you are using a private registry |
| imageCredentials.registry | string | "" | container registry to use for pulling the Deployment image. Useful if you are using a private registry |
| imageCredentials.username | string | "" | username for the container registry to use for pulling the Deployment image. Useful if you are using a private registry |
| imagePullSecrets | list | [] | |
| ingress.annotations | object | {} | |
| ingress.className | string | "" | |
| ingress.enabled | bool | false | |
| ingress.hosts[0].host | string | "chart-example.local" | |
| ingress.hosts[0].paths[0].path | string | "/" | |
| ingress.hosts[0].paths[0].pathType | string | "Prefix" | |
| ingress.tls | list | [] | |
| nameOverride | string | "" | value overriding the name of the Chart. Defaults to the Chart name. Truncated at 63 chars because some Kubernetes name fields are limited to this. |
| networkPolicy.enabled | bool | true | |
| nodeSelector | object | {} | |
| podAnnotations | object | {} | annotations to set the Deployment pod |
| podSecurityContext | object | {"runAsNonRoot":true} | the pod security context, i.e. applicable to all containers part of the pod |
| probes.liveness.failureThreshold | int | 5 | |
| probes.liveness.periodSeconds | int | 5 | |
| probes.liveness.timeoutSeconds | int | 10 | |
| probes.readiness.failureThreshold | int | 5 | |
| probes.readiness.timeoutSeconds | int | 10 | |
| probes.startup.failureThreshold | int | 40 | |
| probes.startup.initialDelaySeconds | int | 20 | |
| probes.startup.periodSeconds | int | 5 | |
| replicaCount | int | 1 | |
| resources.limits.cpu | string | "1000m" | |
| resources.limits.ephemeral-storage | string | "2Gi" | |
| resources.limits.memory | string | "1024Mi" | |
| resources.requests.cpu | string | "500m" | |
| resources.requests.ephemeral-storage | string | "50Mi" | |
| resources.requests.memory | string | "512Mi" | |
| securityContext | object | {"readOnlyRootFilesystem":true} | the security context at the pod container level |
| service.managementPort | int | 8061 | service management port |
| service.port | int | 8060 | service port |
| service.type | string | "ClusterIP" | service type. See this page for the possible values |
| tolerations | list | [] |
Deploy cosmotech-gateway with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cosmotech-gateway 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-gateway is pinned at v0.1.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