{"id":16879962,"url":"https://github.com/aledbf/watch-kube-resource","last_synced_at":"2026-05-17T12:11:30.531Z","repository":{"id":149110473,"uuid":"70807842","full_name":"aledbf/watch-kube-resource","owner":"aledbf","description":null,"archived":false,"fork":false,"pushed_at":"2016-10-13T14:21:12.000Z","size":4113,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T02:39:38.715Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/aledbf.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":"2016-10-13T13:12:15.000Z","updated_at":"2017-01-08T15:19:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"3ed53c7f-b61b-4f60-b77e-688a6b7d4d32","html_url":"https://github.com/aledbf/watch-kube-resource","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aledbf/watch-kube-resource","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aledbf%2Fwatch-kube-resource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aledbf%2Fwatch-kube-resource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aledbf%2Fwatch-kube-resource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aledbf%2Fwatch-kube-resource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aledbf","download_url":"https://codeload.github.com/aledbf/watch-kube-resource/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aledbf%2Fwatch-kube-resource/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33137831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-10-13T15:56:43.586Z","updated_at":"2026-05-17T12:11:30.499Z","avatar_url":"https://github.com/aledbf.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# watch-resource\n\n**watch-resource** is a simple binary to trigger a reload when a file inside a pod changes or a Kubernetes resource (ConfigMap or Secret) is updated.\n\n```\n$ ./watch-resource-cmdrunner --help\nUsage of :\n      --command=\"\": Path to the script or command to execute inside the pod\n      --configmap=\"\": Name of the configmap to watch. Takes the form namespace/name\n      --container=\"\": Name of hte container inside the pod. An empty string uses the first container in the pod\n      --file=\"\": Path to the file to watch\n      --pod=\"\": Name of the pod where the command will be executed. Takes the form namespace/name.\n\t\tNo value means \"this\" pod (requires `POD_NAME` and `POD_NAMESPACE` using downward API)\n      --secret=\"\": Name of the secret to watch. Takes the form namespace/name\n```\n\nThe flags `--file`, `--configmap` and `--secret` are mutually exclusive\".\n\n\nExample:\n```\n        /watch-resource-cmdrunner \\\n        --command=curl http://localhost:10254/reload-template \\\n        --file=/etc/nginx/template/nginx.tmpl \\\n        --container=nginx-ingress-lb\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faledbf%2Fwatch-kube-resource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faledbf%2Fwatch-kube-resource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faledbf%2Fwatch-kube-resource/lists"}