Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for PolicyRule (0.24 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/audit/types.go

    type PolicyList struct {
    	metav1.TypeMeta
    	// +optional
    	metav1.ListMeta
    
    	Items []Policy
    }
    
    // PolicyRule maps requests based off metadata to an audit Level.
    // Requests must match the rules of every field (an intersection of rules).
    type PolicyRule struct {
    	// The Level that requests matching this rule are recorded at.
    	Level Level
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 09:18:23 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/bootstraptoken/node/tlsbootstrap.go

    	if err := apiclient.CreateOrUpdateClusterRole(client, &rbac.ClusterRole{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: constants.GetNodesClusterRoleName,
    		},
    		Rules: []rbac.PolicyRule{
    			{
    				Verbs:     []string{"get"},
    				APIGroups: []string{""},
    				Resources: []string{"nodes"},
    			},
    		},
    	}); err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 15 10:49:52 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/types.go

    	Items []Policy `json:"items" protobuf:"bytes,2,rep,name=items"`
    }
    
    // PolicyRule maps requests based off metadata to an audit Level.
    // Requests must match the rules of every field (an intersection of rules).
    type PolicyRule struct {
    	// The Level that requests matching this rule are recorded at.
    	Level Level `json:"level" protobuf:"bytes,1,opt,name=level,casttype=Level"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:24:10 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/bootstraptoken/clusterinfo/clusterinfo_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name:      BootstrapSignerClusterRoleName,
    			Namespace: metav1.NamespacePublic,
    		},
    		Rules: []rbac.PolicyRule{
    			{
    				Verbs:         []string{"get"},
    				APIGroups:     []string{""},
    				Resources:     []string{"Secret"},
    				ResourceNames: []string{bootstrapapi.ConfigMapClusterInfo},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/kubelet/config.go

    	if err := apiclient.CreateOrUpdateRole(client, &rbac.Role{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      kubeadmconstants.KubeletBaseConfigMapRole,
    			Namespace: metav1.NamespaceSystem,
    		},
    		Rules: []rbac.PolicyRule{
    			{
    				Verbs:         []string{"get"},
    				APIGroups:     []string{""},
    				Resources:     []string{"configmaps"},
    				ResourceNames: []string{kubeadmconstants.KubeletBaseConfigurationConfigMap},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 02 12:34:30 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. plugin/pkg/auth/authorizer/node/node_authorizer.go

    	nodeRules  []rbacv1.PolicyRule
    
    	// allows overriding for testing
    	features featuregate.FeatureGate
    }
    
    var _ = authorizer.Authorizer(&NodeAuthorizer{})
    var _ = authorizer.RuleResolver(&NodeAuthorizer{})
    
    // NewAuthorizer returns a new node authorizer
    func NewAuthorizer(graph *Graph, identifier nodeidentifier.NodeIdentifier, rules []rbacv1.PolicyRule) *NodeAuthorizer {
    	return &NodeAuthorizer{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/addons/proxy/proxy.go

    			},
    		},
    	}
    
    	role := &rbac.Role{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      KubeProxyConfigMapRoleName,
    			Namespace: metav1.NamespaceSystem,
    		},
    		Rules: []rbac.PolicyRule{
    			{
    				Verbs:         []string{"get"},
    				APIGroups:     []string{""},
    				Resources:     []string{"configmaps"},
    				ResourceNames: []string{constants.KubeProxyConfigMap},
    			},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 13:23:44 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__rbac.authorization.k8s.io__v1_openapi.json

              {
                "group": "rbac.authorization.k8s.io",
                "kind": "ClusterRoleList",
                "version": "v1"
              }
            ]
          },
          "io.k8s.api.rbac.v1.PolicyRule": {
            "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.",
            "properties": {
              "apiGroups": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 352.2K bytes
    - Viewed (0)
  9. pkg/generated/openapi/zz_generated.openapi.go

    									SchemaProps: spec.SchemaProps{
    										Default: map[string]interface{}{},
    										Ref:     ref("k8s.io/api/rbac/v1.PolicyRule"),
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    		Dependencies: []string{
    			"k8s.io/api/rbac/v1.PolicyRule", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/artifacts/openapi/swagger-with-shared-parameters.json

            {
              "group": "rbac.authorization.k8s.io",
              "kind": "ClusterRoleList",
              "version": "v1"
            }
          ]
        },
        "io.k8s.api.rbac.v1.PolicyRule": {
          "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.",
          "properties": {
            "apiGroups": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 2.3M bytes
    - Viewed (0)
Back to top