- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for CertificatesDir (0.49 sec)
-
cmd/kubeadm/app/cmd/phases/join/controlplaneprepare.go
return err } fmt.Printf("[certs] Using certificateDir folder %q\n", cfg.CertificatesDir) // if dryrunning, write certificates files to a temporary folder (and defer restore to the path originally specified by the user) certsDir := cfg.CertificatesDir cfg.CertificatesDir = data.CertificateWriteDir() defer func() { cfg.CertificatesDir = certsDir }() // Generate missing certificates (if any)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:46:34 UTC 2024 - 9.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/reset_test.go
flags: map[string]string{ options.CertificatesDir: "/tmp", options.NodeCRISocket: constants.CRISocketCRIO, options.IgnorePreflightErrors: "all", options.ForceReset: "true", options.DryRun: "true", options.CleanupTmpDir: "true", }, data: &resetData{ certificatesDir: "/tmp", criSocketPath: constants.CRISocketCRIO,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 13:42:50 UTC 2024 - 8.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/kubeletfinalize.go
InheritFlags: []string{options.CfgPath, options.CertificatesDir, options.DryRun}, Example: kubeletFinalizePhaseExample, RunAllSiblings: true, }, { Name: "enable-client-cert-rotation", Short: "Enable kubelet client certificate rotation", InheritFlags: []string{options.CfgPath, options.CertificatesDir, options.DryRun}, Run: runKubeletFinalizeEnableClientCertRotation,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 10:54:51 UTC 2024 - 6.8K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults.go
obj.Networking.ServiceSubnet = DefaultServicesSubnet } if obj.Networking.DNSDomain == "" { obj.Networking.DNSDomain = DefaultServiceDNSDomain } if obj.CertificatesDir == "" { obj.CertificatesDir = DefaultCertificatesDir } if obj.ImageRepository == "" { obj.ImageRepository = DefaultImageRepository } if obj.ClusterName == "" { obj.ClusterName = DefaultClusterName }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 9.3K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/fuzzer/fuzzer.go
c.FuzzNoCustom(obj) // Pinning values for fields that get defaults if fuzz value is empty string or nil (thus making the round trip test fail) obj.CertificatesDir = "foo" obj.ClusterName = "bar" obj.ImageRepository = "baz" obj.CIImageRepository = "" // This fields doesn't exists in public API >> using default to get the roundtrip test pass obj.KubernetesVersion = "qux"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 13 06:41:07 UTC 2024 - 6.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go
return workflow.Phase{ Name: "cleanup-node", Aliases: []string{"cleanupnode"}, Short: "Run cleanup node.", Run: runCleanupNode, InheritFlags: []string{ options.CertificatesDir, options.NodeCRISocket, options.CleanupTmpDir, options.DryRun, }, } } func runCleanupNode(c workflow.RunData) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/kubelet_test.go
RotateCertificates: kubeletRotateCertificates, CgroupDriver: constants.CgroupDriverSystemd, }, }, }, { name: "CertificatesDir defaulting works", clusterCfg: kubeadmapi.ClusterConfiguration{ CertificatesDir: "/path/to/certs", }, expected: kubeletConfig{ config: kubeletconfig.KubeletConfiguration{ FeatureGates: map[string]bool{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 10:26:46 UTC 2024 - 9.6K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/constant.go
// APIServerExtraArgs flag sets a extra flags to pass to the API Server or override default ones in form of <flagname>=<value>. APIServerExtraArgs = "apiserver-extra-args" // CertificatesDir flag sets the path where to save and read the certificates. CertificatesDir = "cert-dir" // CfgPath flag sets the path to kubeadm config file. CfgPath = "config"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 6.9K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certlist_test.go
defer os.RemoveAll(dir) ic := &kubeadmapi.InitConfiguration{ NodeRegistration: kubeadmapi.NodeRegistrationOptions{ Name: "test-node", }, ClusterConfiguration: kubeadmapi.ClusterConfiguration{ CertificatesDir: dir, }, } caCfg := Certificates{ { config: pkiutil.CertConfig{}, Name: "test-ca", BaseName: "test-ca", }, { config: pkiutil.CertConfig{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 8.8K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/kubeconfig_test.go
}, } clusterCfg := kubeadmapiv1.ClusterConfiguration{ TypeMeta: metav1.TypeMeta{ APIVersion: kubeadmapiv1.SchemeGroupVersion.String(), Kind: "ClusterConfiguration", }, CertificatesDir: certDir, ClusterName: clusterName, KubernetesVersion: kubeadmconstants.MinimumControlPlaneVersion.String(), } var buf bytes.Buffer data, err := yaml.Marshal(&initCfg) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 5.5K bytes - Viewed (0)