{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/console-operator/pulls/comments/226041024","pull_request_review_id":165768861,"id":226041024,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjA0MTAyNA==","diff_hunk":"@@ -60,7 +62,10 @@ func main() {\n \twatch(appsv1.SchemeGroupVersion.String(), \"Deployment\", namespace, resyncPeriod)\n \n \twatch(consoleapi.SchemeGroupVersion.String(), \"Console\", namespace, resyncPeriod)\n-\t// i should be watching the oauth client i made :)\n+\n+\tif *defaultConsoleFlag {\n+\t\toperator.ApplyConsole()","path":"cmd/console-operator/main.go","position":25,"original_position":25,"commit_id":"8508f01fb0317c5a0ac40a8bec06f03054d346d8","original_commit_id":"8508f01fb0317c5a0ac40a8bec06f03054d346d8","user":{"login":"spadgett","id":1167259,"node_id":"MDQ6VXNlcjExNjcyNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1167259?v=4","gravatar_id":"","url":"https://api.github.com/users/spadgett","html_url":"https://github.com/spadgett","followers_url":"https://api.github.com/users/spadgett/followers","following_url":"https://api.github.com/users/spadgett/following{/other_user}","gists_url":"https://api.github.com/users/spadgett/gists{/gist_id}","starred_url":"https://api.github.com/users/spadgett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spadgett/subscriptions","organizations_url":"https://api.github.com/users/spadgett/orgs","repos_url":"https://api.github.com/users/spadgett/repos","events_url":"https://api.github.com/users/spadgett/events{/privacy}","received_events_url":"https://api.github.com/users/spadgett/received_events","type":"User","site_admin":false},"body":"Error handling?","created_at":"2018-10-17T18:14:08Z","updated_at":"2018-10-17T18:14:08Z","html_url":"https://github.com/openshift/console-operator/pull/56#discussion_r226041024","pull_request_url":"https://api.github.com/repos/openshift/console-operator/pulls/56","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/openshift/console-operator/pulls/comments/226041024"},"html":{"href":"https://github.com/openshift/console-operator/pull/56#discussion_r226041024"},"pull_request":{"href":"https://api.github.com/repos/openshift/console-operator/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/console-operator/pulls/56","id":223351270,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzMzUxMjcw","html_url":"https://github.com/openshift/console-operator/pull/56","diff_url":"https://github.com/openshift/console-operator/pull/56.diff","patch_url":"https://github.com/openshift/console-operator/pull/56.patch","issue_url":"https://api.github.com/repos/openshift/console-operator/issues/56","number":56,"state":"open","locked":false,"title":"Create Console CR when Operator starts if not present","user":{"login":"benjaminapetersen","id":280512,"node_id":"MDQ6VXNlcjI4MDUxMg==","avatar_url":"https://avatars0.githubusercontent.com/u/280512?v=4","gravatar_id":"","url":"https://api.github.com/users/benjaminapetersen","html_url":"https://github.com/benjaminapetersen","followers_url":"https://api.github.com/users/benjaminapetersen/followers","following_url":"https://api.github.com/users/benjaminapetersen/following{/other_user}","gists_url":"https://api.github.com/users/benjaminapetersen/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminapetersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminapetersen/subscriptions","organizations_url":"https://api.github.com/users/benjaminapetersen/orgs","repos_url":"https://api.github.com/users/benjaminapetersen/repos","events_url":"https://api.github.com/users/benjaminapetersen/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminapetersen/received_events","type":"User","site_admin":false},"body":"Ensures the operator will immediately create a console if a `Console` resource is not found.","created_at":"2018-10-16T18:27:00Z","updated_at":"2018-10-17T18:14:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9dea6735a84ece71526f741342ec4f248b7aa22b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1069461458,"node_id":"MDU6TGFiZWwxMDY5NDYxNDU4","url":"https://api.github.com/repos/openshift/console-operator/labels/approved","name":"approved","color":"0ffa16","default":false},{"id":1072751587,"node_id":"MDU6TGFiZWwxMDcyNzUxNTg3","url":"https://api.github.com/repos/openshift/console-operator/labels/size/M","name":"size/M","color":"eebb00","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/openshift/console-operator/pulls/56/commits","review_comments_url":"https://api.github.com/repos/openshift/console-operator/pulls/56/comments","review_comment_url":"https://api.github.com/repos/openshift/console-operator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/console-operator/issues/56/comments","statuses_url":"https://api.github.com/repos/openshift/console-operator/statuses/8508f01fb0317c5a0ac40a8bec06f03054d346d8","head":{"label":"benjaminapetersen:install/create-cr-if-not-present","ref":"install/create-cr-if-not-present","sha":"8508f01fb0317c5a0ac40a8bec06f03054d346d8","user":{"login":"benjaminapetersen","id":280512,"node_id":"MDQ6VXNlcjI4MDUxMg==","avatar_url":"https://avatars0.githubusercontent.com/u/280512?v=4","gravatar_id":"","url":"https://api.github.com/users/benjaminapetersen","html_url":"https://github.com/benjaminapetersen","followers_url":"https://api.github.com/users/benjaminapetersen/followers","following_url":"https://api.github.com/users/benjaminapetersen/following{/other_user}","gists_url":"https://api.github.com/users/benjaminapetersen/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminapetersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminapetersen/subscriptions","organizations_url":"https://api.github.com/users/benjaminapetersen/orgs","repos_url":"https://api.github.com/users/benjaminapetersen/repos","events_url":"https://api.github.com/users/benjaminapetersen/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminapetersen/received_events","type":"User","site_admin":false},"repo":{"id":150597985,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA1OTc5ODU=","name":"console-operator","full_name":"benjaminapetersen/console-operator","private":false,"owner":{"login":"benjaminapetersen","id":280512,"node_id":"MDQ6VXNlcjI4MDUxMg==","avatar_url":"https://avatars0.githubusercontent.com/u/280512?v=4","gravatar_id":"","url":"https://api.github.com/users/benjaminapetersen","html_url":"https://github.com/benjaminapetersen","followers_url":"https://api.github.com/users/benjaminapetersen/followers","following_url":"https://api.github.com/users/benjaminapetersen/following{/other_user}","gists_url":"https://api.github.com/users/benjaminapetersen/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminapetersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminapetersen/subscriptions","organizations_url":"https://api.github.com/users/benjaminapetersen/orgs","repos_url":"https://api.github.com/users/benjaminapetersen/repos","events_url":"https://api.github.com/users/benjaminapetersen/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminapetersen/received_events","type":"User","site_admin":false},"html_url":"https://github.com/benjaminapetersen/console-operator","description":"The console operator installs and maintains the web console on a cluster","fork":true,"url":"https://api.github.com/repos/benjaminapetersen/console-operator","forks_url":"https://api.github.com/repos/benjaminapetersen/console-operator/forks","keys_url":"https://api.github.com/repos/benjaminapetersen/console-operator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benjaminapetersen/console-operator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benjaminapetersen/console-operator/teams","hooks_url":"https://api.github.com/repos/benjaminapetersen/console-operator/hooks","issue_events_url":"https://api.github.com/repos/benjaminapetersen/console-operator/issues/events{/number}","events_url":"https://api.github.com/repos/benjaminapetersen/console-operator/events","assignees_url":"https://api.github.com/repos/benjaminapetersen/console-operator/assignees{/user}","branches_url":"https://api.github.com/repos/benjaminapetersen/console-operator/branches{/branch}","tags_url":"https://api.github.com/repos/benjaminapetersen/console-operator/tags","blobs_url":"https://api.github.com/repos/benjaminapetersen/console-operator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benjaminapetersen/console-operator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benjaminapetersen/console-operator/git/refs{/sha}","trees_url":"https://api.github.com/repos/benjaminapetersen/console-operator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benjaminapetersen/console-operator/statuses/{sha}","languages_url":"https://api.github.com/repos/benjaminapetersen/console-operator/languages","stargazers_url":"https://api.github.com/repos/benjaminapetersen/console-operator/stargazers","contributors_url":"https://api.github.com/repos/benjaminapetersen/console-operator/contributors","subscribers_url":"https://api.github.com/repos/benjaminapetersen/console-operator/subscribers","subscription_url":"https://api.github.com/repos/benjaminapetersen/console-operator/subscription","commits_url":"https://api.github.com/repos/benjaminapetersen/console-operator/commits{/sha}","git_commits_url":"https://api.github.com/repos/benjaminapetersen/console-operator/git/commits{/sha}","comments_url":"https://api.github.com/repos/benjaminapetersen/console-operator/comments{/number}","issue_comment_url":"https://api.github.com/repos/benjaminapetersen/console-operator/issues/comments{/number}","contents_url":"https://api.github.com/repos/benjaminapetersen/console-operator/contents/{+path}","compare_url":"https://api.github.com/repos/benjaminapetersen/console-operator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benjaminapetersen/console-operator/merges","archive_url":"https://api.github.com/repos/benjaminapetersen/console-operator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benjaminapetersen/console-operator/downloads","issues_url":"https://api.github.com/repos/benjaminapetersen/console-operator/issues{/number}","pulls_url":"https://api.github.com/repos/benjaminapetersen/console-operator/pulls{/number}","milestones_url":"https://api.github.com/repos/benjaminapetersen/console-operator/milestones{/number}","notifications_url":"https://api.github.com/repos/benjaminapetersen/console-operator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benjaminapetersen/console-operator/labels{/name}","releases_url":"https://api.github.com/repos/benjaminapetersen/console-operator/releases{/id}","deployments_url":"https://api.github.com/repos/benjaminapetersen/console-operator/deployments","created_at":"2018-09-27T14:14:21Z","updated_at":"2018-10-16T13:36:44Z","pushed_at":"2018-10-17T14:40:24Z","git_url":"git://github.com/benjaminapetersen/console-operator.git","ssh_url":"git@github.com:benjaminapetersen/console-operator.git","clone_url":"https://github.com/benjaminapetersen/console-operator.git","svn_url":"https://github.com/benjaminapetersen/console-operator","homepage":null,"size":20497,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openshift:master","ref":"master","sha":"e10c08b0540429a85289be03971e6cbe40070455","user":{"login":"openshift","id":792337,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MjMzNw==","avatar_url":"https://avatars3.githubusercontent.com/u/792337?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":148216080,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgyMTYwODA=","name":"console-operator","full_name":"openshift/console-operator","private":false,"owner":{"login":"openshift","id":792337,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MjMzNw==","avatar_url":"https://avatars3.githubusercontent.com/u/792337?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/openshift/console-operator","description":"The console operator installs and maintains the web console on a cluster","fork":false,"url":"https://api.github.com/repos/openshift/console-operator","forks_url":"https://api.github.com/repos/openshift/console-operator/forks","keys_url":"https://api.github.com/repos/openshift/console-operator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/console-operator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/console-operator/teams","hooks_url":"https://api.github.com/repos/openshift/console-operator/hooks","issue_events_url":"https://api.github.com/repos/openshift/console-operator/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/console-operator/events","assignees_url":"https://api.github.com/repos/openshift/console-operator/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/console-operator/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/console-operator/tags","blobs_url":"https://api.github.com/repos/openshift/console-operator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/console-operator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/console-operator/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/console-operator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/console-operator/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/console-operator/languages","stargazers_url":"https://api.github.com/repos/openshift/console-operator/stargazers","contributors_url":"https://api.github.com/repos/openshift/console-operator/contributors","subscribers_url":"https://api.github.com/repos/openshift/console-operator/subscribers","subscription_url":"https://api.github.com/repos/openshift/console-operator/subscription","commits_url":"https://api.github.com/repos/openshift/console-operator/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/console-operator/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/console-operator/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/console-operator/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/console-operator/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/console-operator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/console-operator/merges","archive_url":"https://api.github.com/repos/openshift/console-operator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/console-operator/downloads","issues_url":"https://api.github.com/repos/openshift/console-operator/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/console-operator/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/console-operator/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/console-operator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/console-operator/labels{/name}","releases_url":"https://api.github.com/repos/openshift/console-operator/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/console-operator/deployments","created_at":"2018-09-10T20:38:19Z","updated_at":"2018-10-16T13:38:41Z","pushed_at":"2018-10-17T14:40:25Z","git_url":"git://github.com/openshift/console-operator.git","ssh_url":"git@github.com:openshift/console-operator.git","clone_url":"https://github.com/openshift/console-operator.git","svn_url":"https://github.com/openshift/console-operator","homepage":null,"size":20486,"stargazers_count":2,"watchers_count":2,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":22,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":3,"open_issues":22,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/console-operator/pulls/56"},"html":{"href":"https://github.com/openshift/console-operator/pull/56"},"issue":{"href":"https://api.github.com/repos/openshift/console-operator/issues/56"},"comments":{"href":"https://api.github.com/repos/openshift/console-operator/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/console-operator/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/console-operator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/console-operator/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/console-operator/statuses/8508f01fb0317c5a0ac40a8bec06f03054d346d8"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"spadgett"}}