- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for HasCA (0.07 sec)
-
pkg/scheduler/extender.go
cfg.TLSClientConfig.KeyData = config.TLSConfig.KeyData cfg.TLSClientConfig.CAData = config.TLSConfig.CAData } if config.EnableHTTPS { hasCA := len(cfg.CAFile) > 0 || len(cfg.CAData) > 0 if !hasCA { cfg.Insecure = true } } tlsConfig, err := restclient.TLSConfigFor(&cfg) if err != nil { return nil, err } if tlsConfig != nil {
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
// 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 ReloadTLSFiles: true, }, } if !cfg.HasCA() { cfg.TLS.Insecure = true } return cfg } // NodeGetter defines an interface for looking up a node by name type NodeGetter interface {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 07 01:34:49 UTC 2023 - 7.4K bytes - Viewed (0)