{"action":"opened","issue":{"url":"https://api.github.com/repos/kubernetes/client-go/issues/415","repository_url":"https://api.github.com/repos/kubernetes/client-go","labels_url":"https://api.github.com/repos/kubernetes/client-go/issues/415/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/client-go/issues/415/comments","events_url":"https://api.github.com/repos/kubernetes/client-go/issues/415/events","html_url":"https://github.com/kubernetes/client-go/issues/415","id":324712835,"number":415,"title":"API server not set from kubecontext","user":{"login":"benkeil","id":16204452,"avatar_url":"https://avatars3.githubusercontent.com/u/16204452?v=4","gravatar_id":"","url":"https://api.github.com/users/benkeil","html_url":"https://github.com/benkeil","followers_url":"https://api.github.com/users/benkeil/followers","following_url":"https://api.github.com/users/benkeil/following{/other_user}","gists_url":"https://api.github.com/users/benkeil/gists{/gist_id}","starred_url":"https://api.github.com/users/benkeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benkeil/subscriptions","organizations_url":"https://api.github.com/users/benkeil/orgs","repos_url":"https://api.github.com/users/benkeil/repos","events_url":"https://api.github.com/users/benkeil/events{/privacy}","received_events_url":"https://api.github.com/users/benkeil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-20T14:16:36Z","updated_at":"2018-05-20T14:16:36Z","closed_at":null,"author_association":"NONE","body":"If you use the newest version of `github.com/imdario/mergo` you can't init the config via a kubecontext.\r\n\r\nfrom https://github.com/kubernetes/client-go/blob/e1b1ad35184abf07819079215c7374ade5b576c9/tools/clientcmd/client_config.go#L420 works with\r\n\r\n```\r\nname = \"github.com/imdario/mergo\"\r\nrevision = \"6633656539c1639d9d78127b7d47c622b5d7b6dc\"\r\n``` \r\n\r\nFor \r\n\r\n```\r\nname = \"github.com/imdario/mergo\"\r\nversion = \"v0.3.4\"\r\n```\r\n\r\nyou need to use \r\n\r\n```go\r\nmergo.Merge(mergedClusterInfo, configClusterInfo, mergo.WithOverride)\r\n```"}}
{"actor":{"display_login":"benkeil"}}