generic

by Helm

Helm chartv0.1.2

A Helm chart to create generic Kubernetes resources

About this chart

generic

A Helm chart to create generic Kubernetes resources

Installation

helm repo add appuio https://charts.appuio.ch
helm install generic appuio/generic

Configuration

The following table lists the configurable parameters chart. For default values and examples, consult values.yaml.

ParameterDescription
resourcesList of resources in string format. Allows to use templating.

Tip: You can use the default values.yaml

Templating

The resource strings allow to use Go templating like regular Helm charts. Make sure you use the root context $ form instead of . (see docs).

The following named templates are provided as helpers:

  • generic.name - Expand the name of the chart (truncated to 63 characters)
  • generic.fullname - Default fully qualified app name
  • generic.chart - Chart name and version
  • generic.labels - Common labels
  • generic.selectorLabels - Selector (name and instance) labels

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