- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 51 for CertificatesDir (0.29 sec)
-
cmd/kubeadm/app/cmd/init.go
`Specify a stable IP address or DNS name for the control plane.`, ) options.AddKubernetesVersionFlag(flagSet, &cfg.KubernetesVersion) flagSet.StringVar( &cfg.CertificatesDir, options.CertificatesDir, cfg.CertificatesDir, `The path where to save and store the certificates.`, ) flagSet.StringSliceVar( &cfg.APIServer.CertSANs, options.APIServerCertSANs, cfg.APIServer.CertSANs,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 17 03:37:05 UTC 2024 - 24.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/staticpods_test.go
tlsInfo := transport.TLSInfo{ CertFile: filepath.Join(c.CertificatesDir, constants.EtcdCACertName), KeyFile: filepath.Join(c.CertificatesDir, constants.EtcdHealthcheckClientCertName), TrustedCAFile: filepath.Join(c.CertificatesDir, constants.EtcdHealthcheckClientKeyName), } _, err := tlsInfo.ClientConfig() return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 32K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/data_test.go
func (t *testData) DryRun() bool { return false } func (t *testData) Client() clientset.Interface { return nil } func (t *testData) CertificatesDir() string { return "" } func (t *testData) CRISocketPath() string { return "" } func (t *testData) CleanupTmpDir() bool { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 09:03:31 UTC 2023 - 1.6K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta3/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: Sun Jan 14 13:07:56 UTC 2024 - 6.5K 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/phases/certs/certs_test.go
t.Run("", func(t *testing.T) { tmpdir := testutil.SetupTempDir(t) os.MkdirAll(tmpdir+"/etcd", os.ModePerm) defer os.RemoveAll(tmpdir) cfg := &kubeadmapi.ClusterConfiguration{ CertificatesDir: tmpdir, } // created expected keys certstestutil.WritePKIFiles(t, tmpdir, test.files) // executes create func ret, err := SharedCertificateExists(cfg) switch {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 23.3K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/manager.go
for ca, certs := range certTree { for _, cert := range certs { // create a ReadWriter for certificates stored in the K8s local PKI pkiReadWriter := newPKICertificateReadWriter(rm.cfg.CertificatesDir, cert.BaseName) certConfigMutators := loadCertConfigMutators(cert.BaseName) // adds the certificateRenewHandler. // PKI certificates are indexed by name, that is a well know constant defined
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 15K 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/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/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)