- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for renewCert (0.15 sec)
-
cmd/kubeadm/app/cmd/certs.go
internalcfg, err := getInternalCfg(flags.cfgPath, client, flags.cfg, &output.TextPrinter{}, "renew") if err != nil { return err } return renewCert(kdir, internalcfg, handler) } }(handler) // install the implementation into the command cmd.RunE = func(*cobra.Command, []string) error { return renewalFunc() } cmd.Args = cobra.NoArgs
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 19.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/node.go
func (d *nodeData) EtcdUpgrade() bool { return d.etcdUpgrade } // RenewCerts returns the renewCerts flag. func (d *nodeData) RenewCerts() bool { return d.renewCerts } // Cfg returns upgradeConfiguration. func (d *nodeData) Cfg() *kubeadmapi.UpgradeConfiguration { return d.cfg } // InitCfg returns the InitConfiguration. func (d *nodeData) InitCfg() *kubeadmapi.InitConfiguration {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 10K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go
} // otherwise, retrieve all the info required for control plane upgrade cfg := data.InitCfg() client := data.Client() dryRun := data.DryRun() etcdUpgrade := data.EtcdUpgrade() renewCerts := data.RenewCerts() patchesDir := data.PatchesDir() // Upgrade the control plane and etcd if installed on this node
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 2.8K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/apply.go
} else { return cmdutil.TypeMismatchErr("etcdUpgrade", "bool") } renewCerts, ok := cmdutil.ValueFromFlagsOrConfig(flagSet, options.CertificateRenewal, upgradeCfg.Apply.CertificateRenewal, &flags.renewCerts).(*bool) if ok { upgradeCfg.Apply.CertificateRenewal = renewCerts } else { return cmdutil.TypeMismatchErr("renewCerts", "bool") } if len(flags.patchesDir) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 03:55:23 UTC 2024 - 11.6K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/filerenewer.go
"crypto/x509" "k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil" ) // FileRenewer define a certificate renewer implementation that uses given CA cert and key for generating new certificates type FileRenewer struct { caCert *x509.Certificate caKey crypto.Signer } // NewFileRenewer returns a new certificate renewer that uses given CA cert and key for generating new certificates
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 11 00:35:31 UTC 2020 - 1.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/upgrade/node/data.go
) // Data is the interface to use for kubeadm upgrade node phases. // The "nodeData" type from "cmd/upgrade/node.go" must satisfy this interface. type Data interface { EtcdUpgrade() bool RenewCerts() bool DryRun() bool Cfg() *kubeadmapi.UpgradeConfiguration InitCfg() *kubeadmapi.InitConfiguration IsControlPlaneNode() bool Client() clientset.Interface IgnorePreflightErrors() sets.Set[string]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 1.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/upgrade/node/data_test.go
type testData struct{} // testData must satisfy Data. var _ Data = &testData{} func (t *testData) EtcdUpgrade() bool { return false } func (t *testData) RenewCerts() bool { return false } func (t *testData) DryRun() bool { return false } func (t *testData) Cfg() *kubeadmapi.UpgradeConfiguration { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/filerenewer_test.go
package renewal import ( "crypto/x509" "testing" certutil "k8s.io/client-go/util/cert" "k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil" ) func TestFileRenewer(t *testing.T) { // creates a File renewer using a test Certificate authority fr := NewFileRenewer(testCACert, testCAKey) // renews a certificate certCfg := &pkiutil.CertConfig{ Config: certutil.Config{ CommonName: "test-certs",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 28 04:36:54 UTC 2022 - 1.5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/staticpods.go
} // StaticPodControlPlane upgrades a static pod-hosted control plane func StaticPodControlPlane(client clientset.Interface, waiter apiclient.Waiter, pathMgr StaticPodPathManager, cfg *kubeadmapi.InitConfiguration, etcdUpgrade, renewCerts bool, oldEtcdClient, newEtcdClient etcdutil.ClusterInterrogator) error { recoverManifests := map[string]string{} var isExternalEtcd bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 10:07:41 UTC 2024 - 30.7K bytes - Viewed (0)