Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 219 for apiGroup (0.34 sec)

  1. pkg/apis/rbac/validation/validation_test.go

    			ObjectMeta: metav1.ObjectMeta{Name: "master"},
    			RoleRef:    rbac.RoleRef{APIGroup: rbac.GroupName, Kind: "ClusterRole", Name: "valid"},
    			Subjects: []rbac.Subject{
    				{Name: "validsaname", APIGroup: "", Namespace: "foo", Kind: rbac.ServiceAccountKind},
    				{Name: "valid@username", APIGroup: rbac.GroupName, Kind: rbac.UserKind},
    				{Name: "valid@groupname", APIGroup: rbac.GroupName, Kind: rbac.GroupKind},
    			},
    		},
    	)
    	if len(errs) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  2. pkg/apis/rbac/validation/validation.go

    		if subject.APIGroup != rbac.GroupName {
    			allErrs = append(allErrs, field.NotSupported(fldPath.Child("apiGroup"), subject.APIGroup, []string{rbac.GroupName}))
    		}
    
    	case rbac.GroupKind:
    		// TODO(ericchiang): What other restrictions on group name are there?
    		if subject.APIGroup != rbac.GroupName {
    			allErrs = append(allErrs, field.NotSupported(fldPath.Child("apiGroup"), subject.APIGroup, []string{rbac.GroupName}))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:48:21 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width_test.go

    				APIGroup: "foo.bar",
    				Resource: "events",
    			},
    			counts: map[string]int64{
    				"events.foo.bar": 399,
    			},
    			maxSeats:             10,
    			initialSeatsExpected: 8,
    		},
    		{
    			name:       "request verb is list, no query parameters, count not known",
    			requestURI: "http://server/apis/foo.bar/v1/events",
    			requestInfo: &apirequest.RequestInfo{
    				Verb:     "list",
    				APIGroup: "foo.bar",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/controller-role-bindings.yaml

          rbac.authorization.kubernetes.io/autoupdate: "true"
        creationTimestamp: null
        labels:
          kubernetes.io/bootstrapping: rbac-defaults
        name: system:controller:attachdetach-controller
      roleRef:
        apiGroup: rbac.authorization.k8s.io
        kind: ClusterRole
        name: system:controller:attachdetach-controller
      subjects:
      - kind: ServiceAccount
        name: attachdetach-controller
        namespace: kube-system
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. pkg/registry/batch/job/storage/storage_test.go

    			deleteOptions: &metav1.DeleteOptions{},
    			requestInfo:   &genericapirequest.RequestInfo{APIGroup: "batch", APIVersion: "v1"},
    		},
    		{
    			description:   "deletion: no policy, v2, no warning",
    			expectWarning: false,
    			deleteOptions: &metav1.DeleteOptions{},
    			requestInfo:   &genericapirequest.RequestInfo{APIGroup: "batch", APIVersion: "v2"},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. plugin/pkg/auth/authorizer/rbac/rbac_test.go

    	verb        string
    	resource    string
    	subresource string
    	namespace   string
    	apiGroup    string
    }
    
    func (d *defaultAttributes) String() string {
    	return fmt.Sprintf("user=(%s), groups=(%s), verb=(%s), resource=(%s), namespace=(%s), apiGroup=(%s)",
    		d.user, strings.Split(d.groups, ","), d.verb, d.resource, d.namespace, d.apiGroup)
    }
    
    func (d *defaultAttributes) GetUser() user.Info {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 21.1K bytes
    - Viewed (0)
  7. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    			expect: authorizer.DecisionAllow,
    		},
    		{
    			name:   "allowed resource claim with template",
    			attrs:  authorizer.AttributesRecord{User: node0, ResourceRequest: true, Verb: "get", Resource: "resourceclaims", APIGroup: "resource.k8s.io", Name: "generated-claim-pod0-node0-ns0-0", Namespace: "ns0"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/rbac/v1/types.go

    	Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"`
    	// APIGroup holds the API group of the referenced subject.
    	// Defaults to "" for ServiceAccount subjects.
    	// Defaults to "rbac.authorization.k8s.io" for User and Group subjects.
    	// +optional
    	APIGroup string `json:"apiGroup,omitempty" protobuf:"bytes,2,opt,name=apiGroup"`
    	// Name of the object being referenced.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/rbac/v1beta1/types.go

    	Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"`
    	// APIGroup holds the API group of the referenced subject.
    	// Defaults to "" for ServiceAccount subjects.
    	// Defaults to "rbac.authorization.k8s.io" for User and Group subjects.
    	// +optional
    	APIGroup string `json:"apiGroup,omitempty" protobuf:"bytes,2,opt,name=apiGroup"`
    	// Name of the object being referenced.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 22:49:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. pkg/api/persistentvolumeclaim/util_test.go

    	podKind      = "Pod"
    )
    
    func makeDataSource(apiGroup, kind, name string) *core.TypedLocalObjectReference {
    	return &core.TypedLocalObjectReference{
    		APIGroup: &apiGroup,
    		Kind:     kind,
    		Name:     name,
    	}
    }
    
    func makeDataSourceRef(apiGroup, kind, name string, namespace *string) *core.TypedObjectReference {
    	return &core.TypedObjectReference{
    		APIGroup:  &apiGroup,
    		Kind:      kind,
    		Name:      name,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top