{"id":18295966,"url":"https://github.com/petergrace/service-router-configurator-docker","last_synced_at":"2025-04-09T08:42:07.087Z","repository":{"id":145479151,"uuid":"113878246","full_name":"PeterGrace/service-router-configurator-docker","owner":"PeterGrace","description":"Docker setup for Mike Newswanger's excellent service-router-configurator","archived":false,"fork":false,"pushed_at":"2017-12-12T15:19:30.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T02:44:35.021Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/PeterGrace.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":"2017-12-11T15:51:27.000Z","updated_at":"2017-12-11T15:52:08.000Z","dependencies_parsed_at":"2023-05-21T00:30:22.402Z","dependency_job_id":null,"html_url":"https://github.com/PeterGrace/service-router-configurator-docker","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/PeterGrace%2Fservice-router-configurator-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterGrace%2Fservice-router-configurator-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterGrace%2Fservice-router-configurator-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterGrace%2Fservice-router-configurator-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeterGrace","download_url":"https://codeload.github.com/PeterGrace/service-router-configurator-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008388,"owners_count":21032553,"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":[],"created_at":"2024-11-05T14:38:58.006Z","updated_at":"2025-04-09T08:42:07.063Z","avatar_url":"https://github.com/PeterGrace.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"- This is going to require that kubectl and etcdctl can talk to kubernetes and etcd, so you need to start container net=host.\n- Before this works, one needs to make a basic service account for kubernetes to auth for kubectl.  To do this, you have to create a service account, copy the ca.crt from the service account and also the token (they're base64'd so you have to unencode the base64 when saving them) then pass them into the container via environment variables/volume mounts), then you must give that service account rights to edit the cluster:\n  - `kubectl create rolebinding svcrouter-binding --clusterrole=view --serviceaccount=default:username`\n\n\n1. `go get go.mikenewswanger.com/service-router-configurator`\n2. `go get github.com/coreos/etcd/etcdctl` (Might need to build static: `CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags \"-static\"' .`)\n3. `cp $GOHOME/bin/etcdctl $GOHOME/bin/service-router-configurator .`\n4. `docker build -t image.name .`\n5. `docker push image.name`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetergrace%2Fservice-router-configurator-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetergrace%2Fservice-router-configurator-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetergrace%2Fservice-router-configurator-docker/lists"}