hcloud-csi-driver
by mlohr
Community Helm Chart for installing the Hetzner Cloud CSI drivers in your Kubernetes cluster
About this chart
Helm Chart for hcloud-csi-driver
This is a community Helm Chart for installing the hcloud-csi-driver in your Hetzner Cloud Kubernetes cluster. The original sources of the hcloud-csi-driver can be found at https://github.com/hetznercloud/csi-driver.
Please note: This project is a community project from a Hetzner customer, published for use by other Hetzner customers. Neither the author nor this project is affiliated with Hetzner Online GmbH.
Installation
Add Helm Repository
helm repo add mlohr https://helm-charts.mlohr.com/
helm repo update
Install to Kubernetes
In order to install the hcloud-csi-driver successfully, you have to provide a Hetzner API Token, which will reside in a Secret resource within Kubernetes. For installing this Helm Chart, you can either reuse an existing secret (e.g. from hcloud-cloud-controller-manager Helm Chart) or create a new one.
- Install without reusing an existing secret:
helm install -n kube-system hcloud-csi-driver mlohr/hcloud-csi-driver \ --set secret.hcloudApiToken=<HCLOUD API TOKEN> - Install reusing an existing secret:
helm install -n kube-system hcloud-csi-driver mlohr/hcloud-csi-driver \ --set secret.existingSecretName=<EXISTING SECRET NAME>
Configuration
To see all available configuration options for a deployment using this helm chart,
please check the values.yaml file.
License
This project is published under the Apache License, Version 2.0. See LICENSE.md for more information.
Copyright (c) by Matthias Lohr <[email protected]>
Deploy hcloud-csi-driver with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has hcloud-csi-driver 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 charthcloud-csi-driver is pinned at v2.2.1 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