- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 64 for certificatesDir (0.2 sec)
-
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/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) -
cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go
func CreateJoinControlPlaneKubeConfigFiles(outDir string, cfg *kubeadmapi.InitConfiguration) error { var externalCA bool caKeyPath := filepath.Join(cfg.CertificatesDir, kubeadmconstants.CAKeyName) if _, err := os.Stat(caKeyPath); os.IsNotExist(err) { externalCA = true } files := []string{ kubeadmconstants.AdminKubeConfigFileName,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:04:18 UTC 2024 - 27K bytes - Viewed (0) -
cmd/kubeadm/app/phases/controlplane/volumes_test.go
cfg: &kubeadmapi.ClusterConfiguration{ CertificatesDir: testCertsDir, Etcd: kubeadmapi.Etcd{}, }, vol: volMap, volMount: volMountMap, }, { name: "Should ignore files in /etc/ssl/certs and in CertificatesDir", cfg: &kubeadmapi.ClusterConfiguration{ CertificatesDir: testCertsDir, Etcd: kubeadmapi.Etcd{ External: &kubeadmapi.ExternalEtcd{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 09:33:18 UTC 2024 - 18.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/copycerts/copycerts.go
if err != nil { return nil, err } return cryptoutil.EncryptBytes(cert, key) } func certsToTransfer(cfg *kubeadmapi.InitConfiguration) map[string]string { certsDir := cfg.CertificatesDir certs := map[string]string{ kubeadmconstants.CACertName: filepath.Join(certsDir, kubeadmconstants.CACertName),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 01 00:15:30 UTC 2023 - 10.2K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.conversion.go
return err } if err := Convert_v1beta4_Proxy_To_kubeadm_Proxy(&in.Proxy, &out.Proxy, s); err != nil { return err } out.CertificatesDir = in.CertificatesDir out.ImageRepository = in.ImageRepository out.FeatureGates = *(*map[string]bool)(unsafe.Pointer(&in.FeatureGates)) out.ClusterName = in.ClusterName
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 61.4K bytes - Viewed (0)