Helm chartv1.0.8

A library that shall collect certain templates to reuse them among different charts.

About this chart

tpl

Description

A library that shall collect certain templates to reuse them among different charts.

This Helm Chart is a library of reusable template, like tolerations or resources. Instead of defining them in other Charts multiple times, it is possible to simply include the template.

The template "tpl.sleeptimer" is a simple template that can be used for Job to print our a timer.

Dependencies

This chart has the following dependencies:

RepositoryNameVersion

No dependencies

Maintainers

NameEmailUrl
tjungbauer[email protected]https://blog.stderr.at/

Sources

Source:

Source code: https://github.com/redhat-cop/helm-charts/tree/main/charts/tpl

Values

KeyTypeDefaultDescription
nodeSelector.keystring"node-role.kubernetes.io/infra"
nodeSelector.valuestring""
resourcesobject{"limits":{"cpu":8,"ephemeral-storage":500,"memory":16},"requests":{"cpu":4,"ephemeral-storage":50,"memory":8}}If you want to define resources Example include: {{- if .Values.resources }} {{ include "tpl.resources" .Values.resources
tolerationslist[{"effect":"NoSchedule","key":"infra","operator":"Equal","tolerationSeconds":600,"value":"reserved"},{"effect":"NoSchedule","key":"infra","operator":"Equal","tolerationSeconds":600,"value":"reserved"}]If you want this component to only run on specific nodes, you can configure tolerations of tainted nodes. Example include: {{- if .Values.tolerations }} {{ include "tpl.tolerations" .Values.tolerations

Example values

---
# Examples values file

tolerations:
  - effect: NoSchedule
    key: infra
    operator: Equal
    value: reserved
    tolerationSeconds: 600
  - effect: NoSchedule
    key: infra
    operator: Equal
    value: reserved
    tolerationSeconds: 600

resources:
  requests:
    cpu: 4
    memory: 8
    ephemeral-storage: 50
  limits:
    cpu: 8
    memory: 16
    ephemeral-storage: 500

nodeSelector:
  key: node-role.kubernetes.io/infra
  value: ''

Installing the Chart

To install the chart with the release name my-release:

helm install my-release repo/<chart-name>>

The command deploys the chart on the Kubernetes cluster in the default configuration.

Uninstalling the Chart

To uninstall/delete the my-release deployment:

helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.


Autogenerated from chart metadata using helm-docs v1.12.0

Deploy tpl with OpenTenant

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