{"id":19029854,"url":"https://github.com/ahmetb/kubectl-runproxy","last_synced_at":"2026-05-02T13:30:20.344Z","repository":{"id":140599249,"uuid":"217623707","full_name":"ahmetb/kubectl-runproxy","owner":"ahmetb","description":"🧪[experimental]☢️ a local k8s apiserver to make Cloud Run API work with kubectl (don't use this)","archived":false,"fork":false,"pushed_at":"2019-10-25T22:36:45.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-02T03:43:31.100Z","etag":null,"topics":["google-cloud-run"],"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/ahmetb.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}},"created_at":"2019-10-25T22:32:40.000Z","updated_at":"2020-05-09T15:37:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"daf9ecd0-6003-498e-81d9-0b9c359e108d","html_url":"https://github.com/ahmetb/kubectl-runproxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetb%2Fkubectl-runproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetb%2Fkubectl-runproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetb%2Fkubectl-runproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetb%2Fkubectl-runproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmetb","download_url":"https://codeload.github.com/ahmetb/kubectl-runproxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240079638,"owners_count":19744725,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["google-cloud-run"],"created_at":"2024-11-08T21:15:35.427Z","updated_at":"2026-05-02T13:30:20.294Z","avatar_url":"https://github.com/ahmetb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloud Run API kubectl compatibility fix\n\n**This is an experimental repository and is not meant to be used.**\n\nThis client-side tool patches the currently incomplete parts of the Cloud\nRun (fully hosted) API (that is `{region}-run.googleapis.com`) by running a\nproxy server locally.\n\n\nThis proxy will works by:\n\n- Kubernetes discovery API requests (/api, /apis etc) are proxied to a\n  Cloud Run on GKE cluster (hardcoded address) that offers them publicly.\n\n- other requests about managing these resources are forwarded to\n  us-central1-run.googleapis.com.\n\nTo run this proxy, simply compile and execute the Go program and copy the\nCA certificate into the kubeconfig file. Running the program starts a local\nkube-apiserver proxy at :6443 on HTTPS using a self-signed certificate (which\nyou need to trust in your kubeconfig).\n\nExample kubeconfig file to point kubectl to this local proxy server:\n\n```\napiVersion: v1\nkind: Config\ncurrent-context: gcp_cloudrun_us-central1\nclusters:\n-  name: gcp_cloudrun_us-central1\n   cluster:\n    certificate-authority-data: \"\" # PASTE FROM THE COMMAND OUTPUT\n    server: https://localhost:6443\ncontexts:\n- name: gcp_cloudrun_us-central1\n  context:\n    cluster: gcp_cloudrun_us-central1\n    namespace: ahmetb-samples-playground\n    user: gcloud-user\nusers:\n- name: gcloud-user\n  user:\n    auth-provider:\n      name: gcp\n      config:\n        cmd-args: config config-helper --format=json\n        cmd-path: gcloud\n        expiry-key: '{.credential.token_expiry}'\n        token-key: '{.credential.access_token}'\n```\n\n---\n\nThis is not an official Google project and is provided for demonstration\npurposes. See [LICENSE](./LICENSE) for licensing information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmetb%2Fkubectl-runproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmetb%2Fkubectl-runproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmetb%2Fkubectl-runproxy/lists"}