generic

by tibuntu

Helm chartv0.11.0Apache-2.0Verified publisher

A Helm chart for generic applications

About this chart

generic

A Helm chart for generic applications

Homepage: https://github.com/tibuntu/helm-charts/tree/main/charts/generic

Install

helm repo add tibuntu https://tibuntu.github.io/helm-charts
helm install my-app tibuntu/generic \
  --set image.registry=docker.io \
  --set image.repository=traefik/whoami \
  --set image.tag=v1.12.0

The chart is also published as an OCI artifact; no helm repo add needed:

helm install my-app oci://ghcr.io/tibuntu/charts/generic --version 0.11.0 \
  --set image.registry=docker.io \
  --set image.repository=traefik/whoami \
  --set image.tag=v1.12.0

image.registry and image.repository are required; rendering fails without them. Unknown keys in your values are rejected by the chart's schema, so a typo fails the install instead of being ignored.

Maintainers

NameEmailUrl
tibuntuhttps://github.com/tibuntu

Source Code

Requirements

Kubernetes: >=1.22.0-0

Values

KeyTypeDefaultDescription
additionalPersistentVolumeClaimslist[]Additional PersistentVolumeClaims to create and mount, named <fullname>-<name>. Per entry: name, mountPath, size (default 1Gi), accessMode (default ReadWriteOnce), storageClass, annotations
additionalVolumeMountslist[]Additional volume mounts to add to the container (raw Kubernetes volumeMount specs)
additionalVolumeslist[]Additional volumes to add to the pod (raw Kubernetes volume specs)
affinityobject{}Affinity rules for the pod
argslist[]Override the image CMD. Leave empty to keep the image default. Set this (not command) to run another process through the image's entrypoint script, e.g. a background worker sharing the image of a web app.
commandlist[]Override the image ENTRYPOINT. Leave empty to keep the image default.
containerPortstring""Port the container listens on (the http port); empty means same as service.port
envFromlist[]Sources for environment variables, passed to the container as envFrom (configMapRef / secretRef)
environmentlist[]Custom environment variables, a list in the Kubernetes env format (name with value or valueFrom)
extraEmptyDirslist[]Mount additional emptyDir volumes (list of name and mountPath), e.g. a writable /tmp while readOnlyRootFilesystem is on
fullnameOverridestring""Override the full resource name (replaces <release>-<chart>)
image.pullPolicystring"IfNotPresent"Image pull policy (Always, IfNotPresent or Never)
image.registrystringnilImage registry host, e.g. docker.io. Required: rendering fails when unset
image.repositorystringnilImage repository, e.g. traefik/whoami. Required: rendering fails when unset
image.tagstring"latest"Image tag; falls back to the chart appVersion when empty
imagePullSecretslist[]Secrets used to pull the image, a list of name: references to existing Secrets
ingress.annotationsobject{}Annotations for the Ingress
ingress.classNamestring""ingressClassName of the Ingress; omitted when empty
ingress.enabledboolfalseCreate an Ingress
ingress.hostslist[{"host":"my-subdomain.my-domain.com","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}]Ingress rules; every path routes to this chart's Service on service.port. pathType defaults to ImplementationSpecific
ingress.tlslist[]Ingress TLS entries (hosts and an optional secretName)
livenessProbeobject{"enabled":false,"initialDelaySeconds":10,"path":"/","port":"http"}Liveness probe, httpGet; any other probe field (periodSeconds, ...) is passed through
livenessProbe.enabledboolfalseRender the probe on the container
livenessProbe.initialDelaySecondsint10Seconds to wait after the container starts before probing
livenessProbe.pathstring"/"HTTP path to request
livenessProbe.portstring"http"Port number or container port name (http follows the container port)
nameOverridestring""Override the chart name used in resource names and the app.kubernetes.io/name label
nodeSelectorobject{}Node selector for the pod
persistence.accessModestring"ReadWriteOnce"Access mode of the PVC (ReadWriteOnce, ReadOnlyMany, ReadWriteMany or ReadWriteOncePod)
persistence.annotationsobject{}Annotations for the PVC, e.g. helm.sh/resource-policy: keep to retain the PVC (and its data) on helm uninstall
persistence.enabledboolfalseMount a PersistentVolumeClaim (created unless existingClaim is set)
persistence.existingClaimstring""Name of an existing PVC to mount instead of creating one. When set, no PVC is created.
persistence.mountPathstring"/data"Mount path of the PVC in the container
persistence.namestring""Name of the PVC; defaults to <fullname>-pvc. Ignored when existingClaim is set
persistence.sizestring"1Gi"Storage size requested by the PVC
persistence.storageClassstring""Storage class name; the cluster default storage class is used when empty
podAnnotationsobject{}Annotations for the pod template
podSecurityContextobject{"fsGroup":911}Pod-level securityContext. fsGroup makes mounted volumes writable for the container user
priorityClassNamestring""PriorityClass for the pod, e.g. so a pod pinned to one node can preempt others
readinessProbeobject{"enabled":false,"initialDelaySeconds":10,"path":"/","port":"http"}Readiness probe, httpGet; any other probe field (periodSeconds, ...) is passed through
readinessProbe.enabledboolfalseRender the probe on the container
readinessProbe.initialDelaySecondsint10Seconds to wait after the container starts before probing
readinessProbe.pathstring"/"HTTP path to request
readinessProbe.portstring"http"Port number or container port name (http follows the container port)
replicaCountint1Number of pod replicas of the Deployment
resourcesobject{"limits":{},"requests":{}}Container resource requests and limits (passed as resources)
securityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsGroup":911,"runAsNonRoot":true,"runAsUser":911,"seccompProfile":{"type":"RuntimeDefault"}}Container securityContext; defaults follow the restricted Pod Security Standard. Overriding it replaces the whole map, so repeat the keys you want to keep
service.annotationsobject{}Annotations for the Service (e.g. Tailscale, MetalLB, external-dns)
service.portint5314Service port; also the container port unless containerPort is set
service.typestring"ClusterIP"Service type (ClusterIP, NodePort or LoadBalancer)
serviceAccount.annotationsobject{}Annotations for the ServiceAccount (e.g. IAM role bindings); only used when create is true
serviceAccount.automountboolfalseMount the service account token into the pod (automountServiceAccountToken); set to true if the workload calls the Kubernetes API
serviceAccount.createbooltrueCreate a ServiceAccount; when false the pod uses name or the namespace default account
serviceAccount.namestring""ServiceAccount name; defaults to the full resource name when create is true, otherwise to default
startupProbeobject{"enabled":false,"initialDelaySeconds":10,"path":"/","port":"http"}Startup probe, httpGet; any other probe field (periodSeconds, ...) is passed through
startupProbe.enabledboolfalseRender the probe on the container
startupProbe.initialDelaySecondsint10Seconds to wait after the container starts before probing
startupProbe.pathstring"/"HTTP path to request
startupProbe.portstring"http"Port number or container port name (http follows the container port)
strategyobject{}Deployment update strategy. Leave empty to use the Kubernetes default (RollingUpdate). Set type: Recreate to terminate all existing pods before creating new ones — useful for workloads backed by a ReadWriteOnce volume.
tolerationslist[]Tolerations for the pod

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy generic with OpenTenant

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