- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for caFile (0.14 sec)
-
security/pkg/nodeagent/cafile/cafile.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package cafile import ( "istio.io/istio/pkg/security" ) // CACertFilePath stores the OS CA certificate file path var CACertFilePath = "" func init() { CACertFilePath = security.GetOSRootFilePath()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Sep 10 21:51:09 UTC 2021 - 790 bytes - Viewed (0) -
security/pkg/k8s/chiron/fuzz_test.go
f.Fuzz(func(t *testing.T, caCert []byte) { // create ca file caFile, err := os.Create("caFile") if err != nil { return } defer func() { caFile.Close() os.Remove("caFile") }() _, err = caFile.Write(caCert) if err != nil { return } // call readCACert() _, _ = readCACert("caFile") })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 12 14:51:41 UTC 2022 - 988 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/tls_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/controller/certificates/signer/ca_provider.go
"k8s.io/kubernetes/pkg/controller/certificates/authority" ) func newCAProvider(caFile, caKeyFile string) (*caProvider, error) { caLoader, err := dynamiccertificates.NewDynamicServingContentFromFiles("csr-controller", caFile, caKeyFile) if err != nil { return nil, fmt.Errorf("error reading CA cert file %q: %v", caFile, err) } ret := &caProvider{ caLoader: caLoader, } if err := ret.setCA(); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 16 18:33:22 UTC 2021 - 2.8K bytes - Viewed (0) -
pkg/kubelet/client/kubelet_client_test.go
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) -
pkg/test/echo/cmd/client/main.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 8.9K bytes - Viewed (0) -
pilot/cmd/pilot-agent/options/security.go
"istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/jwt" "istio.io/istio/pkg/log" "istio.io/istio/pkg/security" "istio.io/istio/security/pkg/credentialfetcher" "istio.io/istio/security/pkg/nodeagent/cafile" ) func NewSecurityOptions(proxyConfig *meshconfig.ProxyConfig, stsPort int, tokenManagerPlugin string) (*security.Options, error) { o := &security.Options{ CAEndpoint: caEndpointEnv,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 4.7K bytes - Viewed (0) -
pilot/pkg/keycertbundle/watcher_test.go
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: keyCertBundle := watcher.GetKeyCertBundle()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 28 17:46:00 UTC 2022 - 3.1K bytes - Viewed (0) -
cni/pkg/install/kubeconfig.go
} if cfg.SkipTLSVerify { // User explicitly opted into insecure. cluster.InsecureSkipTLSVerify = true } else { caFile := model.GetOrDefault(cfg.KubeCAFile, cfg.K8sServiceAccountPath+"/ca.crt") caContents, err := os.ReadFile(caFile) if err != nil { return kubeconfig{}, err } cluster.CertificateAuthorityData = caContents }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 4.8K bytes - Viewed (0) -
pkg/kubelet/client/kubelet_client.go
// transportConfig converts a client config to an appropriate transport config. 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
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 07 01:34:49 UTC 2023 - 7.4K bytes - Viewed (0)