Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for SecureServing (0.18 sec)

  1. cmd/kube-controller-manager/app/options/options.go

    		return err
    	}
    	if err := s.SecureServing.ApplyTo(&c.SecureServing, &c.LoopbackClientConfig); err != nil {
    		return err
    	}
    	if s.SecureServing.BindPort != 0 || s.SecureServing.Listener != nil {
    		if err := s.Authentication.ApplyTo(&c.Authentication, c.SecureServing, nil); err != nil {
    			return err
    		}
    		if err := s.Authorization.ApplyTo(&c.Authorization); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 20:41:50 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  2. cmd/kube-apiserver/app/testing/testserver.go

    			}
    			s.PeerCAFile = filepath.Join(s.SecureServing.ServerCert.CertDirectory, s.SecureServing.ServerCert.PairName+".crt")
    		}
    	}
    
    	s.SecureServing.ExternalAddress = s.SecureServing.Listener.Addr().(*net.TCPAddr).IP // use listener addr although it is a loopback device
    
    	pkgPath, err := pkgPath(t)
    	if err != nil {
    		return result, err
    	}
    	s.SecureServing.ServerCert.FixtureDirectory = filepath.Join(pkgPath, "testdata")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. cmd/kube-scheduler/app/options/options.go

    	if err != nil {
    		return err
    	}
    	c.KubeConfig = kubeConfig
    
    	if err := o.SecureServing.ApplyTo(&c.SecureServing, &c.LoopbackClientConfig); err != nil {
    		return err
    	}
    	if o.SecureServing != nil && (o.SecureServing.BindPort != 0 || o.SecureServing.Listener != nil) {
    		if err := o.Authentication.ApplyTo(&c.Authentication, c.SecureServing, nil); err != nil {
    			return err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 17:06:29 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. pkg/controlplane/apiserver/options/options.go

    		if len(completed.Authentication.ServiceAccounts.KeyFiles) == 0 && completed.SecureServing.ServerCert.CertKey.KeyFile != "" {
    			if kubeauthenticator.IsValidServiceAccountKeyFile(completed.SecureServing.ServerCert.CertKey.KeyFile) {
    				completed.Authentication.ServiceAccounts.KeyFiles = []string{completed.SecureServing.ServerCert.CertKey.KeyFile}
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. cmd/kube-scheduler/app/server_test.go

    			}
    
    			fs := pflag.NewFlagSet("test", pflag.PanicOnError)
    			opts := options.NewOptions()
    
    			// use listeners instead of static ports so parallel test runs don't conflict
    			opts.SecureServing.Listener = makeListener(t)
    			defer opts.SecureServing.Listener.Close()
    
    			nfs := opts.Flags
    			for _, f := range nfs.FlagSets {
    				fs.AddFlagSet(f)
    			}
    			if err := fs.Parse(tc.flags); err != nil {
    				t.Fatal(err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. cmd/kube-scheduler/app/server.go

    	// Start up the healthz server.
    	if cc.SecureServing != nil {
    		handler := buildHandlerChain(newHealthEndpointsAndMetricsHandler(&cc.ComponentConfig, cc.InformerFactory, isLeader, checks, readyzChecks), cc.Authentication.Authenticator, cc.Authorization.Authorizer)
    		// TODO: handle stoppedCh and listenerStoppedCh returned by c.SecureServing.Serve
    		if _, _, err := cc.SecureServing.Serve(handler, 0, ctx.Done()); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. pkg/controlplane/apiserver/config.go

    	genericConfig.MergedResourceConfig = resourceConfig
    
    	if lastErr = s.GenericServerRunOptions.ApplyTo(genericConfig); lastErr != nil {
    		return
    	}
    
    	if lastErr = s.SecureServing.ApplyTo(&genericConfig.SecureServing, &genericConfig.LoopbackClientConfig); lastErr != nil {
    		return
    	}
    
    	// Use protobufs for self-communication.
    	// Since not every generic apiserver has to support protobufs, we
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/config.go

    	APIGroupPrefix = "/apis"
    )
    
    // Config is a structure used to configure a GenericAPIServer.
    // Its members are sorted roughly in order of importance for composers.
    type Config struct {
    	// SecureServing is required to serve https
    	SecureServing *SecureServingInfo
    
    	// Authentication is the configuration for authentication
    	Authentication AuthenticationInfo
    
    	// Authorization is the configuration for authorization
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  9. cmd/kube-scheduler/app/options/options_test.go

    				ComponentConfig: func() *kubeschedulerconfig.KubeSchedulerConfiguration {
    					cfg := configtesting.V1ToInternalWithDefaults(t, v1.KubeSchedulerConfiguration{})
    					return cfg
    				}(),
    				SecureServing: (&apiserveroptions.SecureServingOptions{
    					ServerCert: apiserveroptions.GeneratableKeyCert{
    						CertDirectory: "/a/b/c",
    						PairName:      "kube-scheduler",
    					},
    					HTTP2MaxStreamsPerConnection: 47,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  10. pkg/kubeapiserver/options/authentication.go

    			return fmt.Errorf("unable to load client CA file: %v", err)
    		}
    	}
    	if authenticatorConfig.RequestHeaderConfig != nil && authenticatorConfig.RequestHeaderConfig.CAContentProvider != nil {
    		if err = authInfo.ApplyClientCert(authenticatorConfig.RequestHeaderConfig.CAContentProvider, secureServing); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
Back to top