Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 81 for keyFiles (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/serving.go

    	CertFile string
    	// KeyFile is a file containing a PEM-encoded private key for the certificate specified by CertFile
    	KeyFile string
    }
    
    type GeneratableKeyCert struct {
    	// CertKey allows setting an explicit cert/key file to use.
    	CertKey CertKey
    
    	// CertDirectory specifies a directory to write generated certificates to if CertFile/KeyFile aren't explicitly set.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 13:08:18 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. pkg/kubelet/certificate/kubelet.go

    	if err != nil {
    		klog.ErrorS(err, "invalid certificate and key pair from file", "certFile", m.certFile, "keyFile", m.keyFile)
    		return
    	}
    	m.currentTLSCertificate.Store(&cert)
    	klog.V(4).InfoS("loaded certificate and key pair in kubelet server certificate manager", "certFile", m.certFile, "keyFile", m.keyFile)
    }
    
    // Current returns the last valid certificate key pair loaded from files.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:16 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/dynamic_serving_content.go

    func NewDynamicServingContentFromFiles(purpose, certFile, keyFile string) (*DynamicCertKeyPairContent, error) {
    	if len(certFile) == 0 || len(keyFile) == 0 {
    		return nil, fmt.Errorf("missing filename for serving cert")
    	}
    	name := fmt.Sprintf("%s::%s::%s", purpose, certFile, keyFile)
    
    	ret := &DynamicCertKeyPairContent{
    		name:     name,
    		certFile: certFile,
    		keyFile:  keyFile,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. security/pkg/pki/util/generate_cert_test.go

    				}
    			}
    		})
    	}
    }
    
    func TestGenCertFromCSR(t *testing.T) {
    	keyFile := "../testdata/key.pem"
    	certFile := "../testdata/cert.pem"
    	keycert, err := NewVerifiedKeyCertBundleFromFile(certFile, keyFile, nil, certFile)
    	if err != nil {
    		t.Errorf("Failed to load CA key and cert from files: %s, %s", keyFile, certFile)
    	}
    	signingCert, signingKey, _, _ := keycert.GetAll()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 06 12:48:53 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  9. pilot/pkg/bootstrap/certcontroller.go

    	if err := s.istiodCertBundleWatcher.SetFromFilesAndNotify(tlsOptions.KeyFile, tlsOptions.CertFile, tlsOptions.CaCertFile); err != nil {
    		return fmt.Errorf("set keyCertBundle failed: %v", err)
    	}
    	// TODO: Setup watcher for root and restart server if it changes.
    	for _, file := range []string{tlsOptions.CertFile, tlsOptions.KeyFile} {
    		log.Infof("adding watcher for certificate %s", file)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. pilot/pkg/bootstrap/server_test.go

    	}
    
    	if err := os.WriteFile(caFile, testcerts.CACert, 0o644); err != nil { // nolint: vetshadow
    		t.Fatalf("WriteFile(%v) failed: %v", caFile, err)
    	}
    
    	tlsOptions := TLSOptions{
    		CertFile:   certFile,
    		KeyFile:    keyFile,
    		CaCertFile: caFile,
    	}
    
    	// setup cert watches.
    	if err := s.initFileCertificateWatches(tlsOptions); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top