Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AllowedNames (0.31 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/authentication.go

    		"WARNING: generally do not depend on authorization being already done for incoming requests.")
    
    	fs.StringSliceVar(&s.AllowedNames, "requestheader-allowed-names", s.AllowedNames, ""+
    		"List of client certificate common names to allow to provide usernames in headers "+
    		"specified by --requestheader-username-headers. If empty, any client certificate validated "+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 21 14:51:22 UTC 2023
    - 19.9K bytes
    - Viewed (0)
  2. pkg/kubeapiserver/options/authentication_test.go

    			UsernameHeaders:     []string{"x-remote-user"},
    			GroupHeaders:        []string{"x-remote-group"},
    			ExtraHeaderPrefixes: []string{"x-remote-extra-"},
    			ClientCAFile:        "testdata/root.pem",
    			AllowedNames:        []string{"kube-aggregator"},
    		},
    		ServiceAccounts: &ServiceAccountAuthenticationOptions{
    			Lookup:  true,
    			Issuers: []string{"http://foo.bar.com"},
    		},
    		TokenFile: &TokenFileAuthenticationOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  3. cmd/kube-apiserver/app/testing/testserver.go

    		// give the kube api server an "identity" it can use to for request header auth
    		// so that aggregated api servers can understand who the calling user is
    		s.Authentication.RequestHeader.AllowedNames = []string{"ash", "misty", "brock"}
    
    		// create private key
    		signer, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
    		if err != nil {
    			return result, err
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top