{"action":"opened","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/30820","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/30820/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/30820/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/30820/events","html_url":"https://github.com/kubernetes/kubernetes/issues/30820","id":171765195,"number":30820,"title":"Discuss whether certain fields currently set by flags should not be moved to KubeletConfiguration","user":{"login":"mtaufen","id":903617,"avatar_url":"https://avatars.githubusercontent.com/u/903617?v=3","gravatar_id":"","url":"https://api.github.com/users/mtaufen","html_url":"https://github.com/mtaufen","followers_url":"https://api.github.com/users/mtaufen/followers","following_url":"https://api.github.com/users/mtaufen/following{/other_user}","gists_url":"https://api.github.com/users/mtaufen/gists{/gist_id}","starred_url":"https://api.github.com/users/mtaufen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtaufen/subscriptions","organizations_url":"https://api.github.com/users/mtaufen/orgs","repos_url":"https://api.github.com/users/mtaufen/repos","events_url":"https://api.github.com/users/mtaufen/events{/privacy}","received_events_url":"https://api.github.com/users/mtaufen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-17T21:30:03Z","updated_at":"2016-08-17T21:30:03Z","closed_at":null,"body":"In #30094 discussion, @mikedanese commeted, related to not wanting to move the `KubeConfig` field into `KubeletConfiguration`:\r\n\r\n>We should divide config into three buckets:\r\n\r\n>How do I find a trust the apiserver\r\nHow does the apiserver trust me\r\nEverything else\r\nThese configs have orthogonal concerns, different writer and should be sourced from three different files. They should have no dependencies. \r\n\r\nAnd, my impression is that, presently, the first category is `--api-servers` and the second is `--kubeconfig`.\r\n\r\nIf `KubeletConfiguration` is intended, in addition to being used for remote config, to be a complete replacement to flags via on-disk config, then the locations of files for the first two buckets would need to be in the third bucket.\r\n\r\nThe concern with doing this is that `kubeconfig` and `KubeletConfiguration` are orthogonal, and each deserve their own top-level flag; that the Kubelet should not have to depend on `KubeletConfiguration` to know where to find `kubeconfig`. \r\n\r\n@mikedanese recommended the following:\r\n> My ideal cli api is two flags on each component (--kubeconfig, --componentconfig)\r\nwith good default paths so they never have to be used\r\n\r\nLet's hash this out. IMO it might be easier to focus on getting down to these two flags on the Kubelet, rather than eliminating flags entirely.\r\n\r\n/cc @mikedanese @vishh @smarterclayton "}}
{"actor":{"display_login":"mtaufen"}}