{"id":38078865,"url":"https://github.com/rwunderer/hcloud-private-fip-controller","last_synced_at":"2026-04-01T19:08:03.554Z","repository":{"id":64304702,"uuid":"400549258","full_name":"rwunderer/hcloud-private-fip-controller","owner":"rwunderer","description":"small k8s controller to simulate a floating ip on hetzner cloud's private network.","archived":false,"fork":false,"pushed_at":"2026-03-30T07:57:28.000Z","size":394,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-30T09:38:42.580Z","etag":null,"topics":["movable"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rwunderer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-08-27T15:11:02.000Z","updated_at":"2026-03-30T07:57:31.000Z","dependencies_parsed_at":"2024-02-27T10:45:15.305Z","dependency_job_id":"36f91fca-1b4a-46af-a715-8ee088b71e6c","html_url":"https://github.com/rwunderer/hcloud-private-fip-controller","commit_stats":null,"previous_names":[],"tags_count":79,"template":false,"template_full_name":null,"purl":"pkg:github/rwunderer/hcloud-private-fip-controller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwunderer%2Fhcloud-private-fip-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwunderer%2Fhcloud-private-fip-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwunderer%2Fhcloud-private-fip-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwunderer%2Fhcloud-private-fip-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rwunderer","download_url":"https://codeload.github.com/rwunderer/hcloud-private-fip-controller/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwunderer%2Fhcloud-private-fip-controller/sbom","scorecard":{"id":791473,"data":{"date":"2025-08-11","repo":{"name":"github.com/rwunderer/hcloud-private-fip-controller","commit":"eb3ec2685989cdcc9ed5e30aeb9345ac3e2205d0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":10,"reason":"28 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/bumpversion.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/rwunderer/hcloud-private-fip-controller/bumpversion.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create-release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/rwunderer/hcloud-private-fip-controller/create-release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker-publish.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/rwunderer/hcloud-private-fip-controller/docker-publish.yml/main?enable=pin","Info:   1 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   2 out of   2 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":8,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/bumpversion.yml:20","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/create-release.yml:12","Info: jobLevel 'contents' permission set to 'read': .github/workflows/docker-publish.yml:21","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/docker-publish.yml:22","Warn: no topLevel permission defined: .github/workflows/bumpversion.yml:1","Warn: no topLevel permission defined: .github/workflows/create-release.yml:1","Warn: no topLevel permission defined: .github/workflows/docker-publish.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T07:39:54.782Z","repository_id":64304702,"created_at":"2025-08-23T07:39:54.782Z","updated_at":"2025-08-23T07:39:54.782Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["movable"],"created_at":"2026-01-16T20:46:39.941Z","updated_at":"2026-04-01T19:08:02.925Z","avatar_url":"https://github.com/rwunderer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub license](https://img.shields.io/github/license/rwunderer/hcloud-private-fip-controller.svg)](https://github.com/rwunderer/hcloud-private-fip-controller/blob/main/LICENSE)\n\n# hcloud-private-fip-controller\nsmall k8s controller to simulate a floating ip on hetzner cloud's private network.\n\nThe configuration of the ip on the node's interface is expected to be done by\nsome external means. The controller runs on each possible target node and waits\nfor the \"floating\" ip to be assigned locally. As soon as it detects the ip on\na local interface it configures a corresponding route via hcloud API.\n\nMy personal use case for this feature is [Talos' virtual IP](https://www.talos.dev/docs/v1.8/guides/vip/)\non the control-plane of my cluster.\n\n\n## Usage\n\n* Define a private network with a large IP range (eg. `10.0.0.0/8`) and a smaller subnet\nto place your nodes in (eg. `10.0.0.0/16`). Choose an ip outside the subnet but from\nwithin the network range as the \"floating\" ip (eg. `10.255.255.1`).\n\n* Configure some kind of vip handling for the ip (eg. Talos' virtual IP).\n\n* Configure and launch private-fip-controller on each node.\n\n## Configuration\n\nThe controller needs the following environment variables set:\n\n* `HOST_IP` - the IP address to use as *destination* for the route\n* `HCLOUD_TOKEN` - the [API token](https://docs.hetzner.cloud/#authentication) for Hetzner Cloud.\n* `HCLOUD_NETWORK` - name or ID of the hetzner cloud private network\n* `IP_ADDRESS` - the actual \"floating\" ip\n\nSee [deploy/daemonset.yaml](deploy/daemonset.yaml) for details.\n\nAlternatively a yaml configuration file can be mounted into the container. Then\nonly the environment variable `CONFIG_FILE` needs to be set to the full path of\nthe configuration file:\n\n```\nhcloudToken: ABCDD....\nhostIP: 1.2.3.4\nipAddress: 10.255.255.1\nnetworkName: MyNet\n```\n\n## Acknowledgements\n\nAs this is my first attempt at both go programming and a kubernetes controller.\nSo I copied lots of code from various places in order to try and follow best\npractices.\n\nAmong others:\n\n* [Alex Ellis' Everyday Go Book](https://openfaas.gumroad.com/l/everyday-golang)\n* [hcloud-fip-controller](https://github.com/cbeneke/hcloud-fip-controller)\n* [hcloud-cloud-controller-manager](https://github.com/hetznercloud/hcloud-cloud-controller-manager)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwunderer%2Fhcloud-private-fip-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frwunderer%2Fhcloud-private-fip-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwunderer%2Fhcloud-private-fip-controller/lists"}