customer-portal

by Labs64

Helm chartv0.10.12App 0.0.1Verified publisher

Labs64.IO :: Customer Portal UI – Frontend Interface for the Labs64 Customer Portal, built with Vite and Vue 3.

About this chart

customer-portal

Labs64.IO :: Customer Portal UI – Frontend Interface for the Labs64 Customer Portal, built with Vite and Vue 3.

Homepage: https://labs64.io

Maintainers

NameEmailUrl
Labs64[email protected]https://labs64.io

Source Code

Requirements

RepositoryNameVersion
file://../chart-libschart-libs0.8.12

Values

KeyTypeDefaultDescription
chart-libsobject{}
enabledbooltrue
ui.application.runtimeEnv.enabledbooltrueEnable loading a runtime config file (env.json).
ui.application.runtimeEnv.envobject{"VITE_API_URL":"https://<HOST>/customer-portal/api/v1"}Key-value pairs written into env.json.
ui.application.runtimeEnv.env.VITE_API_URLstring"https://<HOST>/customer-portal/api/v1"Primary API base URL — replace with your domain/host.
ui.application.runtimeEnv.pathstring"/usr/share/nginx/html/config/env.json"Absolute path in the container where env.json is mounted and served from.
ui.application.runtimeEnv.strictbooltrueStrict mode: if true, the container must not start when env.json is missing/invalid.
ui.enabledbooltrue
ui.fullnameOverridestring""
ui.gateway.annotationsobject{}Annotations for fallback Ingress
ui.gateway.enabledboolfalsePublish this module's routes on the Traefik gateway
ui.gateway.ingressClassNamestring""Ingress Class Name for fallback Ingress
ui.gateway.parentRefslist[{"name":"labs64io-gateway","namespace":"tools"}]Gateway API parent Gateway(s) this module's HTTPRoute attaches to
ui.gateway.prefixstring"/customer-portal"External path prefix; customer-portal-ui serves under /customer-portal
ui.gateway.routeslist[{"path":"","port":8080,"public":true}]Routes exposed by this module
ui.gateway.routes[0]object{"path":"","port":8080,"public":true}Customer Portal UI static assets. Public: a plain browser navigation can't attach a Bearer token, and the Auth Gateway's ForwardAuth policy set is generated from module OpenAPI specs, so it has no entry for a bare UI path anyway (would 403 regardless). This module has no backend API of its own yet.
ui.gateway.sharedMiddlewaresobject{"auth":"authgateway-auth","compress":"authgateway-compress","rateLimit":"authgateway-ratelimit"}Names of the shared middlewares provided by the authgateway chart (fullnameOverride: authgateway)
ui.imageobject{"digest":"","pullPolicy":"IfNotPresent","repository":"labs64/customer-portal-ui","tag":""}This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
ui.image.digeststring""Pin the image by digest (sha256:<64 hex>). Takes precedence over tag — the release pipeline sets it so a deployment cannot follow a moved tag.
ui.image.pullPolicystring"IfNotPresent"This sets the pull policy for images.
ui.image.tagstring""Overrides the image tag whose default is the chart appVersion.
ui.imagePullSecretslist[]This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
ui.livenessProbeobject{"failureThreshold":3,"httpGet":{"path":"/","port":8080},"initialDelaySeconds":5,"periodSeconds":10,"timeoutSeconds":2}Liveness probe for the nginx-unprivileged container serving the built UI.
ui.nameOverridestring""This is to override the chart name.
ui.networkPolicy.enabledboolfalse
ui.networkPolicy.extraIngresslist[]Additional raw ingress rules
ui.networkPolicy.gatewayNamespacestring"tools"Namespace where Traefik runs
ui.networkPolicy.ingressControllerLabelsobject{}Ingress controller pod-selector labels; defaults to the internal Traefik standard (app.kubernetes.io/name: traefik) when empty @schema type: object additionalProperties: true @schema
ui.networkPolicy.ingressFromlist[]In-namespace workloads (app.kubernetes.io/name) allowed to reach the UI port, besides the ingress controller and this UI's own pods (helm test). []: only the gateway serves it. Remove the key (set it to null) to fall back to the namespace-wide rule. @schema type: array items: type: string @schema
ui.networkPolicy.observabilityNamespacestring"monitoring"Namespace the observability/OTel collector runs in
ui.podAnnotationsobject{}This is for setting Kubernetes Annotations to a Pod.
ui.podDisruptionBudget.enabledboolfalse
ui.podDisruptionBudget.minAvailableint1
ui.podLabelsobject{}This is for setting Kubernetes Labels to a Pod.
ui.podSecurityContextobject{"fsGroup":101,"runAsGroup":101,"runAsNonRoot":true,"runAsUser":101,"seccompProfile":{"type":"RuntimeDefault"}}Non-root pod security context. The image is nginx-unprivileged (UID 101), so the whole pod runs unprivileged and listens on 8080.
ui.rbac.createboolfalse
ui.rbac.ruleslist[]
ui.readinessProbeobject{"failureThreshold":3,"httpGet":{"path":"/","port":8080},"initialDelaySeconds":5,"periodSeconds":10,"timeoutSeconds":2}Readiness probe for the nginx-unprivileged container serving the built UI.
ui.replicaCountint1This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
ui.securityContext.allowPrivilegeEscalationboolfalse
ui.securityContext.capabilities.drop[0]string"ALL"
ui.securityContext.readOnlyRootFilesystembooltrue
ui.serviceobject{"port":8080,"type":"ClusterIP"}This is for setting up a service more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/
ui.service.portint8080This sets the ports (non-privileged port served by nginx-unprivileged)
ui.service.typestring"ClusterIP"This sets the service type
ui.serviceAccountobject{"annotations":{},"automount":true,"create":false,"name":""}This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/
ui.serviceAccount.annotationsobject{}Annotations to add to the service account
ui.serviceAccount.automountbooltrueAutomatically mount a ServiceAccount's API credentials?
ui.serviceAccount.createboolfalseSpecifies whether a service account should be created
ui.serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
ui.tests.enabledbooltrue
ui.tests.healthPathstring"/"Health endpoint probed by helm test

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy customer-portal with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has customer-portal 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 chartcustomer-portal is pinned at v0.10.12 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