{"id":16883398,"url":"https://github.com/hardillb/k8s-add-annotations","last_synced_at":"2026-05-07T20:08:01.606Z","repository":{"id":68666256,"uuid":"576445430","full_name":"hardillb/k8s-add-annotations","owner":"hardillb","description":"A Kubernetes Mutating Webhook","archived":false,"fork":false,"pushed_at":"2024-12-12T22:50:13.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-25T06:23:37.960Z","etag":null,"topics":["kubernetes","webhook"],"latest_commit_sha":null,"homepage":"https://www.hardill.me.uk/wordpress/2022/12/09/kubernetes-mutating-web-hooks-to-configure-ingress/","language":"JavaScript","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/hardillb.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":"2022-12-09T22:10:20.000Z","updated_at":"2024-12-12T22:50:17.000Z","dependencies_parsed_at":"2025-01-25T06:32:20.783Z","dependency_job_id":null,"html_url":"https://github.com/hardillb/k8s-add-annotations","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/hardillb%2Fk8s-add-annotations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fk8s-add-annotations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fk8s-add-annotations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fk8s-add-annotations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hardillb","download_url":"https://codeload.github.com/hardillb/k8s-add-annotations/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244554051,"owners_count":20471172,"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":["kubernetes","webhook"],"created_at":"2024-10-13T16:11:34.124Z","updated_at":"2026-05-07T20:07:56.572Z","avatar_url":"https://github.com/hardillb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# K8s Ingress Annotation Webhook\n\nA Kubernetes Mutating Webhook that adds annotations to Ingress objects in a given namespace.\n\n## BUILD\n\n```\n./crete-cert.sh\ndocker build . -t containers.hardill.me.uk/testing/web-hook:latest\ndocker push\n```\n\nYou will also need to replace the `caBundle` value in the template/k8s-webhook.yml file with the output of \n\n```\nbase64 -w 0 ca/ca.crt\n```\n\nThis will ensure the newly created CA is trusted by the kubernetes runtime.\n\n## Deploy\n\n```\nkubectl apply -f template/k8s-webhook.yml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardillb%2Fk8s-add-annotations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhardillb%2Fk8s-add-annotations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardillb%2Fk8s-add-annotations/lists"}