- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for myns (0.04 sec)
-
pkg/apis/rbac/v1alpha1/conversion_test.go
{Kind: "ServiceAccount", APIVersion: "rbac", Name: "mysa", Namespace: "myns"}, {Kind: "User", APIVersion: "rbac/v8", Name: "myuser"}, {Kind: "Group", APIVersion: "rbac/v8", Name: "mygroup"}, {Kind: "ServiceAccount", APIVersion: "rbac/v8", Name: "mysa", Namespace: "myns"}, }, }, expected: &rbacapi.RoleBinding{ RoleRef: rbacapi.RoleRef{Name: "foo", APIGroup: v1alpha1.GroupName}, Subjects: []rbacapi.Subject{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 15:23:55 UTC 2017 - 4K bytes - Viewed (0) -
pkg/serviceaccount/claims_test.go
ObjectMeta: metav1.ObjectMeta{ Namespace: "myns", Name: "mysvcacct", UID: "mysvcacct-uid", }, } pod := &core.Pod{ ObjectMeta: metav1.ObjectMeta{ Namespace: "myns", Name: "mypod", UID: "mypod-uid", }, } sec := &core.Secret{ ObjectMeta: metav1.ObjectMeta{ Namespace: "myns", Name: "mysecret", UID: "mysecret-uid", }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17.9K bytes - Viewed (0) -
pkg/apis/abac/v0/conversion_test.go
}, // specifying a namespace removes the * match on non-resource path "namespace": { old: &v0.Policy{Namespace: "myns"}, expected: &abac.Policy{Spec: abac.PolicySpec{Group: user.AllAuthenticated, Readonly: false, NonResourcePath: "", Namespace: "myns", Resource: "*", APIGroup: "*"}}, }, // specifying a resource removes the * match on non-resource path "resource": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 18:54:02 UTC 2017 - 3.4K bytes - Viewed (0) -
pkg/registry/authorization/util/helpers_test.go
}, }, { name: "resource", args: args{ spec: authorizationapi.SubjectAccessReviewSpec{ User: "bob", ResourceAttributes: &authorizationapi.ResourceAttributes{ Namespace: "myns", Verb: "create", Group: "extensions", Version: "v1beta1", Resource: "deployments", Subresource: "scale", Name: "mydeployment", }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 25 16:06:18 UTC 2023 - 4.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/authorization_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/pruning/algorithm_test.go
"kind": "Foo", "metadata": { "name": "instance", "namespace": "myns", "labels":{"foo":"bar"}, "unspecified": "bar" }, "unspecified":"bar", "pruned": { "apiVersion": "foo/v1", "kind": "Foo", "unspecified": "bar", "metadata": { "name": "instance", "namespace": "myns", "labels":{"foo":"bar"}, "unspecified": "bar" }, "spec": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 20.3K bytes - Viewed (0) -
pkg/registry/rbac/role/policybased/storage_test.go
IsResourceRequest: true, Verb: "create", APIGroup: "rbac.authorization.k8s.io", APIVersion: "v1", Namespace: "myns", Resource: "roles", Name: "", }) updateContext := request.WithRequestInfo(request.WithNamespace(context.TODO(), "myns"), &request.RequestInfo{ IsResourceRequest: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 09 13:47:19 UTC 2021 - 6.3K bytes - Viewed (0) -
plugin/pkg/admission/serviceaccount/admission_test.go
} } } func TestIgnoresNonPodResource(t *testing.T) { pod := &api.Pod{} attrs := admission.NewAttributesRecord(pod, nil, api.Kind("Pod").WithVersion("version"), "myns", "myname", api.Resource("CustomResource").WithVersion("version"), "", admission.Create, &metav1.CreateOptions{}, false, nil) handler := admissiontesting.WithReinvocationTesting(t, NewServiceAccount())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 17:49:30 UTC 2024 - 36.9K bytes - Viewed (0) -
pkg/registry/authorization/subjectaccessreview/rest_test.go
}, }, "resource rejected": { spec: authorizationapi.SubjectAccessReviewSpec{ User: "bob", ResourceAttributes: &authorizationapi.ResourceAttributes{ Namespace: "myns", Verb: "create", Group: "extensions", Version: "v1beta1", Resource: "deployments", Subresource: "scale", Name: "mydeployment", }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 25 16:06:18 UTC 2023 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/request/admissionreview_test.go
internalObjOld := &appsv1.Deployment{ObjectMeta: metav1.ObjectMeta{ResourceVersion: "1", Name: "myname", Namespace: "myns"}} versionedObj := &appsv1.Deployment{ObjectMeta: metav1.ObjectMeta{ResourceVersion: "2", Name: "myname", Namespace: "myns"}} versionedObjOld := &appsv1.Deployment{ObjectMeta: metav1.ObjectMeta{ResourceVersion: "1", Name: "myname", Namespace: "myns"}} userInfo := &user.DefaultInfo{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 16:56:12 UTC 2023 - 20.1K bytes - Viewed (0)