Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for ClusterRoleBinding (0.3 sec)

  1. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/controller-role-bindings.yaml

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

    			case result.Operation == reconciliation.ReconcileRecreate:
    				klog.V(2).Infof("recreated clusterrolebinding.%s/%s", rbac.GroupName, clusterRoleBinding.Name)
    			}
    			return nil
    		})
    		if err != nil {
    			// don't fail on failures, try to create as many as you can
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 14 03:25:19 UTC 2022
    - 18.5K bytes
    - Viewed (0)
  3. pkg/apis/rbac/validation/validation_test.go

    			},
    		},
    	)
    	if len(errs) != 0 {
    		t.Errorf("expected success: %v", errs)
    	}
    
    	errorCases := map[string]struct {
    		A rbac.ClusterRoleBinding
    		T field.ErrorType
    		F string
    	}{
    		"bad group": {
    			A: rbac.ClusterRoleBinding{
    				ObjectMeta: metav1.ObjectMeta{Name: "default"},
    				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)
  4. cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go

    	retryInterval, retryTimeout time.Duration) (clientset.Interface, error) {
    
    	klog.V(1).Infof("ensuring that the ClusterRoleBinding for the %s Group exists",
    		kubeadmconstants.ClusterAdminsGroupAndClusterRoleBinding)
    
    	var (
    		err, lastError     error
    		crbExists          bool
    		clusterRoleBinding = &rbac.ClusterRoleBinding{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: kubeadmconstants.ClusterAdminsGroupAndClusterRoleBinding,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 27K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/rbac/v1beta1/types.go

    // ClusterRoleBinding references a ClusterRole, but not contain it.  It can reference a ClusterRole in the global namespace,
    // and adds who information via Subject.
    // Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22.
    type ClusterRoleBinding struct {
    	metav1.TypeMeta `json:",inline"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 22:49:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/rbac/v1alpha1/types.go

    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // ClusterRoleBinding references a ClusterRole, but not contain it.  It can reference a ClusterRole in the global namespace,
    // and adds who information via Subject.
    // Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22.
    type ClusterRoleBinding struct {
    	metav1.TypeMeta `json:",inline"`
    	// Standard object's metadata.
    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. cmd/kubeadm/app/util/apiclient/idempotency.go

    		return nil
    	}
    	return lastError
    }
    
    // CreateOrUpdateClusterRoleBinding creates a ClusterRoleBinding if the target resource doesn't exist. If the resource exists already, this function will update the resource instead.
    func CreateOrUpdateClusterRoleBinding(client clientset.Interface, clusterRoleBinding *rbac.ClusterRoleBinding) error {
    	var lastError error
    	err := wait.PollUntilContextTimeout(context.Background(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/rbac/v1/types.go

    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    // +k8s:prerelease-lifecycle-gen:introduced=1.8
    
    // ClusterRoleBinding references a ClusterRole, but not contain it.  It can reference a ClusterRole in the global namespace,
    // and adds who information via Subject.
    type ClusterRoleBinding struct {
    	metav1.TypeMeta `json:",inline"`
    	// Standard object's metadata.
    	// +optional
    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. pkg/apis/rbac/validation/validation.go

    		allErrs = append(allErrs, ValidateRoleBindingSubject(subject, false, subjectsPath.Index(i))...)
    	}
    
    	return allErrs
    }
    
    func ValidateClusterRoleBindingUpdate(roleBinding *rbac.ClusterRoleBinding, oldRoleBinding *rbac.ClusterRoleBinding) field.ErrorList {
    	allErrs := ValidateClusterRoleBinding(roleBinding)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:48:21 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  10. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go

    }
    
    // ClusterRoleBindingsToSplit returns a map of Names of source ClusterRoleBindings
    // to copy Subjects, Annotations, and Labels to destination ClusterRoleBinding templates.
    func ClusterRoleBindingsToSplit() map[string]rbacv1.ClusterRoleBinding {
    	bindingsToSplit := map[string]rbacv1.ClusterRoleBinding{}
    	for _, defaultClusterRoleBinding := range ClusterRoleBindings() {
    		switch defaultClusterRoleBinding.Name {
    		case "system:public-info-viewer":
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 34.4K bytes
    - Viewed (0)
Back to top