{"id":30047508,"url":"https://github.com/tmax-cloud/workflow-mutating-webhook","last_synced_at":"2025-08-07T09:55:51.582Z","repository":{"id":54522233,"uuid":"311206322","full_name":"tmax-cloud/workflow-mutating-webhook","owner":"tmax-cloud","description":"mutating webhook for workflow","archived":false,"fork":false,"pushed_at":"2021-06-30T11:41:10.000Z","size":212,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-19T10:10:10.890Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmax-cloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":"audit/auditController.go","citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-09T02:48:40.000Z","updated_at":"2021-08-28T00:37:03.000Z","dependencies_parsed_at":"2022-08-13T18:31:15.519Z","dependency_job_id":null,"html_url":"https://github.com/tmax-cloud/workflow-mutating-webhook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tmax-cloud/workflow-mutating-webhook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Fworkflow-mutating-webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Fworkflow-mutating-webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Fworkflow-mutating-webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Fworkflow-mutating-webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmax-cloud","download_url":"https://codeload.github.com/tmax-cloud/workflow-mutating-webhook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Fworkflow-mutating-webhook/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269236777,"owners_count":24383242,"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-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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-08-07T09:55:47.576Z","updated_at":"2025-08-07T09:55:51.563Z","avatar_url":"https://github.com/tmax-cloud.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# workflow-mutating-webhook\nargo-workflow 리소스에 적절한 ServiceAccount를 맵핑하기 위한 웹훅\n  - workflow / workflowtemplate 생성을 감지하다가, 생성요청이 오면 webhook하여 serviceaccount(sa) 항목이 있는지 확인\n    - workflow의 경우, workflowtemplateRef 항목에 값이 들어있으면 통과\n  - ref도 없고, sa도 없을 경우, workflow / workflowtemplate 생성 요청이 온 namespace의 sa 중 default-editor 가 있는지 확인\n  - default-editor가 없으면 생성 및 rbac 적용\n  - default-ediotr를 sa 항목에 적용\n    - 이때 templates 의 각 항목중에 sa가 없는 항목이 있을 경우, 비어있는 해당 항목에만 sa 적용\n  - workflow / workflowtemplate가 생성됨\n\n# dependency\nargo v2.12.11\ncert-manager\nissuer(cert-manager 동작을 위해)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmax-cloud%2Fworkflow-mutating-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmax-cloud%2Fworkflow-mutating-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmax-cloud%2Fworkflow-mutating-webhook/lists"}