mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 13:41:56 +00:00
Unfortunately some options (such as enabling dynamic registration of initializers) can only be enabled by a `--config foo.yaml` argument. Furthermore some command-line options (such as the kubernetes version) cannot be used in combination with the config file. This patch checks for a supplied /etc/kubeadm/kubeadm.yaml and uses it if it exists, otherwise it falls back to the original command-line. Note it is safe to use the `--skip-*` options in combination with the `--config` option. Signed-off-by: David Scott <dave.scott@docker.com>