Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for authorizationv1 (2.25 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/testdata/swagger.json

          "type": "string",
          "format": "date-time"
        }
      },
      "securityDefinitions": {
        "BearerToken": {
          "description": "Bearer Token authentication",
          "type": "apiKey",
          "name": "authorization",
          "in": "header"
        }
      },
      "security": [{ "BearerToken": [] }]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 55.4K bytes
    - Viewed (0)
  2. cmd/kubelet/app/server.go

    }
    
    // UnsecuredDependencies returns a Dependencies suitable for being run, or an error if the server setup
    // is not valid.  It will not start any background processes, and does not include authentication/authorization
    func UnsecuredDependencies(s *options.KubeletServer, featureGate featuregate.FeatureGate) (*kubelet.Dependencies, error) {
    	// Initialize the TLS Options
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    	"k8s.io/apiserver/pkg/admission/plugin/policy/matching"
    	"k8s.io/apiserver/pkg/admission/plugin/policy/validating"
    	auditinternal "k8s.io/apiserver/pkg/apis/audit"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    	"k8s.io/apiserver/pkg/warning"
    )
    
    var (
    	clusterScopedParamsGVK schema.GroupVersionKind = schema.GroupVersionKind{
    		Group:   "example.com",
    		Version: "v1",
    		Kind:    "ClusterScopedParamsConfig",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    	defer cancel()
    
    	req, err := http.NewRequestWithContext(ctx, http.MethodPost, endpoint, bytes.NewReader(buf))
    	if err != nil {
    		return err
    	}
    
    	if token != "" {
    		req.Header.Set("Authorization", token)
    	}
    	req.Header.Set("Content-Type", "application/json")
    
    	clnt := http.Client{Transport: getRemoteInstanceTransport()}
    	resp, err := clnt.Do(req)
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    			configuration: api.AuthorizationConfiguration{
    				Authorizers: []api.AuthorizerConfiguration{},
    			},
    			expectedErrList: field.ErrorList{field.Required(field.NewPath("authorizers"), "at least one authorization mode must be defined")},
    			knownTypes:      sets.NewString(),
    			repeatableTypes: sets.NewString(),
    		},
    		{
    			name: "type and name are required if an authorizer is defined",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users.go

    func (a adminAPIHandlers) ListPolicyMappingEntities(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	// Check authorization.
    	objectAPI, cred := validateAdminReq(ctx, w, r,
    		policy.ListGroupsAdminAction, policy.ListUsersAdminAction, policy.ListUserPoliciesAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  7. tests/integration/ambient/baseline_test.go

    				opts := echo.CallOptions{
    					Address: "kubernetes.default.svc",
    					Port:    echo.Port{ServicePort: 443},
    					Scheme:  scheme.HTTPS,
    					HTTP: echo.HTTP{
    						Headers: headers.New().With("Authorization", "Bearer "+token.Status.Token).Build(),
    						Path:    "/",
    					},
    					// Test that we see our own identity -- not the ztunnel (istio-system/ztunnel).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    	// Status code 500.
    	StatusReasonUnknown StatusReason = ""
    
    	// StatusReasonUnauthorized means the server can be reached and understood the request, but requires
    	// the user to present appropriate authorization credentials (identified by the WWW-Authenticate header)
    	// in order for the action to be completed. If the user has specified credentials on the request, the
    	// server considers them insufficient.
    	// Status code 401
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (1)
Back to top