kubernetes/cmd/kubelet/app/options
Kubernetes Submit Queue 63380d12db
Merge pull request #59666 from mtaufen/kc-secure-componentconfig-defaults
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Secure Kubelet's componentconfig defaults while maintaining CLI compatibility

This updates the Kubelet's componentconfig defaults, while applying the legacy defaults to values from options.NewKubeletConfiguration(). This keeps defaults the same for the command line and improves the security of defaults when you load config from a file.

See: https://github.com/kubernetes/kubernetes/issues/53618
See: https://github.com/kubernetes/kubernetes/pull/53833#discussion_r166669931

Also moves EnableServer to KubeletFlags, per @tallclair's comments on #53833.

We should find way of generating documentation for config file defaults, so that people can easily look up what's different from flags.

```release-note
Action required: Default values differ between the Kubelet's componentconfig (config file) API and the Kubelet's command line. Be sure to review the default values when migrating to using a config file.
```
2018-02-14 10:09:13 -08:00
..
BUILD Secure Kubelet's componentconfig defaults while maintaining CLI compatibility 2018-02-13 18:10:15 -08:00
container_runtime.go Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
globalflags_linux.go Fix cadvisor flag registration for cross build 2018-01-10 13:00:28 -05:00
globalflags_other.go Fix cadvisor flag registration for cross build 2018-01-10 13:00:28 -05:00
globalflags.go Add call to addCredentialProviderFlags 2018-01-31 16:10:46 +08:00
options_test.go Merge pull request #58367 from zhangxiaoyu-zidif/do-issue-41161 2018-01-29 06:47:08 -08:00
options.go Merge pull request #59666 from mtaufen/kc-secure-componentconfig-defaults 2018-02-14 10:09:13 -08:00