{"id":18929658,"url":"https://github.com/thecodingmachine/deeployer-cleanup-action","last_synced_at":"2026-02-13T09:59:19.590Z","repository":{"id":65155743,"uuid":"267416577","full_name":"thecodingmachine/deeployer-cleanup-action","owner":"thecodingmachine","description":"A Github action to delete a Kubernetes namespace","archived":false,"fork":false,"pushed_at":"2020-05-27T20:58:10.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-20T06:24:43.376Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/thecodingmachine.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}},"created_at":"2020-05-27T20:10:44.000Z","updated_at":"2020-05-27T20:58:12.000Z","dependencies_parsed_at":"2023-01-05T13:16:24.406Z","dependency_job_id":null,"html_url":"https://github.com/thecodingmachine/deeployer-cleanup-action","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"304cfa202a30da30a505b5f31560603fce933de7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thecodingmachine/deeployer-cleanup-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fdeeployer-cleanup-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fdeeployer-cleanup-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fdeeployer-cleanup-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fdeeployer-cleanup-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecodingmachine","download_url":"https://codeload.github.com/thecodingmachine/deeployer-cleanup-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Fdeeployer-cleanup-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29400974,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-11-08T11:34:13.587Z","updated_at":"2026-02-13T09:59:19.533Z","avatar_url":"https://github.com/thecodingmachine.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deeployer cleanup action\n\nThis Github action can be used to delete a Kubernetes action.\n\nIt works similarly to the [thecodingmachine/deeployer](https://github.com/thecodingmachine/deeployer/#usage-in-github-actions) action \nexcept it will delete a whole Kubernetes namespace instead of deploying an application.\n\n```deploy_workflow.yaml\nname: Clean Kubernetes namespace\n\non:\n  - delete\n\njobs:\n  clean:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Delete namespace\n        uses: thecodingmachine/deeployer@master\n        env:\n          KUBE_CONFIG_FILE: ${{ secrets.KUBE_CONFIG_FILE }}\n        with:\n          namespace: target-namespace\n```\n\nYou will need to put the content of your Kubernetes configuration file in the `KUBE_CONFIG_FILE` secret on Github.\n\n### Cleanup in a Google cloud Kubernetes cluster\n\nIf you are connecting to a Google Cloud cluster, instead of passing a `KUBE_CONFIG_FILE`, you will need to pass\nthis set of environment variables:\n\n- `GCLOUD_SERVICE_KEY`\n- `GCLOUD_PROJECT`\n- `GCLOUD_ZONE`\n- `GKE_CLUSTER`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Fdeeployer-cleanup-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodingmachine%2Fdeeployer-cleanup-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Fdeeployer-cleanup-action/lists"}