{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/14948","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/14948/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/14948/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/14948/events","html_url":"https://github.com/kubernetes/kubernetes/issues/14948","id":109399804,"number":14948,"title":"could not read an encoded object cannot unmarshal bool into Go value of type string","user":{"login":"nhumrich","id":4661889,"avatar_url":"https://avatars.githubusercontent.com/u/4661889?v=3","gravatar_id":"","url":"https://api.github.com/users/nhumrich","html_url":"https://github.com/nhumrich","followers_url":"https://api.github.com/users/nhumrich/followers","following_url":"https://api.github.com/users/nhumrich/following{/other_user}","gists_url":"https://api.github.com/users/nhumrich/gists{/gist_id}","starred_url":"https://api.github.com/users/nhumrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhumrich/subscriptions","organizations_url":"https://api.github.com/users/nhumrich/orgs","repos_url":"https://api.github.com/users/nhumrich/repos","events_url":"https://api.github.com/users/nhumrich/events{/privacy}","received_events_url":"https://api.github.com/users/nhumrich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/support","name":"kind/support","color":"eb6420"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/P2","name":"priority/P2","color":"fbca04"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/ux","name":"team/ux","color":"d2b48c"}],"state":"open","locked":false,"assignee":{"login":"JanetKuo","id":4876867,"avatar_url":"https://avatars.githubusercontent.com/u/4876867?v=3","gravatar_id":"","url":"https://api.github.com/users/JanetKuo","html_url":"https://github.com/JanetKuo","followers_url":"https://api.github.com/users/JanetKuo/followers","following_url":"https://api.github.com/users/JanetKuo/following{/other_user}","gists_url":"https://api.github.com/users/JanetKuo/gists{/gist_id}","starred_url":"https://api.github.com/users/JanetKuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanetKuo/subscriptions","organizations_url":"https://api.github.com/users/JanetKuo/orgs","repos_url":"https://api.github.com/users/JanetKuo/repos","events_url":"https://api.github.com/users/JanetKuo/events{/privacy}","received_events_url":"https://api.github.com/users/JanetKuo/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-10-01T22:50:47Z","updated_at":"2015-10-03T21:18:07Z","closed_at":null,"body":"Getting an error while running\r\n \r\n    kubectl create -f myrc.yaml\r\n\r\nThe yaml file has a boolean environment variable:\r\n\r\n    spec:\r\n      containers:\r\n           ...\r\n        env:\r\n        - name: MY_ENV\r\n          value: true\r\n\r\nand I get the error:\r\n\r\n    error: could not read an encoded object from myrc.yml: unable to load \"myrc.yml\": json: cannot unmarshal bool into Go value of type string\r\n\r\nChanging the value to \"true\" makes it work, but I dont want it as a string, I want it set as a boolean."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/145291620","html_url":"https://github.com/kubernetes/kubernetes/issues/14948#issuecomment-145291620","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/14948","id":145291620,"user":{"login":"pmorie","id":366488,"avatar_url":"https://avatars.githubusercontent.com/u/366488?v=3","gravatar_id":"","url":"https://api.github.com/users/pmorie","html_url":"https://github.com/pmorie","followers_url":"https://api.github.com/users/pmorie/followers","following_url":"https://api.github.com/users/pmorie/following{/other_user}","gists_url":"https://api.github.com/users/pmorie/gists{/gist_id}","starred_url":"https://api.github.com/users/pmorie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmorie/subscriptions","organizations_url":"https://api.github.com/users/pmorie/orgs","repos_url":"https://api.github.com/users/pmorie/repos","events_url":"https://api.github.com/users/pmorie/events{/privacy}","received_events_url":"https://api.github.com/users/pmorie/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T21:18:07Z","updated_at":"2015-10-03T21:18:07Z","body":"Can we close this?  It's working as intended."}}