generic

by colearendt

Helm chartv0.2.7App latest

A generic Helm chart for Kubernetes

About this chart

generic

Installing the Chart

To install the chart with the release name my-release at version 0.2.7:

helm repo add colearendt https://colearendt.github.io/helm
helm install my-release colearendt/generic --version=0.2.7

A generic Helm chart for Kubernetes

Values

KeyTypeDefaultDescription
affinityobject{}
argslist[]args for the pod's primary container. Default is the container's default "command"
autoscaling.enabledboolfalse
autoscaling.maxReplicasint100
autoscaling.minReplicasint1
autoscaling.targetCPUUtilizationPercentageint80
commandlist[]command for the pod's primary container. Default is the container's default entrypoint
extraObjectslist[]Extra kubernetes objects to deploy (value evaluted as a template)
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"nginx"
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]
includeMountLabelbooltruewhether to include the checksum/config and checksum/secret mount labels that automatically force pod rollover on config change
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"ImplementationSpecific"
ingress.tlslist[]
livenessProbeobject{}customize the primary container's livenessProbe. Default none
mountConfiglist[]an array of name, mountPath, and content keys that will be used to create configMap entries and mount them as files into the pod. Strings evaluated as a template
mountConfigModeint420The file mode to use for mounting the mountConfig
mountSecretlist[]an array of name, mountPath, and content keys that will be used to create configMap entries and mount them into the pod. Strings evaluated as a template
mountSecretModeint416The file mode to use for mounting the secretConfig
nameOverridestring""
nodeSelectorobject{}
pod.annotationsobject{}Additional annotations to add to the pods
pod.envlist[]
pod.initContainerslist[]
pod.labelsobject{}Additional labels to add to the pods
pod.otherContainerslist[]
pod.otherPortslist[]
pod.portint80
pod.securityContextobject{}
pod.volumeMountslist[]
pod.volumeslist[]
rbac.clusterRole.namestring""The name for the ClusterRole. If empty, the "chart fullname" is used.
rbac.clusterRole.ruleslist[]Rules used as-is in the creation of a ClusterRole
rbac.role.namestring""The name for the created role(s). If empty, the "chart fullname" is used.
rbac.role.ruleslist[]Rule(s) used as-is in the creation of Role(s)
rbac.role.targetNamespaceslist[]The namespaces to create roles in. If empty, the Release.Namespace will be used by default.
readinessProbeobject{"httpGet":{"path":"/","port":"http"}}customize the primary container's readinessProbe. Default is httpGet on the default http port
replicaCountint1
resourcesobject{}
secretEnvlist[]an array of name, value keys that will be used to create secret entries and attach as environment variables. Values evaluated as a template
securityContextobject{}
service.otherPortslist[]
service.portint80
service.portNamestring"http"The port.name for the default port. Also used as the container port.name as well.
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
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
startupProbeobject{}customize the primary container's startupProbe. Default none
storage.accessModes[0]string"ReadWriteOnce"
storage.createboolfalse
storage.mountPathstring"/mnt/storage"
storage.namestring""
storage.requests.storagestring"6Gi"
storage.storageClassNamestring""
tolerationslist[]

Autogenerated from chart metadata using helm-docs v1.5.0

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.2.7 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