- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 200 for caCert (0.19 sec)
-
cmd/kubeadm/app/phases/upgrade/staticpods_test.go
certsphase.KubeadmCertEtcdAPIClient(), } { if err := cert.CreateFromCA(newcfg, caCert, caKey); err != nil { t.Fatalf("couldn't create certificate %s: %v", cert.Name, err) } } actualErr := StaticPodControlPlane( nil, waiter, pathMgr, newcfg, true, true, fakeTLSEtcdClient{ TLS: false, }, fakePodManifestEtcdClient{
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/phases/certs/renewal/readwriter.go
} // The CA cert is required for updating kubeconfig files. // For local CA renewal, the local CA on disk could have changed, thus a reload is needed. // For CSR renewal we assume the same CA on disk is mounted for usage with KCM's // '--cluster-signing-cert-file' flag. certificatePath, _ := pkiutil.PathsForCertAndKey(rw.certificateDir, rw.baseName) caCerts, err := certutil.CertsFromFile(certificatePath)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 01 03:09:53 UTC 2024 - 8.4K bytes - Viewed (0) -
pilot/pkg/xds/sds.go
// and push skipping. This is because an secret potentially has a dependency on the same secret with or without // the -cacert suffix. By including this dependency we ensure we do not miss any updates. // This is important for cases where we have a compound secret. In this case, the `foo` secret may update, // but we need to push both the `foo` and `foo-cacert` resource name, or they will fall out of sync. func relatedConfigs(k model.ConfigKey) []model.ConfigKey {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 23:04:36 UTC 2024 - 15.8K bytes - Viewed (0) -
tests/integration/security/file_mounted_certs/main_test.go
var privateKey, clientCert, caCert []byte var err error if privateKey, err = ReadCustomCertFromFile(certsPath, "key.pem"); err != nil { return err } if clientCert, err = ReadCustomCertFromFile(certsPath, "cert-chain.pem"); err != nil { return err } if caCert, err = ReadCustomCertFromFile(certsPath, "root-cert.pem"); err != nil { return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 13.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go
}, } for _, rt := range tests { t.Run(rt.name, func(t *testing.T) { caCert := &x509.Certificate{} config := &CertConfig{ Config: certutil.Config{ CommonName: "test", Organization: []string{"test"}, Usages: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth}, }, } _, _, err := NewCertAndKey(caCert, rt.key, config) if err != nil { t.Errorf("failed NewCertAndKey: %v", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 22.5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certlist_test.go
} for _, test := range tests { t.Run(test.name, func(t *testing.T) { certMap := test.certs.AsMap() for _, cert := range test.certs { if cert.CAName != "" && certMap[cert.CAName] == nil { t.Errorf("Certificate %q references nonexistent CA %q", cert.Name, cert.CAName) } } }) } } func TestMakeCertTree(t *testing.T) { rootCert := &KubeadmCert{ Name: "root", }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 8.8K bytes - Viewed (0) -
pkg/webhooks/validation/controller/controller_test.go
func TestLoadCaCertPem(t *testing.T) { cases := []struct { name string cert []byte wantError bool }{ { name: "valid pem", cert: testcerts.CACert, wantError: false, }, { name: "pem decode error", cert: append([]byte("-----codec"), testcerts.CACert...), wantError: true, }, { name: "pem wrong type", wantError: true,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 05 03:21:04 UTC 2024 - 11.8K bytes - Viewed (0) -
pkg/config/analysis/analyzers/analyzers_test.go
}, { name: "destinationrule with no cacert, simple at destinationlevel", inputFiles: []string{ "testdata/destinationrule-simple-destination.yaml", }, analyzer: &destinationrule.CaCertificateAnalyzer{}, expected: []message{ {msg.NoServerCertificateVerificationDestinationLevel, "DestinationRule db-tls"}, }, }, { name: "destinationrule with no cacert, mutual at destinationlevel",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 07:22:31 UTC 2024 - 42.6K bytes - Viewed (0) -
pkg/test/echo/proto/echo.pb.go
// If non-empty, make the request with the corresponding cert and key. Cert string `protobuf:"bytes,10,opt,name=cert,proto3" json:"cert,omitempty"` Key string `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` // If non-empty, verify the server CA CaCert string `protobuf:"bytes,12,opt,name=caCert,proto3" json:"caCert,omitempty"` // If non-empty, make the request with the corresponding cert and key file.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 02:27:10 UTC 2024 - 33.3K bytes - Viewed (0) -
cmd/kubeadm/app/discovery/token/token_test.go
kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm" "k8s.io/kubernetes/cmd/kubeadm/app/util/apiclient" ) func TestRetrieveValidatedConfigInfo(t *testing.T) { const ( caCert = `-----BEGIN CERTIFICATE----- MIICyDCCAbCgAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl cm5ldGVzMB4XDTE5MTEyMDAwNDk0MloXDTI5MTExNzAwNDk0MlowFTETMBEGA1UE AxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMqQ
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 10.9K bytes - Viewed (0)