- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for EnsureAuthenticationInfoAreEmbedded (0.41 sec)
-
cmd/kubeadm/app/util/kubeconfig/kubeconfig.go
return true } return false } // EnsureAuthenticationInfoAreEmbedded check if some authentication info are provided as external key/certificate // files, and eventually embeds such files into the kubeconfig file func EnsureAuthenticationInfoAreEmbedded(config *clientcmdapi.Config) error { authInfo := getCurrentAuthInfo(config) if authInfo == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 21 10:21:33 UTC 2024 - 7.2K bytes - Viewed (0) -
cmd/kubeadm/app/discovery/file/file.go
// the kubeconfig file will be stored in /etc/kubernetes/boostrap-kubelet.conf if err := kubeconfigutil.EnsureAuthenticationInfoAreEmbedded(config); err != nil { return nil, err } } else { // If the discovery file config does not contains authentication credentials
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:55 UTC 2024 - 6.7K bytes - Viewed (0) -
cmd/kubeadm/app/util/kubeconfig/kubeconfig_test.go
TokenFile: "unknownfile", }, }, }, wantErr: true, }, } for _, rt := range tests { t.Run(rt.name, func(t *testing.T) { if err := EnsureAuthenticationInfoAreEmbedded(rt.config); (err != nil) != rt.wantErr { t.Errorf("error = %v, wantErr %v", err, rt.wantErr) } }) } } func TestEnsureCertificateAuthorityIsEmbedded(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 18 06:49:59 UTC 2023 - 13.3K bytes - Viewed (0)