operator-helm
by mohammadne
A Helm chart for Kubernetes
About this chart
Operator Helm
Helm chart for Go based operators to use instead of default kustomize
in this project we aimed to provide a helm chart to use instead of default
Kustomizeas deployment strategy when developing operators.NOTE: in this way, you don't have to generate rbac and webhooks automatically by
controller-gentool and you have to modify the values.yaml file based on your needs, you only needcontroller-gentool to generate the CRDs based on what you have defined in your api directory.
Take a look at caas-operator project to get an insight for how using this chart.
NOTE: with this deployment approach you normally need to change the default Makefile and specify
rbacandwebhookwithin the values of the chart (normally defined in make manifests).
Deploy operator-helm with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has operator-helm 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 chartoperator-helm is pinned at v0.1.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