{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/9718","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/9718/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/9718/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/9718/events","html_url":"https://github.com/openshift/origin/pull/9718","id":164139160,"number":9718,"title":"follow valueFrom refs in 'oc env --list'","user":{"login":"sjenning","id":493891,"avatar_url":"https://avatars.githubusercontent.com/u/493891?v=3","gravatar_id":"","url":"https://api.github.com/users/sjenning","html_url":"https://github.com/sjenning","followers_url":"https://api.github.com/users/sjenning/followers","following_url":"https://api.github.com/users/sjenning/following{/other_user}","gists_url":"https://api.github.com/users/sjenning/gists{/gist_id}","starred_url":"https://api.github.com/users/sjenning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjenning/subscriptions","organizations_url":"https://api.github.com/users/sjenning/orgs","repos_url":"https://api.github.com/users/sjenning/repos","events_url":"https://api.github.com/users/sjenning/events{/privacy}","received_events_url":"https://api.github.com/users/sjenning/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-07-06T18:09:57Z","updated_at":"2016-08-04T16:47:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/9718","html_url":"https://github.com/openshift/origin/pull/9718","diff_url":"https://github.com/openshift/origin/pull/9718.diff","patch_url":"https://github.com/openshift/origin/pull/9718.patch"},"body":"Adds a --show-refs flag to 'oc env --list' that follows references to secrets and configmaps\r\n\r\n@ncdc @smarterclayton \r\n\r\n```\r\n$ oc create secret generic mysecret --from-literal='test=thisiscool,test2=thistoo'\r\n\r\n$ oc create configmap myconfigmap --from-literal='config=thisisaconfig'\r\n\r\n$ cat pod.yaml \r\napiVersion: v1\r\nkind: Pod\r\nmetadata:\r\n  name: demo\r\nspec:\r\n...\r\n    env:\r\n    - name: MYSECRET_TEST\r\n      valueFrom:\r\n        secretKeyRef:\r\n          name: mysecret\r\n          key: test\r\n    - name: MYSECRET_TEST2\r\n      valueFrom:\r\n        secretKeyRef:\r\n          name: mysecret\r\n          key: test2\r\n    - name: MYCONFIGMAP_TEST\r\n      valueFrom:\r\n        configMapKeyRef:\r\n          name: myconfigmap\r\n          key: config\r\n\r\n$ oc env pod demo --list\r\n# pods demo, container fedora\r\nMYSECRET_TEST=\r\nMYSECRET_TEST2=\r\nMYCONFIGMAP_TEST=\r\n\r\n$ oc env pod demo --list --show-refs\r\n# pods demo, container fedora\r\nMYSECRET_TEST=thisiscool\r\nMYSECRET_TEST2=thistoo\r\nMYCONFIGMAP_TEST=thisisaconfig\r\n```"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/237612606","html_url":"https://github.com/openshift/origin/pull/9718#issuecomment-237612606","issue_url":"https://api.github.com/repos/openshift/origin/issues/9718","id":237612606,"user":{"login":"openshift-bot","id":1779249,"avatar_url":"https://avatars.githubusercontent.com/u/1779249?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift-bot","html_url":"https://github.com/openshift-bot","followers_url":"https://api.github.com/users/openshift-bot/followers","following_url":"https://api.github.com/users/openshift-bot/following{/other_user}","gists_url":"https://api.github.com/users/openshift-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift-bot/subscriptions","organizations_url":"https://api.github.com/users/openshift-bot/orgs","repos_url":"https://api.github.com/users/openshift-bot/repos","events_url":"https://api.github.com/users/openshift-bot/events{/privacy}","received_events_url":"https://api.github.com/users/openshift-bot/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T16:47:32Z","updated_at":"2016-08-04T16:47:32Z","body":"Evaluated for origin test up to e83a066fad5f0448cc72db2339097050b2bc3ba1"}}
{"actor":{"display_login":"openshift-bot"}}