Deploy Kubernetes on Hetzner Cloud seamlessly using GitHub Actions and kube-hetzner/terraform-hcloud-kube-hetzner/.
The infrastructure code is encapsulated in the kube.tf file.
Upon completion of the installation, the kubeconfig.yaml file will be automatically dispatched to a designated email.
Action Secret | Description |
---|---|
HCLOUD_TOKEN |
Hetzner Cloud API token. Learn how to create it here. |
MAIL_USERNAME |
Gmail account username. |
MAIL_PASSWORD |
Gmail account key (utilize an API key, check here for instructions). |
MAIL_TO |
Email recipient. |
👉🏻 Note: Explore Action-send-mail for options to use other mail providers instead of Gmail.