{"action":"closed","issue":{"url":"https://api.github.com/repos/Kong/kubernetes-ingress-controller/issues/58","repository_url":"https://api.github.com/repos/Kong/kubernetes-ingress-controller","labels_url":"https://api.github.com/repos/Kong/kubernetes-ingress-controller/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/Kong/kubernetes-ingress-controller/issues/58/comments","events_url":"https://api.github.com/repos/Kong/kubernetes-ingress-controller/issues/58/events","html_url":"https://github.com/Kong/kubernetes-ingress-controller/issues/58","id":327001027,"node_id":"MDU6SXNzdWUzMjcwMDEwMjc=","number":58,"title":"Deleting the kong CRDs (KongConsumer, KongCredentials) does not update the kong proxy","user":{"login":"devdavidkarlsson","id":2795016,"node_id":"MDQ6VXNlcjI3OTUwMTY=","avatar_url":"https://avatars1.githubusercontent.com/u/2795016?v=4","gravatar_id":"","url":"https://api.github.com/users/devdavidkarlsson","html_url":"https://github.com/devdavidkarlsson","followers_url":"https://api.github.com/users/devdavidkarlsson/followers","following_url":"https://api.github.com/users/devdavidkarlsson/following{/other_user}","gists_url":"https://api.github.com/users/devdavidkarlsson/gists{/gist_id}","starred_url":"https://api.github.com/users/devdavidkarlsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devdavidkarlsson/subscriptions","organizations_url":"https://api.github.com/users/devdavidkarlsson/orgs","repos_url":"https://api.github.com/users/devdavidkarlsson/repos","events_url":"https://api.github.com/users/devdavidkarlsson/events{/privacy}","received_events_url":"https://api.github.com/users/devdavidkarlsson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-28T11:54:42Z","updated_at":"2018-08-07T15:22:14Z","closed_at":"2018-08-07T15:22:14Z","author_association":"CONTRIBUTOR","body":"**BUG REPORT**\r\n\r\n**Kong Ingress controller version**:\r\n0.0.4\r\n\r\n**Kubernetes version** (use `kubectl version`):\r\n\r\n```\r\nClient Version: version.Info{Major:\"1\", Minor:\"9\", GitVersion:\"v1.9.0\", GitCommit:\"925c127ec6b946659ad0fd596fa959be43f0cc05\", GitTreeState:\"clean\", BuildDate:\"2017-12-16T03:15:38Z\", GoVersion:\"go1.9.2\", Compiler:\"gc\", Platform:\"darwin/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"10\", GitVersion:\"v1.10.0\", GitCommit:\"fc32d2f3698e36b93322a3465f63a14e9f0eaead\", GitTreeState:\"clean\", BuildDate:\"2018-03-26T16:44:10Z\", GoVersion:\"go1.9.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n```\r\n\r\n**Environment**:\r\n\r\n- **Cloud provider or hardware configuration**: minikube version: v0.26.1\r\n- **OS** (e.g. from /etc/os-release):\r\n- **Kernel** (e.g. `uname -a`): OSX 10.12.6\r\n- **Install tools**: helm\r\n\r\n\r\n**What happened**:\r\n\r\nDeleting the kong CRDs (KongConsumer, KongCredentials) does not update the kong proxy. \r\n\r\nAfter deleting the ingress resources: the routes and services disappear as expected.\r\nMoving on to delete the CRDs but the consumer and consumer/x/jwt still reports the old data.\r\n\r\n\r\n```\r\n\t## Consumers:\r\n\tcurl ${KONG_ADMIN_IP}:${KONG_ADMIN_PORT}/consumers/ |jq .\r\n\t## Consumer anonymous jwt:\r\n\tcurl ${KONG_ADMIN_IP}:${KONG_ADMIN_PORT}/consumers/anonymous/jwt |jq .\r\n```\r\n\r\n*RESULTS:*\r\n\r\n```\r\n## Consumers:\r\n{\r\n  \"total\": 1,\r\n  \"data\": [\r\n    {\r\n      \"created_at\": 1527503976000,\r\n      \"username\": \"anonymous\",\r\n      \"id\": \"6a24ed65-6263-11e8-8eb0-0800274b9d73\"\r\n    }\r\n  ]\r\n}\r\n## Consumer anonymous jwt:\r\n{\r\n  \"total\": 1,\r\n  \"data\": [\r\n    {\r\n      \"rsa_public_key\": \"-----BEGIN PUBLIC KEY-----\\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnfktZb7T7zeOTeC482AMkBpqAhusGA18xQtWZ2FuWJaHVpHbRi+NklmUgMR5pblCunNFN3h3ZWOrXSO/onI2N+Dkq+ztB+HB4T9IdxF8SWIpqP9IuapvwPGW+w/xJ+SECRETSTUFFmVXZ+7PQnOi9x0Fd4Qjw83CMPMMTWgoVhOpouCUg8rfX5Wrxni/89xvILDA1LMoolab3wjofo7OMGzlkpAfTSFSZqu4vjizgahbtBcKxNr/2NuIMu6NLKetxEjpmWo5JaT0xEVwBMM9EyaPYgXeWMUUOwjDyzwVKTGO8eGwGgf1Sb06tr9osR4oLnln3wRJAGClSokfMwIDAQAB\\n-----END PUBLIC KEY-----\",\r\n      \"created_at\": 1527503976000,\r\n      \"id\": \"6a29d318-6263-11e8-8eb0-0800274b9d73\",\r\n      \"algorithm\": \"RS256\",\r\n      \"key\": \"https://api.mything.com/auth/realms/olt\",\r\n      \"secret\": \"L9KS3sinRGLBjQ4Qp9xZ88m6FQYy4KqU\",\r\n      \"consumer_id\": \"6a24ed65-6263-11e8-8eb0-0800274b9d73\"\r\n    }\r\n  ]\r\n}\r\n\r\n\r\n```\r\n\r\n\r\n\r\n**What you expected to happen**:\r\nDeleting ingress resources should update the kong config, for CRDs as well.\r\n"}}
{"actor":{"display_login":"hbagdi"}}