From a23239acfad0c493199b5f7584b0cb8efc3de427 Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Thu, 15 Sep 2016 23:54:48 +0100 Subject: [PATCH] Capture an important to-do note --- pkg/kubeadm/cmd/cmd.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/kubeadm/cmd/cmd.go b/pkg/kubeadm/cmd/cmd.go index 04b51034edb..8fbebe62a9d 100644 --- a/pkg/kubeadm/cmd/cmd.go +++ b/pkg/kubeadm/cmd/cmd.go @@ -77,6 +77,9 @@ func NewKubeadmCommand(f *cmdutil.Factory, in io.Reader, out, err io.Writer, env // be written to disc and write it all in one go at the end as we have a lot of // crapy little files written from different parts of this code; this could also // be useful for testing + // by having this model we can allow users to create some files before `kubeadm init` runs, e.g. PKI assets, we + // would then be able to look at files users has given an diff or validate if those are sane, we could also warn + // if any of the files had been deprecated s := new(kubeadmapi.KubeadmConfig) s.EnvParams = envParams