raw-manifests

by wirwolf

Helm chartv0.1.0App 1.0.0

Generic Helm chart for rendering raw Kubernetes manifests from values.resources

About this chart

raw-manifests

Generic Helm chart for rendering arbitrary Kubernetes manifests from values.resources.

Useful with Flux HelmRelease.spec.dependsOn when custom resources must be applied only after another HelmRelease installs the required CRDs/operator.

Example values

resources:
  - apiVersion: v1
    kind: ConfigMap
    metadata:
      name: "{{ .Release.Name }}-config"
      namespace: "{{ .Release.Namespace }}"
    data:
      example: "true"

Render locally

helm template test ./raw-manifests -f values.yaml

Deploy raw-manifests with OpenTenant

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