kubernetes/cmd
Lubomir I. Ivanov 453ac809c1 kubeadm: tolerate whitespace when validating user CA PEMs
The function validateKubeConfig() can end up comparing
a user generated kubeconfig to a kubeconfig generated by kubeadm.

If a user kubeconfig has a CA that is base64 encoded with whitespace,
if said kubeconfig is loaded using clientcmd.LoadFromFile()
the CertificateAuthorityData bytes will be decoded from base64
and placed in the v1.Config raw. On the other hand a kubeconfig
generated by kubeadm will have the ca.crt parsed to a Certificate
object with whitespace ignored in the PEM input.

Make sure that validateKubeConfig() tolerates whitespace differences
when comparing CertificateAuthorityData.
2019-12-30 22:16:41 +02:00
..
clicheck Move pkg/kubectl/cmd/util and subdirs to staging 2019-07-29 13:08:41 -07:00
cloud-controller-manager Plumb configured acceptContentType to client config 2019-11-11 10:54:38 -05:00
controller-manager Add test cases for a helper function in controller manager 2019-12-17 12:31:53 +08:00
gendocs Create work-around wrappers for pure attribute on go_binary and go_test 2019-02-22 18:08:34 -08:00
genkubedocs Drop cloud-controller-manager artifacts from k/k release 2019-08-06 13:51:27 -04:00
genman Drop cloud-controller-manager artifacts from k/k release 2019-08-06 13:51:27 -04:00
genswaggertypedocs Clean up genswaggertypedocs. 2019-05-01 16:32:05 +00:00
genutils
genyaml Remove genyaml binary 2019-04-12 08:31:29 -04:00
importverifier delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
kube-apiserver Remove ability to re-enable serving deprecated APIs 2019-12-13 12:21:33 -05:00
kube-controller-manager cmd/kube-controller-manager: fix staticcheck warning 2019-12-03 11:16:24 +08:00
kube-proxy Merge pull request #85279 from RainbowMango/pr_add_metrics_flag_to_proxy 2019-12-18 00:57:57 -08:00
kube-scheduler scheduler: make algorithm source an option 2019-11-13 10:22:29 +03:00
kubeadm kubeadm: tolerate whitespace when validating user CA PEMs 2019-12-30 22:16:41 +02:00
kubectl remove pkg/version and some of redundant copies of it 2019-09-16 16:24:35 -07:00
kubelet Revert pull request #85879 "hollow-node use remote CRI" 2019-12-19 10:52:35 +01:00
kubemark Revert pull request #85879 "hollow-node use remote CRI" 2019-12-19 10:52:35 +01:00
linkcheck fix staticcheck faulures in 'cmd' pkg 2019-12-16 18:32:54 +08:00
preferredimports fix staticcheck faulures in 'cmd' pkg 2019-12-16 18:32:54 +08:00
verifydependencies Close the file after reading in verifydependencies#main 2019-10-19 10:46:50 -07:00
BUILD Drop cmd/hyperkube 2019-11-06 09:11:35 -05:00
OWNERS Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00