- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for ResourceAttributes (0.57 sec)
-
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_test.go
{ name: "match on user name but not resourceAttributes", attr: bobAttr, expectedCompileErr: "", expectedDecision: authorizer.DecisionNoOpinion, expressions: []apiserver.WebhookMatchCondition{ { Expression: "request.user == 'bob'", }, { Expression: "has(request.resourceAttributes) && request.resourceAttributes.namespace == 'kittensandponies'", }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 43.2K bytes - Viewed (0) -
staging/src/k8s.io/api/authorization/v1beta1/types.go
type SubjectAccessReviewSpec struct { // ResourceAuthorizationAttributes describes information for a resource access request // +optional ResourceAttributes *ResourceAttributes `json:"resourceAttributes,omitempty" protobuf:"bytes,1,opt,name=resourceAttributes"` // NonResourceAttributes describes information for a non-resource access request // +optional
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:26 UTC 2023 - 15.1K bytes - Viewed (0) -
staging/src/k8s.io/api/authorization/v1/types.go
type SubjectAccessReviewSpec struct { // ResourceAuthorizationAttributes describes information for a resource access request // +optional ResourceAttributes *ResourceAttributes `json:"resourceAttributes,omitempty" protobuf:"bytes,1,opt,name=resourceAttributes"` // NonResourceAttributes describes information for a non-resource access request // +optional
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 14.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go
UID: in.UID, } } func v1ResourceAttributesToV1beta1ResourceAttributes(in *authorizationv1.ResourceAttributes) *authorizationv1beta1.ResourceAttributes { if in == nil { return nil } return &authorizationv1beta1.ResourceAttributes{ Namespace: in.Namespace, Verb: in.Verb, Group: in.Group, Version: in.Version, Resource: in.Resource,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 18.4K bytes - Viewed (0) -
common-protos/k8s.io/api/authorization/v1beta1/generated.proto
// final step in the path. "*" means all. // +optional repeated string nonResourceURLs = 2; } // ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface message ResourceAttributes { // Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 11.9K bytes - Viewed (0) -
staging/src/k8s.io/api/authorization/v1/generated.proto
// final step in the path. "*" means all. // +optional // +listType=atomic repeated string nonResourceURLs = 2; } // ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface message ResourceAttributes { // Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 12.1K bytes - Viewed (0) -
common-protos/k8s.io/api/authorization/v1/generated.proto
// final step in the path. "*" means all. // +optional repeated string nonResourceURLs = 2; } // ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface message ResourceAttributes { // Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 11.9K bytes - Viewed (0) -
staging/src/k8s.io/api/authorization/v1beta1/generated.proto
// final step in the path. "*" means all. // +optional // +listType=atomic repeated string nonResourceURLs = 2; } // ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface message ResourceAttributes { // Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 12.1K bytes - Viewed (0) -
pilot/pkg/credentials/kube/secrets.go
err := func() error { resp, err := s.sar.Create(context.Background(), &authorizationv1.SubjectAccessReview{ ObjectMeta: metav1.ObjectMeta{}, Spec: authorizationv1.SubjectAccessReviewSpec{ ResourceAttributes: &authorizationv1.ResourceAttributes{ Namespace: namespace, Verb: "list", Resource: "secrets", }, User: user, }, }, metav1.CreateOptions{}) if err != nil { return err
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 10K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1beta1_test.go
TypeMeta: expTypeMeta, Spec: authorizationv1beta1.SubjectAccessReviewSpec{ User: "jane", UID: "1", Groups: []string{"group1", "group2"}, ResourceAttributes: &authorizationv1beta1.ResourceAttributes{ Verb: "GET", Namespace: "kittensandponies", Group: "group3", Version: "v7beta3", Resource: "pods", Subresource: "proxy",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 22:41:27 UTC 2024 - 19.9K bytes - Viewed (0)