Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for clusterRoles (0.25 sec)

  1. staging/src/k8s.io/api/rbac/v1alpha1/types.go

    }
    
    // AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole
    type AggregationRule struct {
    	// ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
    	// If any of the selectors match, then the ClusterRole's permissions will be added
    	// +optional
    	// +listType=atomic
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 22:49:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/rbac/v1/types.go

    }
    
    // AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole
    type AggregationRule struct {
    	// ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
    	// If any of the selectors match, then the ClusterRole's permissions will be added
    	// +optional
    	// +listType=atomic
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/rbac/v1beta1/types.go

    }
    
    // AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole
    type AggregationRule struct {
    	// ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
    	// If any of the selectors match, then the ClusterRole's permissions will be added
    	// +optional
    	// +listType=atomic
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 22:49:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/apiclient/idempotency_test.go

    				client.PrependReactor("create", "clusterroles", func(clientgotesting.Action) (bool, runtime.Object, error) {
    					return true, nil, errors.New("unknown error")
    				})
    			},
    			expectedError: true,
    		},
    		{
    			name: "clusterrole exists, update it",
    			setupClient: func(client *clientsetfake.Clientset) {
    				client.PrependReactor("create", "clusterroles", func(clientgotesting.Action) (bool, runtime.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/apiclient/idempotency.go

    			ctx := context.Background()
    			if _, err := client.RbacV1().ClusterRoles().Create(ctx, clusterRole, metav1.CreateOptions{}); err != nil {
    				if !apierrors.IsAlreadyExists(err) {
    					lastError = errors.Wrap(err, "unable to create ClusterRole")
    					return false, nil
    				}
    				if _, err := client.RbacV1().ClusterRoles().Update(ctx, clusterRole, metav1.UpdateOptions{}); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/controller_policy.go

    		ObjectMeta: metav1.ObjectMeta{Name: saRolePrefix + "clusterrole-aggregation-controller"},
    		Rules: []rbacv1.PolicyRule{
    			// this controller must have full permissions on clusterroles to allow it to mutate them in any way
    			rbacv1helpers.NewRule("escalate", "get", "list", "watch", "update", "patch").Groups(rbacGroup).Resources("clusterroles").RuleOrDie(),
    		},
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  7. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go

    	}
    
    	return nodePolicyRules
    }
    
    // ClusterRoles returns the cluster roles to bootstrap an API server with
    func ClusterRoles() []rbacv1.ClusterRole {
    	roles := []rbacv1.ClusterRole{
    		{
    			// a "root" role which can do absolutely anything
    			ObjectMeta: metav1.ObjectMeta{Name: "cluster-admin"},
    			Rules: []rbacv1.PolicyRule{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  8. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/controller-roles.yaml

      kind: ClusterRole
      metadata:
        annotations:
          rbac.authorization.kubernetes.io/autoupdate: "true"
        creationTimestamp: null
        labels:
          kubernetes.io/bootstrapping: rbac-defaults
        name: system:controller:clusterrole-aggregation-controller
      rules:
      - apiGroups:
        - rbac.authorization.k8s.io
        resources:
        - clusterroles
        verbs:
        - escalate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/addons/dns/dns.go

    			return err
    		}
    	}
    
    	coreDNSClusterRoles := &rbac.ClusterRole{}
    	if err := kuberuntime.DecodeInto(clientsetscheme.Codecs.UniversalDecoder(), []byte(CoreDNSClusterRole), coreDNSClusterRoles); err != nil {
    		return errors.Wrapf(err, "%s ClusterRole", unableToDecodeCoreDNS)
    	}
    
    	// Create the Clusterroles for CoreDNS or update it in case it already exists
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. istioctl/pkg/precheck/precheck.go

    		version   string
    		resource  string
    	}{
    		{
    			version:  "v1",
    			resource: "namespaces",
    		},
    		{
    			group:    "rbac.authorization.k8s.io",
    			version:  "v1",
    			resource: "clusterroles",
    		},
    		{
    			group:    "rbac.authorization.k8s.io",
    			version:  "v1",
    			resource: "clusterrolebindings",
    		},
    		{
    			group:    "apiextensions.k8s.io",
    			version:  "v1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 02:57:30 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top