{"id":26194095,"url":"https://github.com/fl64/patcher-mwc","last_synced_at":"2025-07-23T18:03:53.676Z","repository":{"id":275409555,"uuid":"925301925","full_name":"fl64/patcher-mwc","owner":"fl64","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-03T05:52:22.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-09T14:05:10.521Z","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/fl64.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,"zenodo":null}},"created_at":"2025-01-31T16:09:36.000Z","updated_at":"2025-03-03T05:52:25.000Z","dependencies_parsed_at":"2025-07-09T14:04:13.341Z","dependency_job_id":null,"html_url":"https://github.com/fl64/patcher-mwc","commit_stats":null,"previous_names":["fl64/patcher-mwc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fl64/patcher-mwc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fl64%2Fpatcher-mwc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fl64%2Fpatcher-mwc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fl64%2Fpatcher-mwc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fl64%2Fpatcher-mwc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fl64","download_url":"https://codeload.github.com/fl64/patcher-mwc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fl64%2Fpatcher-mwc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266726589,"owners_count":23974923,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-03-12T01:55:00.580Z","updated_at":"2025-07-23T18:03:53.657Z","avatar_url":"https://github.com/fl64.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Patcher Mutation Webhook Controller\n\nThis repository contains a simple Kubernetes Admission Controller written in Go. The purpose of this code is strictly for testing and debugging purposes. It is not intended for production use.\n\n## Overview\n\nThe admission controller listens for incoming admission requests and applies mutations to Kubernetes resources based on a provided configuration file. The configuration file specifies which resources should be mutated and the patches to be applied.\n\n## Features\n\n- Admission Review Handling: The controller handles Kubernetes AdmissionReview requests and responds with appropriate mutations.\n\n- YAML Configuration: Mutations are defined in a YAML configuration file, allowing for easy customization.\n\n- TLS Support: The server runs with TLS encryption, requiring a certificate and private key.\n\n- Health Check: Includes a /healthz endpoint for basic health checks.\n\n## Configuration\n\nThe configuration file (config.yaml) specifies the resources to be mutated and the patches to apply. Example configuration:\n\n```yaml\nmutations:\n\n- resource:\n  group: \"apps\"\n  version: \"v1\"\n  kind: \"Deployment\"\n  patches:\n  - op: \"add\"\n    path: \"/metadata/labels/test\"\n    value: \"true\"\n```\n\n## Disclaimer\n\nThis code is provided as-is and is not intended for production use. It is meant for testing and debugging purposes only. Use at your own risk.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffl64%2Fpatcher-mwc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffl64%2Fpatcher-mwc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffl64%2Fpatcher-mwc/lists"}