Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 114 for keyFiles (0.15 sec)

  1. cmd/kube-controller-manager/app/certificates.go

    }
    func areKubeletClientSignerFilesSpecified(config csrsigningconfig.CSRSigningControllerConfiguration) bool {
    	// if only one is specified, it will error later during construction
    	return len(config.KubeletClientSignerConfiguration.CertFile) > 0 || len(config.KubeletClientSignerConfiguration.KeyFile) > 0
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go

    				certBundleFile := filepath.Join(sniDir, "cert")
    				keyFile := filepath.Join(sniDir, "key")
    				err := getOrCreateTestCertFiles(certBundleFile, keyFile, c.TestCertSpec)
    				if err != nil {
    					t.Fatalf("failed to create SNI cert %d: %v", j, err)
    				}
    
    				namedCertKeys = append(namedCertKeys, cliflag.NamedCertKey{
    					KeyFile:  keyFile,
    					CertFile: certBundleFile,
    					Names:    c.explicitNames,
    				})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 15:52:39 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. pkg/kubelet/client/kubelet_client_test.go

    )
    
    func TestMakeTransportInvalid(t *testing.T) {
    	config := &KubeletClientConfig{
    		// Invalid certificate and key path
    		TLSClientConfig: KubeletTLSConfig{
    			CertFile: "../../client/testdata/mycertinvalid.cer",
    			KeyFile:  "../../client/testdata/mycertinvalid.key",
    			CAFile:   "../../client/testdata/myCA.cer",
    		},
    	}
    
    	rt, err := MakeTransport(config)
    	if err == nil {
    		t.Errorf("Expected an error")
    	}
    	if rt != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 07 01:34:49 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/DeploymentContinuousBuildIntegrationTest.groovy

            then:
            def key = fixture.keyFile.text
            fixture.assertDeploymentIsRunning(key)
            buildTimes.size() == 2
            buildTimes[0] >= buildTimes[1]
        }
    
        @ToBeFixedForConfigurationCache
        def "deployment in continuous build reports accurate build time" () {
            when:
            succeeds("runDeployment")
    
            then:
            def key = fixture.keyFile.text
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. pkg/controller/certificates/signer/config/v1alpha1/zz_generated.conversion.go

    }
    
    func autoConvert_v1alpha1_CSRSigningConfiguration_To_config_CSRSigningConfiguration(in *v1alpha1.CSRSigningConfiguration, out *config.CSRSigningConfiguration, s conversion.Scope) error {
    	out.CertFile = in.CertFile
    	out.KeyFile = in.KeyFile
    	return nil
    }
    
    // Convert_v1alpha1_CSRSigningConfiguration_To_config_CSRSigningConfiguration is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 8K bytes
    - Viewed (0)
  6. pkg/controller/certificates/signer/config/types.go

    type CSRSigningConfiguration struct {
    	// certFile is the filename containing a PEM-encoded
    	// X509 CA certificate used to issue certificates
    	CertFile string
    	// keyFile is the filename containing a PEM-encoded
    	// RSA or ECDSA private key used to issue certificates
    	KeyFile string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 02 03:38:15 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  7. pilot/pkg/keycertbundle/watcher_test.go

    	cert := []byte("cert")
    	ca := []byte("caBundle")
    	keyFile := path.Join(tmpDir, "key.pem")
    	certFile := path.Join(tmpDir, "cert.pem")
    	caFile := path.Join(tmpDir, "ca.pem")
    
    	os.WriteFile(keyFile, key, os.ModePerm)
    	os.WriteFile(certFile, cert, os.ModePerm)
    	os.WriteFile(caFile, ca, os.ModePerm)
    
    	// 2. set key cert bundle
    	watcher.SetFromFilesAndNotify(keyFile, certFile, caFile)
    	select {
    	case <-watch1:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 28 17:46:00 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  8. pkg/test/csrctrl/signer/ca_provider.go

    func (p *caProvider) currentKeyContent() ([]byte, error) {
    	keyBytes, err := os.ReadFile(p.caIntermediate.KeyFile)
    	if err != nil {
    		return []byte(""), fmt.Errorf("error reading private key from key file %s: %v", p.caLoader.KeyFile, err)
    	}
    	return keyBytes, nil
    }
    
    // setCA unconditionally stores the current cert/key content
    func (p *caProvider) setCA() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 27 08:14:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/dynamic_sni_content.go

    func NewDynamicSNIContentFromFiles(purpose, certFile, keyFile string, sniNames ...string) (*DynamicFileSNIContent, error) {
    	servingContent, err := NewDynamicServingContentFromFiles(purpose, certFile, keyFile)
    	if err != nil {
    		return nil, err
    	}
    
    	ret := &DynamicFileSNIContent{
    		DynamicCertKeyPairContent: servingContent,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 12 18:29:15 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/common/call.go

    		Cert:                    opts.TLS.Cert,
    		Key:                     opts.TLS.Key,
    		CaCert:                  opts.TLS.CaCert,
    		CertFile:                opts.TLS.CertFile,
    		KeyFile:                 opts.TLS.KeyFile,
    		CaCertFile:              opts.TLS.CaCertFile,
    		InsecureSkipVerify:      opts.TLS.InsecureSkipVerify,
    		Alpn:                    getProtoALPN(opts.TLS.Alpn),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top