payload: {"action":"created","issue":{"url":"https://api.github.com/repos/jetstack/cert-manager/issues/1514","repository_url":"https://api.github.com/repos/jetstack/cert-manager","labels_url":"https://api.github.com/repos/jetstack/cert-manager/issues/1514/labels{/name}","comments_url":"https://api.github.com/repos/jetstack/cert-manager/issues/1514/comments","events_url":"https://api.github.com/repos/jetstack/cert-manager/issues/1514/events","html_url":"https://github.com/jetstack/cert-manager/issues/1514","id":427837640,"node_id":"MDU6SXNzdWU0Mjc4Mzc2NDA=","number":1514,"title":"cert-manager breaks namespace deletions","user":{"login":"dontreboot","id":1145737,"node_id":"MDQ6VXNlcjExNDU3Mzc=","avatar_url":"https://avatars1.githubusercontent.com/u/1145737?v=4","gravatar_id":"","url":"https://api.github.com/users/dontreboot","html_url":"https://github.com/dontreboot","followers_url":"https://api.github.com/users/dontreboot/followers","following_url":"https://api.github.com/users/dontreboot/following{/other_user}","gists_url":"https://api.github.com/users/dontreboot/gists{/gist_id}","starred_url":"https://api.github.com/users/dontreboot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dontreboot/subscriptions","organizations_url":"https://api.github.com/users/dontreboot/orgs","repos_url":"https://api.github.com/users/dontreboot/repos","events_url":"https://api.github.com/users/dontreboot/events{/privacy}","received_events_url":"https://api.github.com/users/dontreboot/received_events","type":"User","site_admin":false},"labels":[{"id":728658048,"node_id":"MDU6TGFiZWw3Mjg2NTgwNDg=","url":"https://api.github.com/repos/jetstack/cert-manager/labels/kind/bug","name":"kind/bug","color":"e11d21","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2019-04-01T18:00:46Z","updated_at":"2019-06-19T15:10:43Z","closed_at":"2019-04-03T10:21:28Z","author_association":"CONTRIBUTOR","body":"\r\n**Describe the bug**:\r\nWith installation of cert-manager, deletion of other namespace stuck in terminating state.\r\n\r\n**Expected behaviour**:\r\nnamespace deletion should not be impacted by installation of cert-manager.\r\n\r\n**Steps to reproduce the bug**:\r\n1. install cert-manager with the manifest file\r\n[cert-manager-github.txt](https://github.com/jetstack/cert-manager/files/3030690/cert-manager-github.txt)\r\n```\r\nkubectl apply -f cert-manager-github.txt\r\n```\r\n2. install a test namespace:\r\n```\r\ncat <<EOF | kubectl apply -f -\r\napiVersion: v1\r\nkind: Namespace\r\nmetadata:\r\n  name: test-foo\r\n```\r\n3. delete the test namespace and it will be stuck in terminating state\r\n`kubectl delete ns test-foo`\r\n4. delete the cert-manager installation\r\n`kubectl delete -f cert-manager-github.txt`\r\n5. the test namespace would get cleared up.\r\n\r\n**Anything else we need to know?**:\r\nWith installation of cert-manager, `kubectl api-resources` is no longer able to list all APIs:\r\n```\r\n$ kubectl api-resources\r\nerror: unable to retrieve the complete list of server APIs: admission.certmanager.k8s.io/v1beta1: the server is currently unable to handle the request\r\n```\r\n\r\nThis issue is similar to https://github.com/jetstack/cert-manager/issues/1355 but the cause is not improper deletion of cert-manager installation.\r\n\r\n**Environment details:**:\r\n- Kubernetes version (e.g. v1.10.2): v1.13.0\r\n- cert-manager version (e.g. v0.4.0): v.6.0\r\n- Install method (e.g. helm or static manifests): static manifests\r\n\r\n/kind bug\r\n"},"comment":{"url":"https://api.github.com/repos/jetstack/cert-manager/issues/comments/503602649","html_url":"https://github.com/jetstack/cert-manager/issues/1514#issuecomment-503602649","issue_url":"https://api.github.com/repos/jetstack/cert-manager/issues/1514","id":503602649,"node_id":"MDEyOklzc3VlQ29tbWVudDUwMzYwMjY0OQ==","user":{"login":"diegodurante","id":2998604,"node_id":"MDQ6VXNlcjI5OTg2MDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2998604?v=4","gravatar_id":"","url":"https://api.github.com/users/diegodurante","html_url":"https://github.com/diegodurante","followers_url":"https://api.github.com/users/diegodurante/followers","following_url":"https://api.github.com/users/diegodurante/following{/other_user}","gists_url":"https://api.github.com/users/diegodurante/gists{/gist_id}","starred_url":"https://api.github.com/users/diegodurante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegodurante/subscriptions","organizations_url":"https://api.github.com/users/diegodurante/orgs","repos_url":"https://api.github.com/users/diegodurante/repos","events_url":"https://api.github.com/users/diegodurante/events{/privacy}","received_events_url":"https://api.github.com/users/diegodurante/received_events","type":"User","site_admin":false},"created_at":"2019-06-19T15:10:43Z","updated_at":"2019-06-19T15:10:43Z","author_association":"NONE","body":"> It'd be great to have an \"uninstalling cert-manager\" guide as part of our docs in future, as I think this would help with issues like this 😄\r\n\r\n@munnerz waiting for it! 👍 \r\n\r\nIt took me a long time googling for it until I found your comment:\r\n\r\n> The TL;DR, is that you should uninstall cert-manager using kubectl delete -f cert-manager.yaml (where cert-manager.yaml is the file that you originally ran kubectl apply -f with).\r\n\r\nand so I understood that what I need was this simple command:\r\n````\r\nkubectl delete -f https://github.com/jetstack/cert-manager/releases/download/v0.8.1/cert-manager.yaml\r\n````\r\n\r\n😉"}}
other: {"actor":{"display_login":"diegodurante"}}