{"action":"created","issue":{"url":"https://api.github.com/repos/linkerd/linkerd2/issues/2490","repository_url":"https://api.github.com/repos/linkerd/linkerd2","labels_url":"https://api.github.com/repos/linkerd/linkerd2/issues/2490/labels{/name}","comments_url":"https://api.github.com/repos/linkerd/linkerd2/issues/2490/comments","events_url":"https://api.github.com/repos/linkerd/linkerd2/issues/2490/events","html_url":"https://github.com/linkerd/linkerd2/issues/2490","id":420240289,"node_id":"MDU6SXNzdWU0MjAyNDAyODk=","number":2490,"title":"Add validation to the New Service Profile popup form","user":{"login":"alpeb","id":554287,"node_id":"MDQ6VXNlcjU1NDI4Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/554287?v=4","gravatar_id":"","url":"https://api.github.com/users/alpeb","html_url":"https://github.com/alpeb","followers_url":"https://api.github.com/users/alpeb/followers","following_url":"https://api.github.com/users/alpeb/following{/other_user}","gists_url":"https://api.github.com/users/alpeb/gists{/gist_id}","starred_url":"https://api.github.com/users/alpeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alpeb/subscriptions","organizations_url":"https://api.github.com/users/alpeb/orgs","repos_url":"https://api.github.com/users/alpeb/repos","events_url":"https://api.github.com/users/alpeb/events{/privacy}","received_events_url":"https://api.github.com/users/alpeb/received_events","type":"User","site_admin":false},"labels":[{"id":777123402,"node_id":"MDU6TGFiZWw3NzcxMjM0MDI=","url":"https://api.github.com/repos/linkerd/linkerd2/labels/area/web","name":"area/web","color":"0052CC","default":false},{"id":1033693402,"node_id":"MDU6TGFiZWwxMDMzNjkzNDAy","url":"https://api.github.com/repos/linkerd/linkerd2/labels/enhancement","name":"enhancement","color":"c2e0c6","default":true},{"id":769531530,"node_id":"MDU6TGFiZWw3Njk1MzE1MzA=","url":"https://api.github.com/repos/linkerd/linkerd2/labels/good%20first%20issue","name":"good first issue","color":"dddddd","default":true},{"id":769531529,"node_id":"MDU6TGFiZWw3Njk1MzE1Mjk=","url":"https://api.github.com/repos/linkerd/linkerd2/labels/help%20wanted","name":"help wanted","color":"dddddd","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-03-12T22:50:08Z","updated_at":"2019-03-18T19:19:28Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The \"New Service profile\" popup form isn't validating proper values for the Service nor the Namespace fields\r\n\r\n![image](https://user-images.githubusercontent.com/554287/54241362-a43ee000-44ee-11e9-8f9d-351f9643689c.png)\r\n\r\nTrying to apply a service or a namespace with bad syntax triggers the following error, which might give a hint on the validation function to be used in this form:\r\n\r\n` Invalid value: \"foo bar\": a DNS-1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name',  or '123-abc', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?')`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/linkerd/linkerd2/issues/comments/474063390","html_url":"https://github.com/linkerd/linkerd2/issues/2490#issuecomment-474063390","issue_url":"https://api.github.com/repos/linkerd/linkerd2/issues/2490","id":474063390,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3NDA2MzM5MA==","user":{"login":"liquidslr","id":26876811,"node_id":"MDQ6VXNlcjI2ODc2ODEx","avatar_url":"https://avatars0.githubusercontent.com/u/26876811?v=4","gravatar_id":"","url":"https://api.github.com/users/liquidslr","html_url":"https://github.com/liquidslr","followers_url":"https://api.github.com/users/liquidslr/followers","following_url":"https://api.github.com/users/liquidslr/following{/other_user}","gists_url":"https://api.github.com/users/liquidslr/gists{/gist_id}","starred_url":"https://api.github.com/users/liquidslr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liquidslr/subscriptions","organizations_url":"https://api.github.com/users/liquidslr/orgs","repos_url":"https://api.github.com/users/liquidslr/repos","events_url":"https://api.github.com/users/liquidslr/events{/privacy}","received_events_url":"https://api.github.com/users/liquidslr/received_events","type":"User","site_admin":false},"created_at":"2019-03-18T19:19:28Z","updated_at":"2019-03-18T19:19:28Z","author_association":"CONTRIBUTOR","body":"@alpeb are the restrictions for namespace and service the same?\r\n"}}
{"actor":{"display_login":"liquidslr"}}