hatchet-frontend

by Hatchet

Helm chartv0.22.0MITVerified publisher

A Helm chart for deploying a frontend static file server on Kubernetes.

About this chart

hatchet-frontend

A Helm chart for deploying the Hatchet frontend static file server on Kubernetes.

⚠️ Important — this is an internal building block, not a chart you install directly.

Values validation

This chart ships a values.schema.json. Helm validates your supplied values against it on install, upgrade, template and lint.

Parameters

Image

KeyTypeDefaultDescription
sharedConfig.image.tagstringlatest Hatchet releaseImage tag inherited from a parent chart.
image.repositorystring"ghcr.io/hatchet-dev/hatchet/hatchet-frontend"Frontend image repository.
image.tagstringlatest Hatchet releaseFrontend image tag.
image.pullPolicystring"IfNotPresent"Frontend image pull policy.

Container runtime

KeyTypeDefaultDescription
commandline.argslist[]Container entrypoint arguments.
retainFailedHooksboolfalseRetain failed Helm hook Jobs so logs survive for debugging.
envobject{}Additional environment variables injected into the Deployment.
filesobject{}Files mounted into the container via a ConfigMap.
extraContainerslist[]Additional sidecar containers.
initContainerslist[]Additional init containers.
extraVolumeslist[]Additional volumes.
extraVolumeMountslist[]Additional volume mounts.
extraConfigMapMountslist[]Additional ConfigMap mounts.
extraManifestslist[]Additional raw Kubernetes manifests to render.

Deployment

KeyTypeDefaultDescription
replicaCountint1Number of replicas.
revisionHistoryLimitint3Number of old ReplicaSets to retain.
deployment.annotationsobject{app.kubernetes.io/name: hatchet-frontend}Deployment annotations.
deployment.labelsobject{}Deployment labels.
podAnnotationsobject{}Common annotations for all pods.
priorityClassNamestring""Pod priority class name.
nodeSelectorobject{}Node labels for pod assignment.
tolerationslist[]Tolerations for pod assignment.
affinityobjectunsetAffinity rules for pod assignment.
resources.limits.memorystring1024MiMemory limit for the main container.
resources.requests.cpustring250mCPU request for the main container.
resources.requests.memorystring1024MiMemory request for the main container.
persistence.sizestring5GiSize of the persistent volume.
podDisruptionBudgetobjectunsetPod disruption budget configuration.

Service & Ingress

KeyTypeDefaultDescription
service.typestringClusterIPService type.
service.externalPortint8080Service external port.
service.internalPortint80Service (container) internal port.
service.annotationsobject{}Service annotations.
service.labelsobject{}Service labels.
service.selectorobject{}Extra service selector labels.
ingress.enabledbooltrueEnable an Ingress resource.
ingress.annotationsobject{}Ingress annotations.
ingress.labelsobject{}Ingress labels.
ingress.hostslistnullIngress hosts and paths.
ingress.tlslistnullIngress TLS configuration.
ingress.pathTypestringImplementationSpecificIngress path type.

Service account & security

KeyTypeDefaultDescription
serviceAccount.createbooltrueCreate a service account.
securityContext.enabledboolfalseEnable the pod/container security context.
securityContext.allowPrivilegeEscalationboolfalseAllow privilege escalation.
securityContext.runAsUserint1000UID to run the container as.
securityContext.fsGroupint2000Filesystem group.
securityGroupPolicy.enabledboolfalseEnable AWS security groups for pods.
securityGroupPolicy.groupIdslist[]AWS security group IDs.

License

MIT. See LICENSE.

Deploy hatchet-frontend with OpenTenant

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