velero-crds
by Wiremind
A Helm chart to manage velero CRDs
About this chart
velero-crds
This Chart contains CRDs needed by velero.
The Chart has the same version as the velero Chart's, try to keep them equal even when no changes on the CRDs are made.
The CRDs are retrieved/adjustec from here, Checkout the right tag and see if there are any changes. Comment out creationTimestamp due to kubeconform + https://github.com/kubernetes/kubernetes/issues/109427.
restores.yaml comes from velero v1.18.4, with the component: velero label added.
The velero chart 12.2.2 ships the v1.18.2 CRD, which does not have spec.resourcePolicy.
If the version of the CRDs changes, aka breaking changes (this doesn't happen every day) more actions will be required!
cd charts/velero-crds
repo="vmware-tanzu/helm-charts"
branch="velero-12.2.2"
folder="charts/velero/crds"
files=$(curl -s "https://api.github.com/repos/$repo/contents/$folder?ref=$branch" | jq -r '.[].download_url')
for file in $files
do
filename=$(basename "$file")
curl -o "templates/$filename" -L "$file"
done
rm -f templates/kustomization.yaml
cd -
Deploy velero-crds with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has velero-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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartvelero-crds is pinned at v12.2.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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