generic-app

by mvisonneau

Helm chartv0.0.17App 0.0.0

Generic Application Chart

About this chart

generic-app

Generic Application Chart

Homepage: https://github.com/mvisonneau/helm-charts

Maintainers

NameEmailUrl
mvisonneau[email protected]

Source Code

Values

KeyTypeDefaultDescription
configMapsobject{}
datadog.enabledboolfalse
global.datadog.enabledboolfalseinject datadog related labels/env variables
horizontalPodAutoscaler.enabledboolfalse
horizontalPodAutoscaler.maxReplicasint2
horizontalPodAutoscaler.minReplicasint1
horizontalPodAutoscaler.targetAverageCPUUtilizationint60
imageCredentialsobject{}
ingress.annotations."kubernetes.io/ingress.class"string"nginx"
ingress.annotations."nginx.ingress.kubernetes.io/force-ssl-redirect"string"true"
ingress.enabledboolfalse
ingress.hostslist[]
ingress.ingressClassNamestring""
ingress.pathstring"/"
ingress.pathTypestring"Prefix"
ingress.service.port.namestring"http"
ingress.tlslist[]
nameOverridestringnilname of the chart/release to override 'generic-app' with
podDisruptionBudget.enabledbooltrue
podDisruptionBudget.minAvailableint1
pods.additionalContainerslist[]
pods.affinity.antiAffinity.enabledboolfalse
pods.affinity.antiAffinity.topologyKeystring"kubernetes.io/hostname"
pods.affinity.antiAffinity.typestring"hard"
pods.affinity.rulesobject{}
pods.annotationsobject{}
pods.argslist[]
pods.commandlist[]
pods.controllerstring"deployment"controller used to schedule pods Can either be 'deployment', 'statefulset' or 'daemonset'
pods.dnsPolicystring"ClusterFirst"
pods.envlist[]
pods.envFromlist[]
pods.image.namestringnilimage repository/name
pods.image.pullCredentialsobject{}Automatically create a secret with the credentials and use it Cannot be used in conjunction of image.pullSecrets
pods.image.pullPolicystring"IfNotPresent"image pullPolicy
pods.image.pullSecretslist[]Optional array of imagePullSecrets containing private registry credentials Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
pods.image.tagstringnilimage tag
pods.initContainerslist[]
pods.labelsobject{}
pods.livenessProbeobject{}
pods.nodeSelectorobject{}
pods.podAnnotationsobject{}
pods.podLabelsobject{}
pods.ports[0].containerPortint8080
pods.readinessProbeobject{}
pods.replicasstringnilamount of desired pod(s) replica(s) Ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#replicas
pods.resourcesobject{}
pods.revisionHistoryLimitint3
pods.securityContextobject{}
pods.strategyobject{}
pods.tolerationslist[]
pods.volumeMountslist[]
pods.volumeslist[]
secretsobject{}
service.enabledbooltrue
service.ports[0].namestring"http"
service.ports[0].portint80
service.ports[0].protocolstring"TCP"
service.ports[0].targetPortint8080
serviceAccount.createboolfalsecreate a service account and associate it with the pods
serviceAccount.namestring"default"name of the service account to use (and potentially create)
serviceMonitor.enabledboolfalse
serviceMonitor.intervalstring"30s"
serviceMonitor.pathstring"/metrics"
serviceMonitor.portstring"metrics"

Deploy generic-app with OpenTenant

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