chaos-mesh-crds

by Wiremind

Helm chartv2.8.7App v2.8.7Verified publisher

Manage chaos-mesh CRDs

About this chart

chaos-mesh-crds

Helm chart for deploying Chaos Mesh CRDs.

How to update the Chart

The Chart has the same version as the chaos-meshs, try to keep them equal.

CRDs are located here

../../scripts/update_crds.sh -r chaos-mesh/chaos-mesh -b v2.8.7 --folder helm/chaos-mesh/crds

Then remove the schema descriptions:

for f in templates/*.yaml; do
  yq -i 'del(.. | select(tag == "!!map" and has("description") and (.description | tag) == "!!str") | .description)' "$f"
done

Helm stores each release in a Secret, and a Secret holds at most 1 MiB. With the descriptions, the 2.8.7 release takes about 1087 KiB, so the install fails. Without them, it takes about 228 KiB. The filter removes only string values: a schema field named description is a map and stays. kubectl explain shows no help text for these CRDs.

Deploy chaos-mesh-crds with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has chaos-mesh-crds 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 chartchaos-mesh-crds is pinned at v2.8.7 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