- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for kubeconfigutil (0.82 sec)
-
cmd/kubeadm/app/discovery/discovery.go
if len(cfg.Discovery.TLSBootstrapToken) != 0 { klog.V(1).Info("[discovery] Using provided TLSBootstrapToken as authentication credentials for the join process") _, clusterinfo := kubeconfigutil.GetClusterFromKubeConfig(config) return kubeconfigutil.CreateWithToken( clusterinfo.Server, kubeadmapiv1.DefaultClusterName, TokenUser, clusterinfo.CertificateAuthorityData, cfg.Discovery.TLSBootstrapToken, ), nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 3.9K bytes - Viewed (0) -
cmd/kubeadm/app/discovery/file/file.go
return nil, err } // If the kubeconfig points to a file for the CA, make sure the CA file contents are embedded if err := kubeconfigutil.EnsureCertificateAuthorityIsEmbedded(currentCluster); err != nil { return nil, err } // If the discovery file config contains authentication credentials if kubeconfigutil.HasAuthenticationCredentials(config) {
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/cmd/util/join.go
package util import ( "bytes" "crypto/x509" "html/template" "strings" "github.com/pkg/errors" "k8s.io/client-go/tools/clientcmd" clientcertutil "k8s.io/client-go/util/cert" kubeconfigutil "k8s.io/kubernetes/cmd/kubeadm/app/util/kubeconfig" "k8s.io/kubernetes/cmd/kubeadm/app/util/pubkeypin" ) var joinCommandTemplate = template.Must(template.New("join").Parse(`` +
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 3.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/util/cmdutil.go
"k8s.io/kubernetes/cmd/kubeadm/app/cmd/options" kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants" kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util" "k8s.io/kubernetes/cmd/kubeadm/app/util/apiclient" kubeconfigutil "k8s.io/kubernetes/cmd/kubeadm/app/util/kubeconfig" ) // SubCmdRun returns a function that handles a case where a subcommand must be specified // Without this callback, if a user runs just the command without a subcommand,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 5.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/diff.go
"k8s.io/kubernetes/cmd/kubeadm/app/constants" "k8s.io/kubernetes/cmd/kubeadm/app/phases/controlplane" kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util" configutil "k8s.io/kubernetes/cmd/kubeadm/app/util/config" kubeconfigutil "k8s.io/kubernetes/cmd/kubeadm/app/util/kubeconfig" "k8s.io/kubernetes/cmd/kubeadm/app/util/output" ) type diffFlags struct { apiServerManifestPath string controllerManagerManifestPath string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/readwriter_test.go
"k8s.io/client-go/tools/clientcmd" certutil "k8s.io/client-go/util/cert" "k8s.io/client-go/util/keyutil" netutils "k8s.io/utils/net" kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants" kubeconfigutil "k8s.io/kubernetes/cmd/kubeadm/app/util/kubeconfig" "k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil" testutil "k8s.io/kubernetes/cmd/kubeadm/test" ) func TestPKICertificateReadWriter(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 15:17:24 UTC 2024 - 9.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/join/controlplaneprepare.go
"k8s.io/kubernetes/cmd/kubeadm/app/phases/controlplane" "k8s.io/kubernetes/cmd/kubeadm/app/phases/copycerts" kubeconfigphase "k8s.io/kubernetes/cmd/kubeadm/app/phases/kubeconfig" kubeconfigutil "k8s.io/kubernetes/cmd/kubeadm/app/util/kubeconfig" ) var controlPlanePrepareExample = cmdutil.Examples(` # Prepares the machine for serving a control plane kubeadm join phase control-plane-prepare all `)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:46:34 UTC 2024 - 9.5K bytes - Viewed (0)