- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 72 for TLSClientConfig (0.21 sec)
-
cmd/kube-apiserver/app/options/options.go
fs.StringVar(&s.KubeletConfig.TLSClientConfig.CertFile, "kubelet-client-certificate", s.KubeletConfig.TLSClientConfig.CertFile, "Path to a client cert file for TLS.") fs.StringVar(&s.KubeletConfig.TLSClientConfig.KeyFile, "kubelet-client-key", s.KubeletConfig.TLSClientConfig.KeyFile, "Path to a client key file for TLS.")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 12:19:56 UTC 2024 - 6.5K bytes - Viewed (0) -
pkg/kubelet/certificate/bootstrap/bootstrap_test.go
Host: "https://cluster-b.com", TLSClientConfig: restclient.TLSClientConfig{ CertFile: filepath.Join(fileDir, "mycertvalid.crt"), KeyFile: filepath.Join(fileDir, "mycertvalid.key"), }, BearerToken: "", }, expectedClientConfig: &restclient.Config{ Host: "https://cluster-b.com", TLSClientConfig: restclient.TLSClientConfig{ CertFile: filepath.Join(fileDir, "mycertvalid.crt"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 09 14:24:11 UTC 2023 - 13K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/webhook/client.go
cfg.QPS = -1 // Combine CAData from the config with any existing CA bundle provided if len(cfg.TLSClientConfig.CAData) > 0 { cfg.TLSClientConfig.CAData = append(cfg.TLSClientConfig.CAData, '\n') } cfg.TLSClientConfig.CAData = append(cfg.TLSClientConfig.CAData, cc.CABundle...) cfg.ContentConfig.NegotiatedSerializer = cm.negotiatedSerializer
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 04 09:09:10 UTC 2024 - 7.3K bytes - Viewed (0) -
internal/http/transports.go
IdleConnTimeout: 15 * time.Second, ResponseHeaderTimeout: 15 * time.Minute, // Conservative timeout is the default (for MinIO internode) TLSHandshakeTimeout: 10 * time.Second, TLSClientConfig: &tlsClientConfig, ForceAttemptHTTP2: s.EnableHTTP2, // Go net/http automatically unzip if content-type is // gzip disable this feature, as we are always interested // in raw stream. DisableCompression: true,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6K bytes - Viewed (0) -
pkg/kubelet/client/kubelet_client_test.go
"net/http/httptest" "net/http/httputil" "net/url" "strconv" "testing" ) 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", }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 07 01:34:49 UTC 2023 - 2.9K bytes - Viewed (0) -
pkg/scheduler/extender.go
if config.TLSConfig != nil { cfg.TLSClientConfig.Insecure = config.TLSConfig.Insecure cfg.TLSClientConfig.ServerName = config.TLSConfig.ServerName cfg.TLSClientConfig.CertFile = config.TLSConfig.CertFile cfg.TLSClientConfig.KeyFile = config.TLSConfig.KeyFile cfg.TLSClientConfig.CAFile = config.TLSConfig.CAFile cfg.TLSClientConfig.CertData = config.TLSConfig.CertData cfg.TLSClientConfig.KeyData = config.TLSConfig.KeyData
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 19:07:19 UTC 2024 - 13.4K bytes - Viewed (0) -
pkg/kubelet/client/kubelet_client.go
func (c *KubeletClientConfig) transportConfig() *transport.Config { cfg := &transport.Config{ TLS: transport.TLSConfig{ CAFile: c.TLSClientConfig.CAFile, CertFile: c.TLSClientConfig.CertFile, KeyFile: c.TLSClientConfig.KeyFile, // transport.loadTLSFiles would set this to true because we are only using files // it is clearer to set it explicitly here so we remember that this is happening
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 07 01:34:49 UTC 2023 - 7.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/config_selfclient.go
if err != nil { return nil, err } return &restclient.Config{ // Do not limit loopback client QPS. QPS: -1, Host: "https://" + net.JoinHostPort(host, port), TLSClientConfig: restclient.TLSClientConfig{ CAData: caCert, }, }, nil } func (s *SecureServingInfo) NewLoopbackClientConfig(token string, loopbackCert []byte) (*restclient.Config, error) { c, err := s.NewClientConfig(loopbackCert)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 23 00:06:34 UTC 2021 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/authentication_info_resolver.go
// every call to its methods. func NewAuthenticationInfoResolver(cacheMisses *int32) webhook.AuthenticationInfoResolver { return &authenticationInfoResolver{ restConfig: &rest.Config{ TLSClientConfig: rest.TLSClientConfig{ CAData: testcerts.CACert, CertData: testcerts.ClientCert, KeyData: testcerts.ClientKey, }, }, cacheMisses: cacheMisses, } } type authenticationInfoResolver struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 18 18:49:55 UTC 2022 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/net/http_test.go
Transport: &http.Transport{TLSClientConfig: &tls.Config{}}, ExpectAllows: true, }, { Name: "zero-length NextProtos", Transport: &http.Transport{TLSClientConfig: &tls.Config{NextProtos: []string{}}}, ExpectAllows: true, }, { Name: "includes h2 in NextProtos after", Transport: &http.Transport{TLSClientConfig: &tls.Config{NextProtos: []string{"http/1.1", "h2"}}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 18 01:21:56 UTC 2023 - 24.5K bytes - Viewed (0)