{"id":15870110,"url":"https://github.com/michaelbeaumont/tailway","last_synced_at":"2026-05-06T08:31:54.604Z","repository":{"id":183827012,"uuid":"668909164","full_name":"michaelbeaumont/tailway","owner":"michaelbeaumont","description":"Gateway API on tailscale","archived":false,"fork":false,"pushed_at":"2023-07-25T22:29:49.000Z","size":28,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-06T13:03:43.014Z","etag":null,"topics":["gateway-api","kubernetes","tailscale"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"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/michaelbeaumont.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-20T22:17:37.000Z","updated_at":"2025-04-10T22:20:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ced8381-5096-4998-a2ed-156164f5a607","html_url":"https://github.com/michaelbeaumont/tailway","commit_stats":null,"previous_names":["michaelbeaumont/tailway"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/michaelbeaumont/tailway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelbeaumont%2Ftailway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelbeaumont%2Ftailway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelbeaumont%2Ftailway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelbeaumont%2Ftailway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelbeaumont","download_url":"https://codeload.github.com/michaelbeaumont/tailway/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelbeaumont%2Ftailway/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32684613,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["gateway-api","kubernetes","tailscale"],"created_at":"2024-10-06T00:04:09.903Z","updated_at":"2026-05-06T08:31:54.588Z","avatar_url":"https://github.com/michaelbeaumont.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tailway\n\nTailway is an implementation of a very limited subset of Gateway API using\nTailscale.\n\nThe idea is to improve on the current k8s-operator by handling TLS termination and\ncertificate provisioning.\n\nIt's mostly a weekend experiment. It can never be a compliant Gateway API\nimplementation without using some other proxy. In fact, the upstream `LoadBalancer`\ncontroller, once it supports TLS and address tracking, is probably the better\noption.\n\n## Installation and usage\n\nDeploy the controller:\n\n```\n$ kubectl apply -f manifests/controller.yaml\n```\n\nand create a `GatewayClass` pointing to Tailscale oauth credentials:\n\n```\n# manifests/config.yaml\n---\napiVersion: v1\nkind: Secret\nmetadata:\n  name: my-tailnet-oauth\n  namespace: tailway-system\nstringData:\n  client_id: # oauth client_id\n  client_secret: # oauth client_secret\n---\napiVersion: gateway.networking.k8s.io/v1beta1\nkind: GatewayClass\nmetadata:\n  name: my-tailnet\n  annotations:\n    # tags the managed machines should have\n    tailway.michaelbeaumont.github.io/tags: tag:k8s\nspec:\n  controllerName: \"tailway.michaelbeaumont.github.io/controller\"\n  parametersRef:\n    kind: Secret\n    group: \"\"\n    name: my-tailnet-oauth\n    namespace: tailway-system\n```\n\nthen launch a `Gateway`:\n\n```\n---\napiVersion: gateway.networking.k8s.io/v1beta1\nkind: Gateway\nmetadata:\n  name: nginx\nspec:\n  gatewayClassName: my-tailnet\n  listeners:\n    - port: 443\n      name: https\n      protocol: TLS\n      tls:\n        # this is required by the Gateway API webhook but\n        # isn't used. Tailscale provisions certs.\n        certificateRefs: [name: dummy]\n  # you can specify the name of your machine\n  # otherwise a default of \u003cname\u003e-\u003cnamespace\u003e is used\n  addresses:\n    - type: Hostname\n      value: nginx\n---\napiVersion: gateway.networking.k8s.io/v1alpha2\nkind: TCPRoute\nmetadata:\n  name: nginx\nspec:\n  # only one rule with one backend is supported\n  rules:\n    - backendRefs:\n        - name: nginx\n          port: 80\n  parentRefs:\n    - name: my-tailnet\n      kind: nginx\n```\n\nThe various addresses of the created machine are tracked in the `Gateway` status:\n\n```\n  status:\n    addresses:\n    - type: Hostname\n      value: nginx.my-tailnet.ts.net\n    - type: IPAddress\n      value: 100.124.73.39\n    - type: IPAddress\n      value: fd7a:225c:a1f0:ab13:4843:cd96:627c:4927\n```\n\n## WIP\n\n- [ ] handle conflicts (existing machines, listener conflicts, etc)\n- [ ] handle deletion of gateways\n- [ ] Dockerfile: why doesn't distroless work?\n- [ ] limit RBAC permissions\n- [ ] webhook\n- [ ] more status/condition setting\n- [ ] parametersRef\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelbeaumont%2Ftailway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelbeaumont%2Ftailway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelbeaumont%2Ftailway/lists"}