Closed shanchunyang0919 closed 2 years ago
Adding these lines back as there will be cases where kubeConfig.CAData is not empty
kubeConfig.CAData
if !bytes.Contains(caData, kubeConfig.CAData) { caData = append(append(caData, []byte("\n")...), kubeConfig.CAData...) }
Smoke tests v1.24+ and version earlier than v1.24 pass.
Thanks for reviews @Laci21 @waynz0r
Description
Adding these lines back as there will be cases where
kubeConfig.CAData
is not empty