{"action":"created","issue":{"url":"https://api.github.com/repos/apache/pulsar/issues/4996","repository_url":"https://api.github.com/repos/apache/pulsar","labels_url":"https://api.github.com/repos/apache/pulsar/issues/4996/labels{/name}","comments_url":"https://api.github.com/repos/apache/pulsar/issues/4996/comments","events_url":"https://api.github.com/repos/apache/pulsar/issues/4996/events","html_url":"https://github.com/apache/pulsar/pull/4996","id":483274078,"node_id":"MDExOlB1bGxSZXF1ZXN0MzA5MzgyMTIx","number":4996,"title":"[k8s] convert to valid pod name part with k8s function runtime","user":{"login":"freeznet","id":1381618,"node_id":"MDQ6VXNlcjEzODE2MTg=","avatar_url":"https://avatars0.githubusercontent.com/u/1381618?v=4","gravatar_id":"","url":"https://api.github.com/users/freeznet","html_url":"https://github.com/freeznet","followers_url":"https://api.github.com/users/freeznet/followers","following_url":"https://api.github.com/users/freeznet/following{/other_user}","gists_url":"https://api.github.com/users/freeznet/gists{/gist_id}","starred_url":"https://api.github.com/users/freeznet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeznet/subscriptions","organizations_url":"https://api.github.com/users/freeznet/orgs","repos_url":"https://api.github.com/users/freeznet/repos","events_url":"https://api.github.com/users/freeznet/events{/privacy}","received_events_url":"https://api.github.com/users/freeznet/received_events","type":"User","site_admin":false},"labels":[{"id":853313264,"node_id":"MDU6TGFiZWw4NTMzMTMyNjQ=","url":"https://api.github.com/repos/apache/pulsar/labels/component/functions","name":"component/functions","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"freeznet","id":1381618,"node_id":"MDQ6VXNlcjEzODE2MTg=","avatar_url":"https://avatars0.githubusercontent.com/u/1381618?v=4","gravatar_id":"","url":"https://api.github.com/users/freeznet","html_url":"https://github.com/freeznet","followers_url":"https://api.github.com/users/freeznet/followers","following_url":"https://api.github.com/users/freeznet/following{/other_user}","gists_url":"https://api.github.com/users/freeznet/gists{/gist_id}","starred_url":"https://api.github.com/users/freeznet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeznet/subscriptions","organizations_url":"https://api.github.com/users/freeznet/orgs","repos_url":"https://api.github.com/users/freeznet/repos","events_url":"https://api.github.com/users/freeznet/events{/privacy}","received_events_url":"https://api.github.com/users/freeznet/received_events","type":"User","site_admin":false},"assignees":[{"login":"freeznet","id":1381618,"node_id":"MDQ6VXNlcjEzODE2MTg=","avatar_url":"https://avatars0.githubusercontent.com/u/1381618?v=4","gravatar_id":"","url":"https://api.github.com/users/freeznet","html_url":"https://github.com/freeznet","followers_url":"https://api.github.com/users/freeznet/followers","following_url":"https://api.github.com/users/freeznet/following{/other_user}","gists_url":"https://api.github.com/users/freeznet/gists{/gist_id}","starred_url":"https://api.github.com/users/freeznet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeznet/subscriptions","organizations_url":"https://api.github.com/users/freeznet/orgs","repos_url":"https://api.github.com/users/freeznet/repos","events_url":"https://api.github.com/users/freeznet/events{/privacy}","received_events_url":"https://api.github.com/users/freeznet/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/apache/pulsar/milestones/22","html_url":"https://github.com/apache/pulsar/milestone/22","labels_url":"https://api.github.com/repos/apache/pulsar/milestones/22/labels","id":4078229,"node_id":"MDk6TWlsZXN0b25lNDA3ODIyOQ==","number":22,"title":"2.5.0","description":"","creator":{"login":"merlimat","id":62500,"node_id":"MDQ6VXNlcjYyNTAw","avatar_url":"https://avatars2.githubusercontent.com/u/62500?v=4","gravatar_id":"","url":"https://api.github.com/users/merlimat","html_url":"https://github.com/merlimat","followers_url":"https://api.github.com/users/merlimat/followers","following_url":"https://api.github.com/users/merlimat/following{/other_user}","gists_url":"https://api.github.com/users/merlimat/gists{/gist_id}","starred_url":"https://api.github.com/users/merlimat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/merlimat/subscriptions","organizations_url":"https://api.github.com/users/merlimat/orgs","repos_url":"https://api.github.com/users/merlimat/repos","events_url":"https://api.github.com/users/merlimat/events{/privacy}","received_events_url":"https://api.github.com/users/merlimat/received_events","type":"User","site_admin":false},"open_issues":85,"closed_issues":124,"state":"open","created_at":"2019-02-22T08:35:26Z","updated_at":"2019-08-26T04:16:35Z","due_on":"2019-09-30T07:00:00Z","closed_at":null},"comments":0,"created_at":"2019-08-21T08:28:53Z","updated_at":"2019-08-26T06:03:42Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/pulsar/pulls/4996","html_url":"https://github.com/apache/pulsar/pull/4996","diff_url":"https://github.com/apache/pulsar/pull/4996.diff","patch_url":"https://github.com/apache/pulsar/pull/4996.patch"},"body":"### Motivation\r\n\r\nk8s runtime use tenant, namespace, functionName to create k8s pod name, but functionName might not meet the k8s pod name rule. `\"[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\"`, which will cause pod create failed.\r\n\r\n### Modifications\r\n\r\nThis PR create a new function called `toValidPodName` which convert a string to valid pod name part, including convert to lower case and replace all non-char part to \"-\".\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/pulsar/issues/comments/524728000","html_url":"https://github.com/apache/pulsar/pull/4996#issuecomment-524728000","issue_url":"https://api.github.com/repos/apache/pulsar/issues/4996","id":524728000,"node_id":"MDEyOklzc3VlQ29tbWVudDUyNDcyODAwMA==","user":{"login":"freeznet","id":1381618,"node_id":"MDQ6VXNlcjEzODE2MTg=","avatar_url":"https://avatars0.githubusercontent.com/u/1381618?v=4","gravatar_id":"","url":"https://api.github.com/users/freeznet","html_url":"https://github.com/freeznet","followers_url":"https://api.github.com/users/freeznet/followers","following_url":"https://api.github.com/users/freeznet/following{/other_user}","gists_url":"https://api.github.com/users/freeznet/gists{/gist_id}","starred_url":"https://api.github.com/users/freeznet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeznet/subscriptions","organizations_url":"https://api.github.com/users/freeznet/orgs","repos_url":"https://api.github.com/users/freeznet/repos","events_url":"https://api.github.com/users/freeznet/events{/privacy}","received_events_url":"https://api.github.com/users/freeznet/received_events","type":"User","site_admin":false},"created_at":"2019-08-26T06:03:42Z","updated_at":"2019-08-26T06:03:42Z","author_association":"CONTRIBUTOR","body":"plz run java8 test"}}
{"actor":{"display_login":"freeznet"}}