mirror of https://github.com/k3s-io/k3s
Capture an important to-do note
parent
cab23e202e
commit
a23239acfa
|
@ -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
|
// 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
|
// crapy little files written from different parts of this code; this could also
|
||||||
// be useful for testing
|
// 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 := new(kubeadmapi.KubeadmConfig)
|
||||||
s.EnvParams = envParams
|
s.EnvParams = envParams
|
||||||
|
|
Loading…
Reference in New Issue