Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for ClientCAFile (0.18 sec)

  1. cmd/kubeadm/app/componentconfigs/kubelet_windows_test.go

    					X509: kubeletconfig.KubeletX509Authentication{
    						ClientCAFile: "/foo/ca.crt",
    					},
    				},
    			},
    			expected: &kubeletconfig.KubeletConfiguration{
    				ResolverConfig: ptr.To(""),
    				StaticPodPath:  filepath.Join(drive, "/foo/staticpods"),
    				Authentication: kubeletconfig.KubeletAuthentication{
    					X509: kubeletconfig.KubeletX509Authentication{
    						ClientCAFile: filepath.Join(drive, "/foo/ca.crt"),
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/componentconfigs/kubelet.go

    	clientCAFile := filepath.Join(cfg.CertificatesDir, constants.CACertName)
    	if kc.config.Authentication.X509.ClientCAFile == "" {
    		kc.config.Authentication.X509.ClientCAFile = clientCAFile
    	} else if kc.config.Authentication.X509.ClientCAFile != clientCAFile {
    		warnDefaultComponentConfigValue(kind, "authentication.x509.clientCAFile", clientCAFile, kc.config.Authentication.X509.ClientCAFile)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/componentconfigs/kubelet_test.go

    					ClusterDNS:    []string{kubeadmapiv1.DefaultClusterDNSIP},
    					Authentication: kubeletconfig.KubeletAuthentication{
    						X509: kubeletconfig.KubeletX509Authentication{
    							ClientCAFile: constants.CACertName,
    						},
    						Anonymous: kubeletconfig.KubeletAnonymousAuthentication{
    							Enabled: ptr.To(kubeletAuthenticationAnonymousEnabled),
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/componentconfigs/kubelet_windows.go

    	cfg.ResolverConfig = ptr.To("")
    	mutateStringField("staticPodPath", &cfg.StaticPodPath)
    	mutateStringField("authentication.x509.clientCAFile", &cfg.Authentication.X509.ClientCAFile)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/authentication_test.go

    				AllowedNames:        headerrequest.StaticStringSlice{"kube-aggregator"},
    			},
    		},
    		{
    			name: "test when ClientCAFile is not nil",
    			testOptions: &RequestHeaderAuthenticationOptions{
    				ClientCAFile:        "testdata/root.pem",
    				UsernameHeaders:     headerrequest.StaticStringSlice{"x-remote-user"},
    				GroupHeaders:        headerrequest.StaticStringSlice{"x-remote-group"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 23 15:01:56 UTC 2019
    - 6.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/authentication.go

    		Factor:   1.5,
    		Jitter:   0.2,
    		Steps:    5,
    	}
    }
    
    type RequestHeaderAuthenticationOptions struct {
    	// ClientCAFile is the root certificate bundle to verify client certificates on incoming requests
    	// before trusting usernames in headers.
    	ClientCAFile string
    
    	UsernameHeaders     []string
    	GroupHeaders        []string
    	ExtraHeaderPrefixes []string
    	AllowedNames        []string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 21 14:51:22 UTC 2023
    - 19.9K bytes
    - Viewed (0)
  7. cmd/kubelet/app/auth.go

    	var dynamicCAContentFromFile *dynamiccertificates.DynamicFileCAContent
    	var err error
    	if len(authn.X509.ClientCAFile) > 0 {
    		dynamicCAContentFromFile, err = dynamiccertificates.NewDynamicCAContentFromFile("client-ca-bundle", authn.X509.ClientCAFile)
    		if err != nil {
    			return nil, nil, err
    		}
    	}
    
    	authenticatorConfig := authenticatorfactory.DelegatingAuthenticatorConfig{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 07 14:37:01 UTC 2022
    - 5K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/config/helpers.go

    func KubeletConfigurationPathRefs(kc *KubeletConfiguration) []*string {
    	paths := []*string{}
    	paths = append(paths, &kc.StaticPodPath)
    	paths = append(paths, &kc.Authentication.X509.ClientCAFile)
    	paths = append(paths, &kc.TLSCertFile)
    	paths = append(paths, &kc.TLSPrivateKeyFile)
    	paths = append(paths, &kc.ResolverConfig)
    	paths = append(paths, &kc.VolumePluginDir)
    	paths = append(paths, &kc.PodLogsDir)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/v1beta1/defaults_test.go

    				TLSMinVersion:      "",
    				RotateCertificates: false,
    				ServerTLSBootstrap: false,
    				Authentication: v1beta1.KubeletAuthentication{
    					X509: v1beta1.KubeletX509Authentication{ClientCAFile: ""},
    					Webhook: v1beta1.KubeletWebhookAuthentication{
    						Enabled:  utilpointer.Bool(false),
    						CacheTTL: zeroDuration,
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 51K bytes
    - Viewed (0)
  10. pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go

    }
    
    func autoConvert_v1beta1_KubeletX509Authentication_To_config_KubeletX509Authentication(in *v1beta1.KubeletX509Authentication, out *config.KubeletX509Authentication, s conversion.Scope) error {
    	out.ClientCAFile = in.ClientCAFile
    	return nil
    }
    
    // Convert_v1beta1_KubeletX509Authentication_To_config_KubeletX509Authentication is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 48.9K bytes
    - Viewed (0)
Back to top