cloudnative-pg-crds

by joaquinito2051

Helm chartv0.2.1App 0.27.1

Cloudnative PG Operator CRDs

About this chart

The CRDs are copied from upstream: https://github.com/cloudnative-pg/charts/tree/main/charts/cloudnative-pg/templates/crds

This is a separate chart from the actual cloudnative-pg-operator chart because helm does currently not have a proper way for upgrading/deleting CRDs provided in the "crds" directory of a helm chart.

If you are upgrading the cloudnative=pg-operator chart, please copy and update the upstream CRDs to the templates/ directory here, and update Chart.yaml's appVersion to match the upstream version. (Chart.yaml version should be updated too, but it is an arbitrary WMF only version.)

See: https://helm.sh/docs/chart_best_practices/custom_resource_definitions/

Deploy cloudnative-pg-crds with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cloudnative-pg-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 chartcloudnative-pg-crds is pinned at v0.2.1 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