{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/20851","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/20851/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/20851/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/20851/events","html_url":"https://github.com/openshift/origin/issues/20851","id":356875306,"node_id":"MDU6SXNzdWUzNTY4NzUzMDY=","number":20851,"title":"Add a TILLER_NAMESPACE env variable via OC CLI","user":{"login":"gkarthiks","id":30545166,"node_id":"MDQ6VXNlcjMwNTQ1MTY2","avatar_url":"https://avatars1.githubusercontent.com/u/30545166?v=4","gravatar_id":"","url":"https://api.github.com/users/gkarthiks","html_url":"https://github.com/gkarthiks","followers_url":"https://api.github.com/users/gkarthiks/followers","following_url":"https://api.github.com/users/gkarthiks/following{/other_user}","gists_url":"https://api.github.com/users/gkarthiks/gists{/gist_id}","starred_url":"https://api.github.com/users/gkarthiks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkarthiks/subscriptions","organizations_url":"https://api.github.com/users/gkarthiks/orgs","repos_url":"https://api.github.com/users/gkarthiks/repos","events_url":"https://api.github.com/users/gkarthiks/events{/privacy}","received_events_url":"https://api.github.com/users/gkarthiks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-04T15:56:37Z","updated_at":"2018-09-04T21:52:49Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nNote that this is the issue tracker for OpenShift Origin.\r\n\r\nOpenShift Installer issues should be reported at https://github.com/openshift/openshift-ansible/issues\r\nManagement Console issues are collected at https://github.com/openshift/origin-web-console/issues\r\nDocumentation issues are better reported at https://github.com/openshift/openshift-docs/issues\r\n-->\r\n\r\nAdding a `TILLER_NAMESPACE` env variable and putting the current `Project` into that and refreshing that env variable when even user is changing to other projects. Because its painful to append the tiller-namespace in helm every time.\r\n\r\n##### Version\r\noc v3.9.0+191fece\r\n\r\n##### Current Result\r\nDoesn't put ant env variable.\r\n\r\n##### Expected Result\r\nPuts an env variable named `TILLER_NAMESPACE` with the current project as value.\r\n\r\nAs of now I am doing that with the below bash. But doesn't work if I change project.\r\nexport TILLER_NAMESPACE=$(echo $(oc config current-context)| cut -d'/' -f 1)\r\n\r\n/component/cli \r\n@openshift/sig-master"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/418530318","html_url":"https://github.com/openshift/origin/issues/20851#issuecomment-418530318","issue_url":"https://api.github.com/repos/openshift/origin/issues/20851","id":418530318,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODUzMDMxOA==","user":{"login":"gkarthiks","id":30545166,"node_id":"MDQ6VXNlcjMwNTQ1MTY2","avatar_url":"https://avatars1.githubusercontent.com/u/30545166?v=4","gravatar_id":"","url":"https://api.github.com/users/gkarthiks","html_url":"https://github.com/gkarthiks","followers_url":"https://api.github.com/users/gkarthiks/followers","following_url":"https://api.github.com/users/gkarthiks/following{/other_user}","gists_url":"https://api.github.com/users/gkarthiks/gists{/gist_id}","starred_url":"https://api.github.com/users/gkarthiks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkarthiks/subscriptions","organizations_url":"https://api.github.com/users/gkarthiks/orgs","repos_url":"https://api.github.com/users/gkarthiks/repos","events_url":"https://api.github.com/users/gkarthiks/events{/privacy}","received_events_url":"https://api.github.com/users/gkarthiks/received_events","type":"User","site_admin":false},"created_at":"2018-09-04T21:52:49Z","updated_at":"2018-09-04T21:52:49Z","author_association":"NONE","body":"I am using some bash function like here.\r\n\r\nhttps://github.com/gkarthiks/ocp"}}
{"actor":{"display_login":"gkarthiks"}}