{"action":"opened","number":903,"pull_request":{"url":"https://api.github.com/repos/kubeless/kubeless/pulls/903","id":213342421,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzMzQyNDIx","html_url":"https://github.com/kubeless/kubeless/pull/903","diff_url":"https://github.com/kubeless/kubeless/pull/903.diff","patch_url":"https://github.com/kubeless/kubeless/pull/903.patch","issue_url":"https://api.github.com/repos/kubeless/kubeless/issues/903","number":903,"state":"open","locked":false,"title":"Encrypt intra-cluster traffic for python runtimes","user":{"login":"jamding","id":5925684,"node_id":"MDQ6VXNlcjU5MjU2ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5925684?v=4","gravatar_id":"","url":"https://api.github.com/users/jamding","html_url":"https://github.com/jamding","followers_url":"https://api.github.com/users/jamding/followers","following_url":"https://api.github.com/users/jamding/following{/other_user}","gists_url":"https://api.github.com/users/jamding/gists{/gist_id}","starred_url":"https://api.github.com/users/jamding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamding/subscriptions","organizations_url":"https://api.github.com/users/jamding/orgs","repos_url":"https://api.github.com/users/jamding/repos","events_url":"https://api.github.com/users/jamding/events{/privacy}","received_events_url":"https://api.github.com/users/jamding/received_events","type":"User","site_admin":false},"body":"**Issue Ref**: #902 \r\n \r\n**Description**: \r\n\r\nGiven this is an advanced configuration likely applicable to the minority of kubeless deployments, the scope of this PR is small. Have the python runtimes check the existence of 2 environmental variables, `KEY_FILE_PATH` and `CERT_FILE_PATH`, and if they are present, use a https://github.com/cherrypy/cheroot HTTPS server adapter instead of the [default cherrypy adapter](https://github.com/bottlepy/bottle/blob/0.12.13/bottle.py#L2785). This PR (and kubeless) are not responsible for creating the TLS keypair nor mounting them.\r\n\r\n**TODOs**:\r\n - [X] Ready to review\r\n - [ ] Automated Tests\r\n - [ ] Docs\r\n","created_at":"2018-09-05T15:45:57Z","updated_at":"2018-09-05T15:45:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kubeless/kubeless/pulls/903/commits","review_comments_url":"https://api.github.com/repos/kubeless/kubeless/pulls/903/comments","review_comment_url":"https://api.github.com/repos/kubeless/kubeless/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubeless/kubeless/issues/903/comments","statuses_url":"https://api.github.com/repos/kubeless/kubeless/statuses/e3f9d91e2d807402fa2f9af7fd172e20e856b56f","head":{"label":"jamding:python-tls","ref":"python-tls","sha":"e3f9d91e2d807402fa2f9af7fd172e20e856b56f","user":{"login":"jamding","id":5925684,"node_id":"MDQ6VXNlcjU5MjU2ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5925684?v=4","gravatar_id":"","url":"https://api.github.com/users/jamding","html_url":"https://github.com/jamding","followers_url":"https://api.github.com/users/jamding/followers","following_url":"https://api.github.com/users/jamding/following{/other_user}","gists_url":"https://api.github.com/users/jamding/gists{/gist_id}","starred_url":"https://api.github.com/users/jamding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamding/subscriptions","organizations_url":"https://api.github.com/users/jamding/orgs","repos_url":"https://api.github.com/users/jamding/repos","events_url":"https://api.github.com/users/jamding/events{/privacy}","received_events_url":"https://api.github.com/users/jamding/received_events","type":"User","site_admin":false},"repo":{"id":143462424,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM0NjI0MjQ=","name":"kubeless","full_name":"jamding/kubeless","owner":{"login":"jamding","id":5925684,"node_id":"MDQ6VXNlcjU5MjU2ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5925684?v=4","gravatar_id":"","url":"https://api.github.com/users/jamding","html_url":"https://github.com/jamding","followers_url":"https://api.github.com/users/jamding/followers","following_url":"https://api.github.com/users/jamding/following{/other_user}","gists_url":"https://api.github.com/users/jamding/gists{/gist_id}","starred_url":"https://api.github.com/users/jamding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamding/subscriptions","organizations_url":"https://api.github.com/users/jamding/orgs","repos_url":"https://api.github.com/users/jamding/repos","events_url":"https://api.github.com/users/jamding/events{/privacy}","received_events_url":"https://api.github.com/users/jamding/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamding/kubeless","description":"Kubernetes Native Serverless Framework","fork":true,"url":"https://api.github.com/repos/jamding/kubeless","forks_url":"https://api.github.com/repos/jamding/kubeless/forks","keys_url":"https://api.github.com/repos/jamding/kubeless/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamding/kubeless/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamding/kubeless/teams","hooks_url":"https://api.github.com/repos/jamding/kubeless/hooks","issue_events_url":"https://api.github.com/repos/jamding/kubeless/issues/events{/number}","events_url":"https://api.github.com/repos/jamding/kubeless/events","assignees_url":"https://api.github.com/repos/jamding/kubeless/assignees{/user}","branches_url":"https://api.github.com/repos/jamding/kubeless/branches{/branch}","tags_url":"https://api.github.com/repos/jamding/kubeless/tags","blobs_url":"https://api.github.com/repos/jamding/kubeless/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamding/kubeless/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamding/kubeless/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamding/kubeless/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamding/kubeless/statuses/{sha}","languages_url":"https://api.github.com/repos/jamding/kubeless/languages","stargazers_url":"https://api.github.com/repos/jamding/kubeless/stargazers","contributors_url":"https://api.github.com/repos/jamding/kubeless/contributors","subscribers_url":"https://api.github.com/repos/jamding/kubeless/subscribers","subscription_url":"https://api.github.com/repos/jamding/kubeless/subscription","commits_url":"https://api.github.com/repos/jamding/kubeless/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamding/kubeless/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamding/kubeless/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamding/kubeless/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamding/kubeless/contents/{+path}","compare_url":"https://api.github.com/repos/jamding/kubeless/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamding/kubeless/merges","archive_url":"https://api.github.com/repos/jamding/kubeless/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamding/kubeless/downloads","issues_url":"https://api.github.com/repos/jamding/kubeless/issues{/number}","pulls_url":"https://api.github.com/repos/jamding/kubeless/pulls{/number}","milestones_url":"https://api.github.com/repos/jamding/kubeless/milestones{/number}","notifications_url":"https://api.github.com/repos/jamding/kubeless/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamding/kubeless/labels{/name}","releases_url":"https://api.github.com/repos/jamding/kubeless/releases{/id}","deployments_url":"https://api.github.com/repos/jamding/kubeless/deployments","created_at":"2018-08-03T18:50:07Z","updated_at":"2018-09-04T20:58:41Z","pushed_at":"2018-09-05T15:40:18Z","git_url":"git://github.com/jamding/kubeless.git","ssh_url":"git@github.com:jamding/kubeless.git","clone_url":"https://github.com/jamding/kubeless.git","svn_url":"https://github.com/jamding/kubeless","homepage":"https://kubeless.io","size":89633,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"kubeless:master","ref":"master","sha":"9487cc41eb8c45ba2ecbd457eaf53fdc32d54969","user":{"login":"kubeless","id":25339039,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MzM5MDM5","avatar_url":"https://avatars3.githubusercontent.com/u/25339039?v=4","gravatar_id":"","url":"https://api.github.com/users/kubeless","html_url":"https://github.com/kubeless","followers_url":"https://api.github.com/users/kubeless/followers","following_url":"https://api.github.com/users/kubeless/following{/other_user}","gists_url":"https://api.github.com/users/kubeless/gists{/gist_id}","starred_url":"https://api.github.com/users/kubeless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubeless/subscriptions","organizations_url":"https://api.github.com/users/kubeless/orgs","repos_url":"https://api.github.com/users/kubeless/repos","events_url":"https://api.github.com/users/kubeless/events{/privacy}","received_events_url":"https://api.github.com/users/kubeless/received_events","type":"Organization","site_admin":false},"repo":{"id":73902337,"node_id":"MDEwOlJlcG9zaXRvcnk3MzkwMjMzNw==","name":"kubeless","full_name":"kubeless/kubeless","owner":{"login":"kubeless","id":25339039,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MzM5MDM5","avatar_url":"https://avatars3.githubusercontent.com/u/25339039?v=4","gravatar_id":"","url":"https://api.github.com/users/kubeless","html_url":"https://github.com/kubeless","followers_url":"https://api.github.com/users/kubeless/followers","following_url":"https://api.github.com/users/kubeless/following{/other_user}","gists_url":"https://api.github.com/users/kubeless/gists{/gist_id}","starred_url":"https://api.github.com/users/kubeless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubeless/subscriptions","organizations_url":"https://api.github.com/users/kubeless/orgs","repos_url":"https://api.github.com/users/kubeless/repos","events_url":"https://api.github.com/users/kubeless/events{/privacy}","received_events_url":"https://api.github.com/users/kubeless/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubeless/kubeless","description":"Kubernetes Native Serverless Framework","fork":false,"url":"https://api.github.com/repos/kubeless/kubeless","forks_url":"https://api.github.com/repos/kubeless/kubeless/forks","keys_url":"https://api.github.com/repos/kubeless/kubeless/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubeless/kubeless/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubeless/kubeless/teams","hooks_url":"https://api.github.com/repos/kubeless/kubeless/hooks","issue_events_url":"https://api.github.com/repos/kubeless/kubeless/issues/events{/number}","events_url":"https://api.github.com/repos/kubeless/kubeless/events","assignees_url":"https://api.github.com/repos/kubeless/kubeless/assignees{/user}","branches_url":"https://api.github.com/repos/kubeless/kubeless/branches{/branch}","tags_url":"https://api.github.com/repos/kubeless/kubeless/tags","blobs_url":"https://api.github.com/repos/kubeless/kubeless/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubeless/kubeless/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubeless/kubeless/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubeless/kubeless/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubeless/kubeless/statuses/{sha}","languages_url":"https://api.github.com/repos/kubeless/kubeless/languages","stargazers_url":"https://api.github.com/repos/kubeless/kubeless/stargazers","contributors_url":"https://api.github.com/repos/kubeless/kubeless/contributors","subscribers_url":"https://api.github.com/repos/kubeless/kubeless/subscribers","subscription_url":"https://api.github.com/repos/kubeless/kubeless/subscription","commits_url":"https://api.github.com/repos/kubeless/kubeless/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubeless/kubeless/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubeless/kubeless/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubeless/kubeless/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubeless/kubeless/contents/{+path}","compare_url":"https://api.github.com/repos/kubeless/kubeless/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubeless/kubeless/merges","archive_url":"https://api.github.com/repos/kubeless/kubeless/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubeless/kubeless/downloads","issues_url":"https://api.github.com/repos/kubeless/kubeless/issues{/number}","pulls_url":"https://api.github.com/repos/kubeless/kubeless/pulls{/number}","milestones_url":"https://api.github.com/repos/kubeless/kubeless/milestones{/number}","notifications_url":"https://api.github.com/repos/kubeless/kubeless/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubeless/kubeless/labels{/name}","releases_url":"https://api.github.com/repos/kubeless/kubeless/releases{/id}","deployments_url":"https://api.github.com/repos/kubeless/kubeless/deployments","created_at":"2016-11-16T09:03:03Z","updated_at":"2018-09-05T14:13:32Z","pushed_at":"2018-09-05T08:16:44Z","git_url":"git://github.com/kubeless/kubeless.git","ssh_url":"git@github.com:kubeless/kubeless.git","clone_url":"https://github.com/kubeless/kubeless.git","svn_url":"https://github.com/kubeless/kubeless","homepage":"https://kubeless.io","size":89632,"stargazers_count":3355,"watchers_count":3355,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":320,"mirror_url":null,"archived":false,"open_issues_count":95,"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":320,"open_issues":95,"watchers":3355,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubeless/kubeless/pulls/903"},"html":{"href":"https://github.com/kubeless/kubeless/pull/903"},"issue":{"href":"https://api.github.com/repos/kubeless/kubeless/issues/903"},"comments":{"href":"https://api.github.com/repos/kubeless/kubeless/issues/903/comments"},"review_comments":{"href":"https://api.github.com/repos/kubeless/kubeless/pulls/903/comments"},"review_comment":{"href":"https://api.github.com/repos/kubeless/kubeless/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubeless/kubeless/pulls/903/commits"},"statuses":{"href":"https://api.github.com/repos/kubeless/kubeless/statuses/e3f9d91e2d807402fa2f9af7fd172e20e856b56f"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":7,"additions":26,"deletions":4,"changed_files":4}}
{"actor":{"display_login":"jamding"}}