{"action":"opened","issue":{"url":"https://api.github.com/repos/datawire/telepresence/issues/496","repository_url":"https://api.github.com/repos/datawire/telepresence","labels_url":"https://api.github.com/repos/datawire/telepresence/issues/496/labels{/name}","comments_url":"https://api.github.com/repos/datawire/telepresence/issues/496/comments","events_url":"https://api.github.com/repos/datawire/telepresence/issues/496/events","html_url":"https://github.com/datawire/telepresence/issues/496","id":303271912,"number":496,"title":"Report problems when using --expose with an existing deployment","user":{"login":"ark3","id":1765854,"avatar_url":"https://avatars0.githubusercontent.com/u/1765854?v=4","gravatar_id":"","url":"https://api.github.com/users/ark3","html_url":"https://github.com/ark3","followers_url":"https://api.github.com/users/ark3/followers","following_url":"https://api.github.com/users/ark3/following{/other_user}","gists_url":"https://api.github.com/users/ark3/gists{/gist_id}","starred_url":"https://api.github.com/users/ark3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ark3/subscriptions","organizations_url":"https://api.github.com/users/ark3/orgs","repos_url":"https://api.github.com/users/ark3/repos","events_url":"https://api.github.com/users/ark3/events{/privacy}","received_events_url":"https://api.github.com/users/ark3/received_events","type":"User","site_admin":false},"labels":[{"id":546271572,"url":"https://api.github.com/repos/datawire/telepresence/labels/bug","name":"bug","color":"f9d0c4","default":true},{"id":578047946,"url":"https://api.github.com/repos/datawire/telepresence/labels/documentation","name":"documentation","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-07T21:47:29Z","updated_at":"2018-03-07T21:47:29Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"A user [creates a Telepresence deployment manually](https://www.telepresence.io/reference/connecting#running-telepresence-manually) and launches `telepresence --deployment ...`. If any `--expose` argument in this invocation is incompatible with the existing deployment, Telepresence should report an error. At the moment, incompatibilities are ignored and no errors are reported.\r\n\r\n- [ ] When you use an existing deployment, Telepresence does not create services. As a result, if you try to `--expose` ports that are not already fronted by existing services, there will be no way to reach them. Telepresence should report this.\r\n\r\n- [ ] If you try to `--expose` a privileged port (port < 1024) and the existing deployment does not run as root, the underlying port forwarding fails silently. Telepresence should report this. \r\n\r\n- [ ] Telepresence runs as a non-root user by default to support running on OpenShift and generally work better with privilege management via Kubernetes Security Contexts. See #131 for more information. To run the Telepresence image as root, the pod spec must contain the following. The documentation should mention this.\r\n\r\n    ``` yaml\r\n    \"securityContext\": {\r\n        \"runAsUser\": 0\r\n    }\r\n    ```\r\n\r\n"}}
{"actor":{"display_login":"ark3"}}