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

KeyTypeDefaultDescription
affinityobject{}
config.csm.platform.gateway.authorization.cookie-namestring"SESSION"
config.csm.platform.gateway.authorization.principalstring"preferred_username"
config.csm.platform.gateway.configuration.defaultFilters[0]string"TokenRelay="
config.csm.platform.gateway.configuration.failOnRouteDefinitionErrorbooltrue
config.csm.platform.gateway.configuration.routeFilterCacheEnabledboolfalse
config.csm.platform.gateway.configuration.routes[0].filters[0]string"RewritePath=/changeme/(?<segment>.*),/$\\{segment}"
config.csm.platform.gateway.configuration.routes[0].idstring"my-route-id"
config.csm.platform.gateway.configuration.routes[0].predicates[0]string"Path=/changeme/**"
config.csm.platform.gateway.configuration.routes[0].uristring"http://localhost:8080"
config.csm.platform.gateway.configuration.trustedProxiesstring""
config.csm.platform.gateway.contextPathstring"/"
config.csm.platform.gateway.cors.allow-credentialsbooltrue
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-ageint3600
config.csm.platform.gateway.identityProvider.identity.clientIdstring"gateway-client-id"
config.csm.platform.gateway.identityProvider.identity.tenantIdstring"my-tenant-id"
config.csm.platform.gateway.identityProvider.serverBaseUrlstring"http://changeme"
config.csm.platform.gateway.openApiAggregation.enabledbooltrue
config.csm.platform.gateway.openApiAggregation.serverUrlsobject{}
config.csm.platform.gateway.swagger-ui.oauth.scopesstring"openid,email,profile"
config.csm.platform.gateway.swagger-ui.oauth.useBasicAuthenticationWithAccessCodeGrantboolfalse
config.csm.platform.gateway.swagger-ui.oauth.usePkceWithAuthorizationCodeGrantbooltrue
config.csm.platform.gateway.swagger-ui.pathstring"/swagger-ui.html"
config.csm.platform.gateway.swagger-ui.persistAuthorizationboolfalse
config.csm.platform.gateway.swagger-ui.urlsPrimaryNamestring"cosmotech-gateway"
config.csm.platform.gateway.swagger-ui.urls[0].namestring"cosmotech-gateway"
config.csm.platform.gateway.swagger-ui.urls[0].urlstring"/v3/api-docs"
config.csm.platform.gateway.swagger-ui.useRootPathbooltrue
deploymentStrategyobject{"rollingUpdate":{"maxSurge":1,"maxUnavailable":"50%"},"type":"RollingUpdate"}Deployment strategy
deploymentStrategy.rollingUpdate.maxSurgeint1maximum number of Pods that can be created over the desired number of Pods
deploymentStrategy.rollingUpdate.maxUnavailablestring"50%"maximum number of Pods that can be unavailable during the update process
fullnameOverridestring""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.pullPolicystring"Always"policy for pulling the image
image.repositorystring"registry.cosmotech.com/product/cosmotech-gateway"container image to use for deployment
image.tagstring""container image tag. Defaults to the Chart appVersion if empty or missing
imageCredentials.passwordstring""password for registry to use for pulling the Deployment image. Useful if you are using a private registry
imageCredentials.registrystring""container registry to use for pulling the Deployment image. Useful if you are using a private registry
imageCredentials.usernamestring""username for the container registry to use for pulling the Deployment image. Useful if you are using a private registry
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].paths[0].pathstring"/"
ingress.hosts[0].paths[0].pathTypestring"Prefix"
ingress.tlslist[]
nameOverridestring""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.enabledbooltrue
nodeSelectorobject{}
podAnnotationsobject{}annotations to set the Deployment pod
podSecurityContextobject{"runAsNonRoot":true}the pod security context, i.e. applicable to all containers part of the pod
probes.liveness.failureThresholdint5
probes.liveness.periodSecondsint5
probes.liveness.timeoutSecondsint10
probes.readiness.failureThresholdint5
probes.readiness.timeoutSecondsint10
probes.startup.failureThresholdint40
probes.startup.initialDelaySecondsint20
probes.startup.periodSecondsint5
replicaCountint1
resources.limits.cpustring"1000m"
resources.limits.ephemeral-storagestring"2Gi"
resources.limits.memorystring"1024Mi"
resources.requests.cpustring"500m"
resources.requests.ephemeral-storagestring"50Mi"
resources.requests.memorystring"512Mi"
securityContextobject{"readOnlyRootFilesystem":true}the security context at the pod container level
service.managementPortint8061service management port
service.portint8060service port
service.typestring"ClusterIP"service type. See this page for the possible values
tolerationslist[]

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcosmotech-gateway is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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