- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 49 for CertificatesDir (0.15 sec)
-
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/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/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/util/config/resetconfiguration_test.go
fileContents: dedent.Dedent(` apiVersion: kubeadm.k8s.io/v1beta4 kind: ResetConfiguration force: true cleanupTmpDir: true criSocket: unix:///var/run/containerd/containerd.sock certificatesDir: /etc/kubernetes/pki ignorePreflightErrors: - a - b `), }, } for _, rt := range tests { t.Run(rt.name, func(t2 *testing.T) { cfgPath := filepath.Join(tmpdir, rt.name)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 06 13:21:52 UTC 2023 - 3.4K bytes - Viewed (0)