{"id":27155984,"url":"https://github.com/cloudsteak/component-operator","last_synced_at":"2025-04-08T19:57:29.622Z","repository":{"id":247592285,"uuid":"826294294","full_name":"cloudsteak/component-operator","owner":"cloudsteak","description":"Kubebuilder - Operator","archived":false,"fork":false,"pushed_at":"2024-07-10T13:27:19.000Z","size":23083,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-07-10T16:21:50.488Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudsteak.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":"2024-07-09T12:31:39.000Z","updated_at":"2024-07-10T13:27:22.000Z","dependencies_parsed_at":"2024-07-09T16:24:32.843Z","dependency_job_id":null,"html_url":"https://github.com/cloudsteak/component-operator","commit_stats":null,"previous_names":["cloudsteak/component-operator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudsteak%2Fcomponent-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudsteak%2Fcomponent-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudsteak%2Fcomponent-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudsteak%2Fcomponent-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudsteak","download_url":"https://codeload.github.com/cloudsteak/component-operator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247918923,"owners_count":21018044,"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":[],"created_at":"2025-04-08T19:57:28.418Z","updated_at":"2025-04-08T19:57:29.611Z","avatar_url":"https://github.com/cloudsteak.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# component-operator\nKubebuilder - Operator\n\n## Commands\n\n1. Create project\n\n```bash\nkubebuilder init --domain component.cloudsteak.com --owner \"CloudSteak\" --repo github.com/cloudsteak/component-operator.git --license 'none'\n```\n\n2. Create API\n\n```bash\nkubebuilder create api --kind NamespaceChecker --version v1alpha1 --group api\n```\n\n3. Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.\n\n```bash\nmake generate\n```\n\n4. Create manifests (CRD, RBAC and Controller)\n\n```bash\nmake manifests\n```\n\n5. Develop your code\n\n6. Install CRDs\n\n```bash\nmake install\n```\n\n7. Configure sample CRD\n\n```bash\nnano config/samples/api_v1alpha1_namespacechecker.yaml\n```\n\n```yaml\napiVersion: api.component.cloudsteak.com/v1alpha1\nkind: NamespaceChecker\nmetadata:\n  name: namespacechecker-sample\nspec:\n  namespaces:\n  - default\n  configMapNames:\n  - configmap-01\n  configMapsNamespace: default\n  secretNames:\n  - secret-1\n  - secret-2\n  secretsNamespace: default\n  deploymentNamespace: default\n\n```\n\n9. Create scaler\n\n```bash\nkubectl apply -f config/samples/api_v1alpha1_namespacechecker.yaml\n```\n\n10. Run the controller\n\n```bash\nmake run\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudsteak%2Fcomponent-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudsteak%2Fcomponent-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudsteak%2Fcomponent-operator/lists"}