Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,112 for subjects (0.41 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/match_test.go

    		Subjects: []flowcontrol.Subject{{Kind: flowcontrol.SubjectKindUser,
    			User: &flowcontrol.UserSubject{Name: "goodu"}}},
    		ResourceRules: []flowcontrol.ResourcePolicyRule{{
    			Verbs:      []string{"goodverb"},
    			APIGroups:  []string{"goodapig"},
    			Resources:  []string{"goodrscs"},
    			Namespaces: []string{"goodns"}}}}, {
    		Subjects: []flowcontrol.Subject{{Kind: flowcontrol.SubjectKindGroup,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/flowcontrol/bootstrap/default.go

    		ans[idx] = flowcontrol.Subject{
    			Kind: flowcontrol.SubjectKindUser,
    			User: &flowcontrol.UserSubject{
    				Name: name,
    			},
    		}
    	}
    	return ans
    }
    
    func kubeSystemServiceAccount(names ...string) []flowcontrol.Subject {
    	subjects := []flowcontrol.Subject{}
    	for _, name := range names {
    		subjects = append(subjects, flowcontrol.Subject{
    			Kind: flowcontrol.SubjectKindServiceAccount,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  3. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/controller-role-bindings.yaml

        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
    - apiVersion: rbac.authorization.k8s.io/v1
      kind: ClusterRoleBinding
      metadata:
        annotations:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. pkg/apis/rbac/validation/validation_test.go

    				Subjects:   []rbac.Subject{{Name: "good", Kind: rbac.ServiceAccountKind}},
    			},
    			T: field.ErrorTypeRequired,
    			F: "subjects[0].namespace",
    		},
    		"missing subject name": {
    			A: rbac.ClusterRoleBinding{
    				ObjectMeta: metav1.ObjectMeta{Name: "master"},
    				RoleRef:    rbac.RoleRef{APIGroup: rbac.GroupName, Kind: "ClusterRole", Name: "valid"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/rbac/v1/types.go

    // and adds who information via Subject.
    type ClusterRoleBinding struct {
    	metav1.TypeMeta `json:",inline"`
    	// Standard object's metadata.
    	// +optional
    	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
    
    	// Subjects holds references to the objects the role applies to.
    	// +optional
    	// +listType=atomic
    	Subjects []Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/rbac/v1alpha1/types.go

    	// +optional
    	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
    
    	// Subjects holds references to the objects the role applies to.
    	// +optional
    	// +listType=atomic
    	Subjects []Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`
    
    	// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 22:49:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. pkg/apis/rbac/v1alpha1/zz_generated.conversion.go

    	}); err != nil {
    		return err
    	}
    	if err := s.AddConversionFunc((*rbac.Subject)(nil), (*v1alpha1.Subject)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_rbac_Subject_To_v1alpha1_Subject(a.(*rbac.Subject), b.(*v1alpha1.Subject), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddConversionFunc((*v1alpha1.Subject)(nil), (*rbac.Subject)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 23.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/rbac/v1beta1/types.go

    	// +optional
    	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
    
    	// Subjects holds references to the objects the role applies to.
    	// +optional
    	// +listType=atomic
    	Subjects []Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`
    
    	// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 22:49:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/rbac/v1/zz_generated.deepcopy.go

    func (in *Subject) DeepCopyInto(out *Subject) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject.
    func (in *Subject) DeepCopy() *Subject {
    	if in == nil {
    		return nil
    	}
    	out := new(Subject)
    	in.DeepCopyInto(out)
    	return out
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 10.6K bytes
    - Viewed (0)
  10. pkg/registry/rbac/rest/storage_rbac.go

    		// If the source exists, but the target does not,
    		// copy the subjects, labels, and annotations from the former to create the latter.
    		klog.V(1).Infof("copying subjects, labels, and annotations from ClusterRoleBinding %q to template %q", existingBindingName, clusterRoleBindingToCreate.Name)
    		newCRB := clusterRoleBindingToCreate.DeepCopy()
    		newCRB.Subjects = existingRoleBinding.Subjects
    		newCRB.Labels = existingRoleBinding.Labels
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 14 03:25:19 UTC 2022
    - 18.5K bytes
    - Viewed (0)
Back to top