- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 109 for caFile (0.37 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/signer.go
caFile, caKeyFile string, certTTL time.Duration, ) (*CSRSigningController, error) { return NewCSRSigningController(ctx, "csrsigning-kube-apiserver-client", capi.KubeAPIServerClientSignerName, client, csrInformer, caFile, caKeyFile, certTTL) } func NewLegacyUnknownCSRSigningController( ctx context.Context, client clientset.Interface, csrInformer certificatesinformers.CertificateSigningRequestInformer, caFile, caKeyFile string,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 15 03:26:08 UTC 2023 - 10.3K 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) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/config_flags.go
flags.BoolVar(f.Insecure, flagInsecure, *f.Insecure, "If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure") } if f.CAFile != nil { flags.StringVar(f.CAFile, flagCAFile, *f.CAFile, "Path to a cert file for the certificate authority") } if f.Timeout != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 11 15:04:11 UTC 2023 - 16.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)