Helm chartv0.1.1App v0.1.1

A Helm chart to deploy the yelb demo app

About this chart

Yelb

A demo app created by https://github.com/mreferre/yelb

Requirements

RepositoryNameVersion
oci://registry-1.docker.io/bitnamichartspostgresql15.5.29
oci://registry-1.docker.io/bitnamichartsvalkey0.3.16

Values

KeyTypeDefaultDescription
appserver.replicaCountint1
appserver.image.repositorystring"quay.io/fairwinds/yelb-appserver"
appserver.image.pullPolicystring"Always"
appserver.image.tagstring"v0.6.0"
appserver.imagePullSecretslist[]
appserver.nameOverridestring""
appserver.fullnameOverridestring""
appserver.serviceAccount.createbooltrue
appserver.serviceAccount.automountboolfalse
appserver.serviceAccount.annotationsobject{}
appserver.serviceAccount.namestring""
appserver.podAnnotationsobject{}
appserver.podLabelsobject{}
appserver.podSecurityContextobject{}
appserver.securityContextobject{}
appserver.service.typestring"ClusterIP"
appserver.service.portint4567
appserver.resources.requests.cpustring"100m"
appserver.resources.requests.memorystring"128Mi"
appserver.livenessProbe.httpGet.pathstring"/api/hostname"
appserver.livenessProbe.httpGet.portstring"http"
appserver.readinessProbe.httpGet.pathstring"/api/getstats"
appserver.readinessProbe.httpGet.portstring"http"
appserver.autoscaling.enabledbooltrue
appserver.autoscaling.minReplicasint2
appserver.autoscaling.maxReplicasint100
appserver.autoscaling.targetCPUUtilizationPercentageint80
appserver.volumeslist[]
appserver.volumeMountslist[]
appserver.nodeSelectorobject{}
appserver.tolerationslist[]
appserver.affinityobject{}
ui.replicaCountint1
ui.image.repositorystring"quay.io/fairwinds/yelb-ui"
ui.image.pullPolicystring"Always"
ui.image.tagstring"v0.1.0"
ui.imagePullSecretslist[]
ui.nameOverridestring""
ui.fullnameOverridestring""
ui.serviceAccount.createbooltrue
ui.serviceAccount.automountboolfalse
ui.serviceAccount.annotationsobject{}
ui.serviceAccount.namestring""
ui.podAnnotationsobject{}
ui.podLabelsobject{}
ui.podSecurityContextobject{}
ui.securityContextobject{}
ui.service.typestring"ClusterIP"
ui.service.portint80
ui.resources.limits.cpustring"100m"
ui.resources.limits.memorystring"128Mi"
ui.resources.requests.cpustring"100m"
ui.resources.requests.memorystring"128Mi"
ui.livenessProbe.httpGet.pathstring"/"
ui.livenessProbe.httpGet.portstring"http"
ui.readinessProbe.httpGet.pathstring"/"
ui.readinessProbe.httpGet.portstring"http"
ui.autoscaling.enabledbooltrue
ui.autoscaling.minReplicasint2
ui.autoscaling.maxReplicasint100
ui.autoscaling.targetCPUUtilizationPercentageint80
ui.volumeslist[]
ui.volumeMountslist[]
ui.nodeSelectorobject{}
ui.tolerationslist[]
ui.affinityobject{}
ingress.enabledbooltrue
ingress.classNamestring"nginx-ingress"
ingress.hostNamestring"yelb.sandbox.hillghost.com"
ingress.annotations."cert-manager.io/cluster-issuer"string"letsencrypt-prod"
postgresql.enabledbooltrue
postgresql.primary.extraVolumes[0].namestring"init"
postgresql.primary.extraVolumes[0].secret.secretNamestring"yelb-db-init"
postgresql.primary.extraVolumeMounts[0].namestring"init"
postgresql.primary.extraVolumeMounts[0].readOnlybooltrue
postgresql.primary.extraVolumeMounts[0].mountPathstring"/init/"
postgresql.global.postgresql.auth.usernamestring"yelb"
postgresql.global.postgresql.auth.passwordstring"yelb"
postgresql.global.postgresql.auth.databasestring"yelbdatabase"
valkey.enabledbooltrue
valkey.auth.enabledboolfalse
valkey.auth.passwordstring"foobar"

Deploy yelb with OpenTenant

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