{"id":15950237,"url":"https://github.com/omerap12/death-timer-controller","last_synced_at":"2025-04-04T07:22:17.545Z","repository":{"id":219425690,"uuid":"749016401","full_name":"omerap12/Death-Timer-Controller","owner":"omerap12","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-27T11:19:32.000Z","size":10393,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T18:30:20.674Z","etag":null,"topics":["go","golang","kubernetes-operator"],"latest_commit_sha":null,"homepage":"","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/omerap12.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":"2024-01-27T10:40:31.000Z","updated_at":"2024-03-30T15:59:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e45fcf1-89db-4ce3-86bc-f35028069728","html_url":"https://github.com/omerap12/Death-Timer-Controller","commit_stats":null,"previous_names":["omerap12/death-timer-contoller"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omerap12%2FDeath-Timer-Controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omerap12%2FDeath-Timer-Controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omerap12%2FDeath-Timer-Controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omerap12%2FDeath-Timer-Controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omerap12","download_url":"https://codeload.github.com/omerap12/Death-Timer-Controller/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247135983,"owners_count":20889568,"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":["go","golang","kubernetes-operator"],"created_at":"2024-10-07T12:58:47.171Z","updated_at":"2025-04-04T07:22:17.529Z","avatar_url":"https://github.com/omerap12.png","language":"Go","readme":"# Death Timer Controller\n\n**Description:**\n\nDeath Timer Controller is an operator created using Operator SDK with Golang to manage resources based on a configured CRD manifest. This controller tracks and deletes resources from the cluster when their specified time limit is reached. The supported resources currently include:\n\n1. Namespaces\n2. Deployments\n3. Pods\n\n## Controller Code:\n\nThe controller code can be found under \n```bash\n./controllers/deathtimer_controller.go\n```\nYou can view it directly here: [deathtimer_controller.go](https://github.com/omerap12/Death-Timer-Contoller/blob/main/controllers/deathtimer_controller.go)\n## How to Deploy:\n\n### Step 1: Create a Cluster\n\nCreate a Kubernetes cluster using a tool like kind:\n\n```bash\nkind create cluster\n```\n\n### Step 2: Configure Sample Configuration\nConfigure the sample configuration located at ./config/samples/api_v1alpha1_deathtimer.yaml according to your requirements.\n\n\n### Step 3: Generate Manifests\nRun the following command to generate manifests:\n```bash\nmake manifests\n```\n\n### Step 4: Deploy CRD Base\nDeploy the CRD base:\n```bash\nkubectl apply -f config/crd/bases/api.omer.aplatony_deathtimers.yaml\n```\n\n### Step 5: Deploy CRD\nDeploy the CRD:\n```bash\nkubectl apply -f config/samples/api_v1alpha1_deathtimer.yaml\n```\n\n### Step 6: Run the Controller\nRun the controller:\n```bash\nmake run\n```\n\nView the logs on the controller terminal for additional information.\nFeel free to customize the configuration and explore the controller's capabilities.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomerap12%2Fdeath-timer-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomerap12%2Fdeath-timer-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomerap12%2Fdeath-timer-controller/lists"}