- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for CAData (0.1 sec)
-
istioctl/pkg/multicluster/remote_secret_test.go
sa := makeServiceAccount("saSecret") sa2 := makeServiceAccount("saSecret", "saSecret2") saSecret := makeSecret("saSecret", "caData", "token") saSecret2 := makeSecret("saSecret2", "caData", "token") saSecretMissingToken := makeSecret("saSecret", "caData", "") tokenWaitBackoff = 10 * time.Millisecond cases := []struct { testName string objs []runtime.Object
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 20.6K 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) -
istioctl/pkg/multicluster/remote_secret.go
}, CurrentContext: clusterName, } } func createBearerTokenKubeconfig(caData, token []byte, clusterName, server string) *api.Config { c := createBaseKubeconfig(caData, clusterName, server) c.AuthInfos[c.CurrentContext] = &api.AuthInfo{ Token: string(token), } return c } func createPluginKubeconfig(caData []byte, clusterName, server string, authProviderConfig *api.AuthProviderConfig) *api.Config {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 11 01:43:17 UTC 2023 - 24K bytes - Viewed (0) -
pkg/kubelet/certificate/bootstrap/bootstrap.go
func writeKubeconfigFromBootstrapping(bootstrapClientConfig *restclient.Config, kubeconfigPath, pemPath string) error { // Get the CA data from the bootstrap client config. caFile, caData := bootstrapClientConfig.CAFile, []byte{} if len(caFile) == 0 { caData = bootstrapClientConfig.CAData } // Build resulting kubeconfig. kubeconfigData := clientcmdapi.Config{ // Define a cluster stanza based on the bootstrap kubeconfig.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 27 08:04:25 UTC 2022 - 14.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/authentication_info_resolver.go
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 { restConfig *rest.Config
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 18 18:49:55 UTC 2022 - 2.7K bytes - Viewed (0) -
pkg/kube/client_config.go
TLSServerName: restConfig.ServerName, InsecureSkipTLSVerify: restConfig.Insecure, CertificateAuthority: restConfig.CAFile, CertificateAuthorityData: restConfig.CAData, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 17 16:52:06 UTC 2020 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/config_selfclient.go
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) if err != nil || c == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 23 00:06:34 UTC 2021 - 3.1K bytes - Viewed (0) -
pkg/scheduler/extender.go
cfg.TLSClientConfig.CertData = config.TLSConfig.CertData 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 }
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/scheduler/apis/config/zz_generated.deepcopy.go
*out = make([]byte, len(*in)) copy(*out, *in) } if in.KeyData != nil { in, out := &in.KeyData, &out.KeyData *out = make([]byte, len(*in)) copy(*out, *in) } if in.CAData != nil { in, out := &in.CAData, &out.CAData *out = make([]byte, len(*in)) copy(*out, *in) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderTLSConfig.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 22:02:57 UTC 2022 - 16.2K bytes - Viewed (0) -
pkg/scheduler/apis/config/types.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 18:47:23 UTC 2024 - 14.8K bytes - Viewed (0)