{"id":21835767,"url":"https://github.com/vtex/cleaner-controller","last_synced_at":"2026-04-11T21:09:43.776Z","repository":{"id":65917283,"uuid":"575470389","full_name":"vtex/cleaner-controller","owner":"vtex","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-23T14:37:37.000Z","size":296,"stargazers_count":0,"open_issues_count":8,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-26T10:08:11.252Z","etag":null,"topics":["developer-experience","golang","k8s-operator-controller","vtex"],"latest_commit_sha":null,"homepage":"https://vtex.github.io/cleaner-controller/","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/vtex.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":"2022-12-07T15:30:40.000Z","updated_at":"2024-09-23T14:36:25.000Z","dependencies_parsed_at":"2023-04-26T13:33:10.758Z","dependency_job_id":"22bb3eb2-1ffe-4564-99a2-8f8ddb1ec452","html_url":"https://github.com/vtex/cleaner-controller","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fcleaner-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fcleaner-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fcleaner-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fcleaner-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vtex","download_url":"https://codeload.github.com/vtex/cleaner-controller/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244812763,"owners_count":20514521,"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":["developer-experience","golang","k8s-operator-controller","vtex"],"created_at":"2024-11-27T20:24:29.935Z","updated_at":"2025-10-30T02:22:05.927Z","avatar_url":"https://github.com/vtex.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://drone-robots.vtex.com/api/badges/vtex/cleaner-controller/status.svg?ref=refs/heads/main)](https://drone-robots.vtex.com/vtex/cleaner-controller) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=vtex_cleaner-controller\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=vtex_cleaner-controller)\n\n# Cleaner Controller\n\n## Development Cheat Sheet\n\nIntroductory reading:\n- https://sdk.operatorframework.io/docs/building-operators/golang/tutorial/\n- https://book.kubebuilder.io/introduction.html\n\n### CRD Generation\n\n- Edit the [go structs](./api/v1alpha1/conditionalttl_types.go)\n- Generate code and manifests:\n\t```bash\n\tmake generate manifests\n\t```\n- (Optional) Install CRDs\n\t```bash\n\tmake install\n\t```\n\n### Reconcile logic\n\n- Edit the [controller code](./controllers/conditionalttl_controller.go)\n- Run tests\n\t```bash\n\tmake test\n\t```\n\t- Check code coverage\n\t```bash\n\tgo tool cover -html=cover.out\n\t```\n- Run controller locally (uses local k8s context authorization)\n\t```bash\n\tmake run\n\t```\n\t\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtex%2Fcleaner-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvtex%2Fcleaner-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtex%2Fcleaner-controller/lists"}