Sign inSign up

shebanglabs/hcloud-operator

By shebanglabs

•Updated 16 days ago

Kubernetes operator that manages Hetzner Cloud declaratively

Image
0

5.0K

shebanglabs/hcloud-operator repository overview

⁠hcloud-operator

A Kubernetes operator that manages Hetzner Cloud declaratively: servers, volumes, networks, firewalls, load balancers, floating and primary IPs, certificates, images, SSH keys and placement groups as custom resources.

Source, documentation and Helm chart: https://github.com/shebang-labs/hcloud-operator⁠

⁠Install

helm repo add shebanglabs https://shebang-labs.github.io/hcloud-operator
helm install hcloud-operator shebanglabs/hcloud-operator \
  --namespace hcloud-operator --create-namespace \
  --set hetzner.token=<your Hetzner Cloud API token>

⁠Tags

TagWhat it is
1.2.3A release. Deploy these.
latestThe newest release.
devThe tip of main. Not for production.
<commit-sha>Every build. Immutable.

Images are built for linux/amd64 and linux/arm64, run as an unprivileged user (uid 65532), ship an SBOM and SLSA provenance, and release tags are signed with cosign (verify with cosign v3 or later):

cosign verify docker.io/shebanglabs/hcloud-operator:1.0.0 \
  --certificate-identity-regexp 'https://github.com/shebang-labs/hcloud-operator/' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

⁠Running the image directly

docker run --rm -e HETZNER_TOKEN=... -e LEADER_ELECTION_ENABLED=false \
  -v ~/.kube/config:/kube/config:ro -e KUBECONFIG=/kube/config \
  shebanglabs/hcloud-operator:1.0.0

The only required variable is HETZNER_TOKEN; the image refuses to start without it and says so.

Tag summary

Content type

Image

Digest

sha256:4c13dcf3c…

Size

69.5 MB

Last updated

23 days ago

docker pull shebanglabs/hcloud-operator