{"id":21475119,"url":"https://github.com/snapp-incubator/quota-operator","last_synced_at":"2025-07-15T09:32:12.135Z","repository":{"id":38012018,"uuid":"448042813","full_name":"snapp-incubator/quota-operator","owner":"snapp-incubator","description":"Enforcing per team quota (sum of used resources across all their namespaces) and delegating the per namespace quota to users.","archived":false,"fork":false,"pushed_at":"2025-02-01T15:49:07.000Z","size":120,"stargazers_count":24,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-12T08:53:05.322Z","etag":null,"topics":["golang","k8s-operator","k8s-webhook","kubernetes","oss","policy","runtime","snappcloud"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/snapp-incubator.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-14T16:57:54.000Z","updated_at":"2025-01-03T21:55:08.000Z","dependencies_parsed_at":"2023-01-31T23:16:26.139Z","dependency_job_id":"0ec05062-0921-4083-b4d8-6a84c21c19dd","html_url":"https://github.com/snapp-incubator/quota-operator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/snapp-incubator/quota-operator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snapp-incubator%2Fquota-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snapp-incubator%2Fquota-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snapp-incubator%2Fquota-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snapp-incubator%2Fquota-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snapp-incubator","download_url":"https://codeload.github.com/snapp-incubator/quota-operator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snapp-incubator%2Fquota-operator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265425320,"owners_count":23762900,"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":["golang","k8s-operator","k8s-webhook","kubernetes","oss","policy","runtime","snappcloud"],"created_at":"2024-11-23T10:37:33.818Z","updated_at":"2025-07-15T09:32:11.817Z","avatar_url":"https://github.com/snapp-incubator.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quota Operator\n\nEnforcing per team quota (sum of used resources across all their namespaces) and delegating the per namespace quota to users.\n\n## Instructions\n\n### Development\n\n* `make generate` update the generated code for that resource type.\n* `make manifests` Generating CRD manifests.\n* `make test` Run tests.\n\n### Build\n\nExport your image name:\n\n```\nexport IMG=ghcr.io/your-repo-path/image-name:latest\n```\n\n* `make build` builds golang app locally.\n* `make docker-build` build docker image locally.\n* `make docker-push` push container image to registry.\n\n### Run, Deploy\n* `make run` run app locally\n* `make deploy` deploy to k8s.\n\n### Clean up\n\n* `make undeploy` delete resouces in k8s.\n\n\n## Metrics\n\n| Metric                                              | Notes\n|-----------------------------------------------------|------------------------------------\n| controller_runtime_active_workers | Number of currently used workers per controller\n| controller_runtime_max_concurrent_reconciles | Maximum number of concurrent reconciles per controller\n| controller_runtime_reconcile_errors_total | Total number of reconciliation errors per controller\n| controller_runtime_reconcile_time_seconds | Length of time per reconciliation per controller\n| controller_runtime_reconcile_total | Total number of reconciliations per controller\n| rest_client_request_latency_seconds | Request latency in seconds. Broken down by verb and URL.\n| rest_client_requests_total | Number of HTTP requests, partitioned by status code, method, and host.\n| workqueue_adds_total | Total number of adds handled by workqueue\n| workqueue_depth | Current depth of workqueue\n| workqueue_longest_running_processor_seconds | How many seconds has the longest running processor for workqueue been running.\n| workqueue_queue_duration_seconds | How long in seconds an item stays in workqueue before being requested\n| workqueue_retries_total | Total number of retries handled by workqueue\n| workqueue_unfinished_work_seconds | How many seconds of work has been done that is in progress and hasn't been observed by work_duration. Large values indicate stuck threads. One can deduce the number of stuck threads by observing the rate at which this increases.\n| workqueue_work_duration_seconds | How long in seconds processing an item from workqueue takes.\n\n\n## Security\n\n### Reporting security vulnerabilities\n\nIf you find a security vulnerability or any security related issues, please DO NOT file a public issue, instead send your report privately to cloud@snapp.cab. Security reports are greatly appreciated and we will publicly thank you for it.\n\n## License\n\nApache-2.0 License, see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnapp-incubator%2Fquota-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnapp-incubator%2Fquota-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnapp-incubator%2Fquota-operator/lists"}