chaos-mesh-crds

by lola.2lannoy

Helm chartv2.8.10App 2.8.8Apache-2.0Verified publisher

CustomResourceDefinitions for Chaos Mesh (chaos experiments, schedules, workflows)

About this chart

chaos-mesh-crds

CustomResourceDefinitions for Chaos Mesh (chaos experiments, schedules, workflows).

CRDs are copied verbatim from chaos-mesh/chaos-mesh at tag v2.8.8 (commit 3ffa399f44be86c12acb1b05228f8384b7ee8b31), path(s) config/crd/bases, and rendered as regular Helm templates so that helm upgrade updates them (Helm's own crds/ directory never upgrades).

Install

helm install chaos-mesh oci://ghcr.io/spnngl/charts/chaos-mesh-crds --version <version>

Chart version equals the upstream version it ships; appVersion is always the exact upstream version. Installing requires Kubernetes >=1.16.0.

Already have these CRDs?

If the CRDs were installed by the operator chart or kubectl apply, Helm refuses with "rendered manifests contain a resource that already exists". Either let Helm adopt them:

helm install chaos-mesh oci://ghcr.io/spnngl/charts/chaos-mesh-crds --version <version> --take-ownership   # Helm >= 3.17

or, on older Helm, hand them over first (replace <release> and <namespace>):

kubectl annotate crd awschaos.chaos-mesh.org azurechaos.chaos-mesh.org blockchaos.chaos-mesh.org dnschaos.chaos-mesh.org gcpchaos.chaos-mesh.org httpchaos.chaos-mesh.org iochaos.chaos-mesh.org jvmchaos.chaos-mesh.org kernelchaos.chaos-mesh.org networkchaos.chaos-mesh.org physicalmachinechaos.chaos-mesh.org physicalmachines.chaos-mesh.org podchaos.chaos-mesh.org podhttpchaos.chaos-mesh.org podiochaos.chaos-mesh.org podnetworkchaos.chaos-mesh.org remoteclusters.chaos-mesh.org schedules.chaos-mesh.org statuschecks.chaos-mesh.org stresschaos.chaos-mesh.org timechaos.chaos-mesh.org workflownodes.chaos-mesh.org workflows.chaos-mesh.org \
  meta.helm.sh/release-name=<release> meta.helm.sh/release-namespace=<namespace> --overwrite
kubectl label crd awschaos.chaos-mesh.org azurechaos.chaos-mesh.org blockchaos.chaos-mesh.org dnschaos.chaos-mesh.org gcpchaos.chaos-mesh.org httpchaos.chaos-mesh.org iochaos.chaos-mesh.org jvmchaos.chaos-mesh.org kernelchaos.chaos-mesh.org networkchaos.chaos-mesh.org physicalmachinechaos.chaos-mesh.org physicalmachines.chaos-mesh.org podchaos.chaos-mesh.org podhttpchaos.chaos-mesh.org podiochaos.chaos-mesh.org podnetworkchaos.chaos-mesh.org remoteclusters.chaos-mesh.org schedules.chaos-mesh.org statuschecks.chaos-mesh.org stresschaos.chaos-mesh.org timechaos.chaos-mesh.org workflownodes.chaos-mesh.org workflows.chaos-mesh.org \
  app.kubernetes.io/managed-by=Helm --overwrite

Values

KeyTypeDefaultDescription
annotationsobject{}Extra annotations added to every CRD.
labelsobject{}Extra labels added to every CRD.
keepOnUninstallbooltrueAdd helm.sh/resource-policy: keep so CRDs (and all their custom resources) survive helm uninstall.

Unknown keys are rejected (values.schema.json).

CRDs

CRDKindGroupScopeVersions
awschaos.chaos-mesh.orgAWSChaoschaos-mesh.orgNamespacedv1alpha1
azurechaos.chaos-mesh.orgAzureChaoschaos-mesh.orgNamespacedv1alpha1
blockchaos.chaos-mesh.orgBlockChaoschaos-mesh.orgNamespacedv1alpha1
dnschaos.chaos-mesh.orgDNSChaoschaos-mesh.orgNamespacedv1alpha1
gcpchaos.chaos-mesh.orgGCPChaoschaos-mesh.orgNamespacedv1alpha1
httpchaos.chaos-mesh.orgHTTPChaoschaos-mesh.orgNamespacedv1alpha1
iochaos.chaos-mesh.orgIOChaoschaos-mesh.orgNamespacedv1alpha1
jvmchaos.chaos-mesh.orgJVMChaoschaos-mesh.orgNamespacedv1alpha1
kernelchaos.chaos-mesh.orgKernelChaoschaos-mesh.orgNamespacedv1alpha1
networkchaos.chaos-mesh.orgNetworkChaoschaos-mesh.orgNamespacedv1alpha1
physicalmachinechaos.chaos-mesh.orgPhysicalMachineChaoschaos-mesh.orgNamespacedv1alpha1
physicalmachines.chaos-mesh.orgPhysicalMachinechaos-mesh.orgNamespacedv1alpha1
podchaos.chaos-mesh.orgPodChaoschaos-mesh.orgNamespacedv1alpha1
podhttpchaos.chaos-mesh.orgPodHttpChaoschaos-mesh.orgNamespacedv1alpha1
podiochaos.chaos-mesh.orgPodIOChaoschaos-mesh.orgNamespacedv1alpha1
podnetworkchaos.chaos-mesh.orgPodNetworkChaoschaos-mesh.orgNamespacedv1alpha1
remoteclusters.chaos-mesh.orgRemoteClusterchaos-mesh.orgClusterv1alpha1
schedules.chaos-mesh.orgSchedulechaos-mesh.orgNamespacedv1alpha1
statuschecks.chaos-mesh.orgStatusCheckchaos-mesh.orgNamespacedv1alpha1
stresschaos.chaos-mesh.orgStressChaoschaos-mesh.orgNamespacedv1alpha1
timechaos.chaos-mesh.orgTimeChaoschaos-mesh.orgNamespacedv1alpha1
workflownodes.chaos-mesh.orgWorkflowNodechaos-mesh.orgNamespacedv1alpha1
workflows.chaos-mesh.orgWorkflowchaos-mesh.orgNamespacedv1alpha1

Bold = storage version, struck = not served.

Verify

REF=ghcr.io/spnngl/charts/chaos-mesh-crds:<version>
cosign verify \
  --certificate-identity-regexp '^https://github\.com/spnngl/charts/\.github/workflows/release\.yml@' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  $REF
cosign verify-attestation --type spdxjson \
  --certificate-identity-regexp '^https://github\.com/spnngl/charts/\.github/workflows/release\.yml@' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  $REF
gh attestation verify oci://$REF --owner spnngl

License and attribution

The CRD manifests are the work of the chaos-mesh/chaos-mesh project, licensed under Apache-2.0 (copy in LICENSE, modification statement in NOTICE). Chart scaffolding is Apache-2.0, © spnngl. Generated by spnngl/charts; updates are automated, please report problems there rather than upstream.

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