{"action":"created","issue":{"url":"https://api.github.com/repos/uswitch/klint/issues/4","repository_url":"https://api.github.com/repos/uswitch/klint","labels_url":"https://api.github.com/repos/uswitch/klint/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/uswitch/klint/issues/4/comments","events_url":"https://api.github.com/repos/uswitch/klint/issues/4/events","html_url":"https://github.com/uswitch/klint/issues/4","id":255565933,"number":4,"title":"klint fails if v2alpha1.CronJob is not enabled on cluster","user":{"login":"wawastein","id":2351551,"avatar_url":"https://avatars0.githubusercontent.com/u/2351551?v=4","gravatar_id":"","url":"https://api.github.com/users/wawastein","html_url":"https://github.com/wawastein","followers_url":"https://api.github.com/users/wawastein/followers","following_url":"https://api.github.com/users/wawastein/following{/other_user}","gists_url":"https://api.github.com/users/wawastein/gists{/gist_id}","starred_url":"https://api.github.com/users/wawastein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wawastein/subscriptions","organizations_url":"https://api.github.com/users/wawastein/orgs","repos_url":"https://api.github.com/users/wawastein/repos","events_url":"https://api.github.com/users/wawastein/events{/privacy}","received_events_url":"https://api.github.com/users/wawastein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-06T11:08:35Z","updated_at":"2017-09-06T16:14:57Z","closed_at":null,"author_association":"NONE","body":"Hello, it's me again.\r\n\r\nSo I've built image myself based on ubuntu (your scratch-based version and my alpine-based refused to work for some mysterious reason, claiming that executable couldn't be found, while it was right there in working dir and referenced directly in CMD).\r\n\r\nI've launched it in k8s kube-system namespace, took a namespace with problematic pod, which restarts repeatedly, annotated it with:\r\n\r\n```\r\ncom.uswitch.alert/slack: kube-monitoring\r\n```\r\nCreated bot, passed token to klint via secret, and nothing happens.\r\n\r\nIn logs I see this over and over again:\r\n\r\n```ERROR: logging before flag.Parse: E0906 10:55:39.524069       1 reflector.go:199] github.com/uswitch/klint/engine/engine.go:95: Failed to list *v2alpha1.CronJob: the server could not find the requested resource```\r\n\r\nAs far as I understand, this fails when engine tries to attach rules to resources and nothing gets processed as a result.\r\n\r\nWe use GKE, and moving to alpha clusters is not what we want to do. Is there a way to disable rule?"},"comment":{"url":"https://api.github.com/repos/uswitch/klint/issues/comments/327535441","html_url":"https://github.com/uswitch/klint/issues/4#issuecomment-327535441","issue_url":"https://api.github.com/repos/uswitch/klint/issues/4","id":327535441,"user":{"login":"wawastein","id":2351551,"avatar_url":"https://avatars0.githubusercontent.com/u/2351551?v=4","gravatar_id":"","url":"https://api.github.com/users/wawastein","html_url":"https://github.com/wawastein","followers_url":"https://api.github.com/users/wawastein/followers","following_url":"https://api.github.com/users/wawastein/following{/other_user}","gists_url":"https://api.github.com/users/wawastein/gists{/gist_id}","starred_url":"https://api.github.com/users/wawastein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wawastein/subscriptions","organizations_url":"https://api.github.com/users/wawastein/orgs","repos_url":"https://api.github.com/users/wawastein/repos","events_url":"https://api.github.com/users/wawastein/events{/privacy}","received_events_url":"https://api.github.com/users/wawastein/received_events","type":"User","site_admin":false},"created_at":"2017-09-06T16:14:57Z","updated_at":"2017-09-06T16:14:57Z","author_association":"NONE","body":"@pingles this also produces a lot of logs each time rule is invoked, which is not desired, so I'd throw a sort of `--quiet` key as well"}}
{"actor":{"display_login":"wawastein"}}