{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/24488","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/24488/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/24488/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/24488/events","html_url":"https://github.com/kubernetes/kubernetes/issues/24488","id":149549489,"number":24488,"title":"kubectl create secret generic does not support values with '=' character when --from-literal option is used","user":{"login":"rijuk","id":2475254,"avatar_url":"https://avatars.githubusercontent.com/u/2475254?v=3","gravatar_id":"","url":"https://api.github.com/users/rijuk","html_url":"https://github.com/rijuk","followers_url":"https://api.github.com/users/rijuk/followers","following_url":"https://api.github.com/users/rijuk/following{/other_user}","gists_url":"https://api.github.com/users/rijuk/gists{/gist_id}","starred_url":"https://api.github.com/users/rijuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rijuk/subscriptions","organizations_url":"https://api.github.com/users/rijuk/orgs","repos_url":"https://api.github.com/users/rijuk/repos","events_url":"https://api.github.com/users/rijuk/events{/privacy}","received_events_url":"https://api.github.com/users/rijuk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/component/kubectl","name":"component/kubectl","color":"0052cc"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/bug","name":"kind/bug","color":"e11d21"},{"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":"derekwaynecarr","id":6233452,"avatar_url":"https://avatars.githubusercontent.com/u/6233452?v=3","gravatar_id":"","url":"https://api.github.com/users/derekwaynecarr","html_url":"https://github.com/derekwaynecarr","followers_url":"https://api.github.com/users/derekwaynecarr/followers","following_url":"https://api.github.com/users/derekwaynecarr/following{/other_user}","gists_url":"https://api.github.com/users/derekwaynecarr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwaynecarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwaynecarr/subscriptions","organizations_url":"https://api.github.com/users/derekwaynecarr/orgs","repos_url":"https://api.github.com/users/derekwaynecarr/repos","events_url":"https://api.github.com/users/derekwaynecarr/events{/privacy}","received_events_url":"https://api.github.com/users/derekwaynecarr/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-04-19T18:51:27Z","updated_at":"2016-04-20T20:32:54Z","closed_at":null,"body":"When a value that contains the character '=' is used, \"kubectl create secret\" currently fails with the following error\r\n\r\n$ kubectl create secret generic mysecret --from-literal=key=foo= --dry-run\r\nerror: invalid literal source key=foo=, expected key=value\r\n\r\n'=' is a common character for base64 encoded values. So, this pretty much prevents passing any base64 encoded value.\r\n\r\nThe issue seems to be happening because of this check - https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/kubectl.go#L233\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/212593043","html_url":"https://github.com/kubernetes/kubernetes/issues/24488#issuecomment-212593043","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/24488","id":212593043,"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":"2016-04-20T20:32:54Z","updated_at":"2016-04-20T20:32:54Z","body":"@derekwaynecarr it does"}}