Capture an important to-do note

pull/6/head
Ilya Dmitrichenko 2016-09-15 23:54:48 +01:00
parent cab23e202e
commit a23239acfa
No known key found for this signature in database
GPG Key ID: E7889175A6C0CEB9
1 changed files with 3 additions and 0 deletions

View File

@ -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