{"id":19268635,"url":"https://github.com/moolen/187","last_synced_at":"2025-06-22T00:42:07.739Z","repository":{"id":146316720,"uuid":"193728184","full_name":"moolen/187","owner":"moolen","description":"It's about coming up and staying on top","archived":false,"fork":false,"pushed_at":"2019-08-28T12:01:29.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-14T19:12:54.700Z","etag":null,"topics":[],"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/moolen.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":"2019-06-25T14:51:16.000Z","updated_at":"2024-06-19T11:09:16.182Z","dependencies_parsed_at":"2023-05-18T09:32:04.736Z","dependency_job_id":null,"html_url":"https://github.com/moolen/187","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/moolen/187","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moolen%2F187","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moolen%2F187/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moolen%2F187/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moolen%2F187/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moolen","download_url":"https://codeload.github.com/moolen/187/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moolen%2F187/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261217473,"owners_count":23126259,"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-09T20:16:56.454Z","updated_at":"2025-06-22T00:42:02.701Z","avatar_url":"https://github.com/moolen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 187: exec into pod = death sentence\nThis is a admission webhook that kills a pod after spawning a shell using `kubectl exec`.\n\nWhy? Developers want to debug but we should reconcile the state of the pod.\n\nSee [./deploy](./deploy) for deployment manifests. TLS is mandatory for webhooks. The example uses `cert-manager` to generate and inject the TLS credentials into the webhook and the pod. The image is available via `moolen/187:latest`.\n\n| env | default | description |\n|--|--|--|\n| `GRACE_PERIOD` | 15m | specify a grace period before killing the pod |\n| `LOG_LEVEL` | info | set the log level|\n| `TLS_CERT` | `` | path to the server certificate file |\n| `TLS_KEY` | `` | path to the private key |\n| `LISTEN` | `:8000` | port/address to listen on. It's always TLS |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoolen%2F187","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoolen%2F187","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoolen%2F187/lists"}