{"id":20797699,"url":"https://github.com/littlefox94/router-operator","last_synced_at":"2026-04-24T20:34:26.535Z","repository":{"id":213444891,"uuid":"734139736","full_name":"LittleFox94/router-operator","owner":"LittleFox94","description":"Routers in Kubernetes - mirror of my Gitlab","archived":false,"fork":false,"pushed_at":"2023-12-21T01:19:52.000Z","size":51,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-18T19:49:10.594Z","etag":null,"topics":["bgp","controller","kubebuilder","kubernetes","routing"],"latest_commit_sha":null,"homepage":"https://praios.lf-net.org/littlefox/router-operator","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LittleFox94.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-21T01:04:39.000Z","updated_at":"2024-06-05T08:30:07.000Z","dependencies_parsed_at":"2023-12-30T00:21:19.487Z","dependency_job_id":"719ab0ce-ad8d-47be-942c-dfbdda7f46bd","html_url":"https://github.com/LittleFox94/router-operator","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"62c0c3d03089464adeac8f23d8374363abaff7d1"},"previous_names":["littlefox94/router-operator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LittleFox94/router-operator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LittleFox94%2Frouter-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LittleFox94%2Frouter-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LittleFox94%2Frouter-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LittleFox94%2Frouter-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LittleFox94","download_url":"https://codeload.github.com/LittleFox94/router-operator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LittleFox94%2Frouter-operator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32239908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"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":["bgp","controller","kubebuilder","kubernetes","routing"],"created_at":"2024-11-17T16:34:58.190Z","updated_at":"2026-04-24T20:34:26.509Z","avatar_url":"https://github.com/LittleFox94.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# router-operator\n\nRouters in your Kubernetes Cluster? It's more likely than you think!\n\n## Description\n\nThis adds some CRDs and controllers to run (BGP) routers in your Kubernetes\ncluster, ready to talk to the outside world or just something private (like\ndn42, check that out!).\n\nFuture integration with MetalLB is planned.\n\nThis is heavily work-in-progress and so far was only tested running locally\nwith a kubeconfig that has `cluster-admin`, so expect quite a lof of RBAC\nissues (since I worked on this with some very long interruptions and didn't\nalways remember where I stopped the last time..)\n\n## Getting Started\nYou’ll need a Kubernetes cluster to run against. You can use [KIND](https://sigs.k8s.io/kind) to get a local cluster for testing, or run against a remote cluster.\n**Note:** Your controller will automatically use the current context in your kubeconfig file (i.e. whatever cluster `kubectl cluster-info` shows).\n\n### Running on the cluster\n1. Install Instances of Custom Resources:\n\n```sh\nkubectl apply -f config/samples/\n```\n\n2. Build and push your image to the location specified by `IMG`:\n\n```sh\nmake docker-build docker-push IMG=\u003csome-registry\u003e/router-operator:tag\n```\n\n3. Deploy the controller to the cluster with the image specified by `IMG`:\n\n```sh\nmake deploy IMG=\u003csome-registry\u003e/router-operator:tag\n```\n\n### Uninstall CRDs\nTo delete the CRDs from the cluster:\n\n```sh\nmake uninstall\n```\n\n### Undeploy controller\nUnDeploy the controller from the cluster:\n\n```sh\nmake undeploy\n```\n\n## Contributing\n// TODO(user): Add detailed information on how you would like others to contribute to this project\n\n### How it works\nThis project aims to follow the Kubernetes [Operator pattern](https://kubernetes.io/docs/concepts/extend-kubernetes/operator/).\n\nIt uses [Controllers](https://kubernetes.io/docs/concepts/architecture/controller/),\nwhich provide a reconcile function responsible for synchronizing resources until the desired state is reached on the cluster.\n\n### Test It Out\n1. Install the CRDs into the cluster:\n\n```sh\nmake install\n```\n\n2. Run your controller (this will run in the foreground, so switch to a new terminal if you want to leave it running):\n\n```sh\nmake run\n```\n\n**NOTE:** You can also run this in one step by running: `make install run`\n\n### Modifying the API definitions\nIf you are editing the API definitions, generate the manifests such as CRs or CRDs using:\n\n```sh\nmake manifests\n```\n\n**NOTE:** Run `make --help` for more information on all potential `make` targets\n\nMore information can be found via the [Kubebuilder Documentation](https://book.kubebuilder.io/introduction.html)\n\n## License\n\nCopyright 2023.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flittlefox94%2Frouter-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flittlefox94%2Frouter-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flittlefox94%2Frouter-operator/lists"}