external-snapshotter-crds

by lola.2lannoy

Helm chartv8.7.2App 8.7.1Apache-2.0Verified publisher

CustomResourceDefinitions for the Kubernetes CSI external-snapshotter (VolumeSnapshot and VolumeGroupSnapshot APIs)

About this chart

external-snapshotter-crds

CustomResourceDefinitions for the Kubernetes CSI external-snapshotter (VolumeSnapshot and VolumeGroupSnapshot APIs).

CRDs are copied verbatim from kubernetes-csi/external-snapshotter at tag v8.7.1 (commit 9aea5b81a82aa262567bb4345c1caf2510d026dc), path(s) client/config/crd, and rendered as regular Helm templates so that helm upgrade updates them (Helm's own crds/ directory never upgrades).

Install

helm install external-snapshotter oci://ghcr.io/spnngl/charts/external-snapshotter-crds --version <version>

Chart version equals the upstream version it ships; appVersion is always the exact upstream version. Installing requires Kubernetes >=1.25.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 external-snapshotter oci://ghcr.io/spnngl/charts/external-snapshotter-crds --version <version> --take-ownership   # Helm >= 3.17

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

kubectl annotate crd volumegroupsnapshotclasses.groupsnapshot.storage.k8s.io volumegroupsnapshotcontents.groupsnapshot.storage.k8s.io volumegroupsnapshots.groupsnapshot.storage.k8s.io volumesnapshotclasses.snapshot.storage.k8s.io volumesnapshotcontents.snapshot.storage.k8s.io volumesnapshots.snapshot.storage.k8s.io \
  meta.helm.sh/release-name=<release> meta.helm.sh/release-namespace=<namespace> --overwrite
kubectl label crd volumegroupsnapshotclasses.groupsnapshot.storage.k8s.io volumegroupsnapshotcontents.groupsnapshot.storage.k8s.io volumegroupsnapshots.groupsnapshot.storage.k8s.io volumesnapshotclasses.snapshot.storage.k8s.io volumesnapshotcontents.snapshot.storage.k8s.io volumesnapshots.snapshot.storage.k8s.io \
  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
volumegroupsnapshotclasses.groupsnapshot.storage.k8s.ioVolumeGroupSnapshotClassgroupsnapshot.storage.k8s.ioClusterv1, v1beta1, v1beta2
volumegroupsnapshotcontents.groupsnapshot.storage.k8s.ioVolumeGroupSnapshotContentgroupsnapshot.storage.k8s.ioClusterv1, v1beta1, v1beta2
volumegroupsnapshots.groupsnapshot.storage.k8s.ioVolumeGroupSnapshotgroupsnapshot.storage.k8s.ioNamespacedv1, v1beta1, v1beta2
volumesnapshotclasses.snapshot.storage.k8s.ioVolumeSnapshotClasssnapshot.storage.k8s.ioClusterv1, v1beta1
volumesnapshotcontents.snapshot.storage.k8s.ioVolumeSnapshotContentsnapshot.storage.k8s.ioClusterv1, v1beta1
volumesnapshots.snapshot.storage.k8s.ioVolumeSnapshotsnapshot.storage.k8s.ioNamespacedv1, v1beta1

Bold = storage version, struck = not served.

Verify

REF=ghcr.io/spnngl/charts/external-snapshotter-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 kubernetes-csi/external-snapshotter 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 external-snapshotter-crds with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has external-snapshotter-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 chartexternal-snapshotter-crds is pinned at v8.7.2 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