common
by OpenCSG
The Common Chart is a Helm library chart that provides reusable templates and standardized configurations for Kubernetes applications. It serves as a shared foundation to ensure consistency, reduce duplication, and simplify maintenance across all your Helm charts.
About this chart
Common Helm Chart
The Common chart provides shared Helm templates (tpl) used by other CSGHub charts.
It does not deploy any service on its own.
Usage
Include this chart as a dependency in other charts to reuse templates and shared configurations.
For detailed instructions, see the main CSGHub documentation:
Conventions
Booleans: never inside a merge block
Sprig's merge is backed by mergo.Merge, which skips zero-valued fields. This means
merge $dst (dict "enabled" false) silently keeps $dst.enabled instead of writing false.
The same trap applies to Sprig's default and dig when used to look up an optional bool
(false is treated as "no value" and the default wins).
Rule: a merge block must contain only strings/ints/maps. Boolean fields must be applied
separately with set + hasKey, so an explicit false is preserved.
See _objectStore.tpl, _registry.tpl, and _gateway.tpl for the canonical pattern:
merge covers non-bool fields; each bool field gets its own {{ if hasKey . "x" }}{{ set ... "x" .x }}{{ end }}.
The CSGHub Support Team
Deploy common with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has common 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcommon is pinned at v0.3.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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