- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for PolicyV1 (0.15 sec)
-
pilot/pkg/xds/workload_test.go
ResourceNamesSubscribe: []string{"*"}, }) ads.ExpectEmptyResponse() // Create policy, due to wildcard subscribe we should receive it createAuthorizationPolicy(s, "policy1", "ns") expect(ads.ExpectResponse(), "ns/policy1") // A new policy should push only that one createAuthorizationPolicy(s, "policy2", "ns") expect(ads.ExpectResponse(), "ns/policy2") deleteRBAC(s, "policy2", "ns")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 15.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go
require.EqualValues(t, 1, compiler.getNumCompiles(&policy1)) require.EqualValues(t, 1, evaluations1.Load()) require.EqualValues(t, 1, compiler.getNumCompiles(&policy2)) require.EqualValues(t, 1, evaluations2.Load()) // Remove param type from policy1 // Show that policy2 evaluator is still being passed the configmaps policy1.Spec.ParamKind = nil policy1.ResourceVersion = "2" binding1.Spec.ParamRef = nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 01:39:01 UTC 2024 - 63.8K bytes - Viewed (0) -
pilot/pkg/model/policyattachment_test.go
}, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { test.SetForTest(t, &features.EnableSelectorBasedK8sGatewayPolicy, tt.enableSelectorPolicies) nsName := types.NamespacedName{Name: "policy1", Namespace: "default"} matcher := tt.selection.ShouldAttachPolicy(mockKind, nsName, tt.policy) if matcher != tt.expected { t.Errorf("Expected %v, but got %v", tt.expected, matcher) } }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 8.3K bytes - Viewed (0) -
cmd/admin-handlers-users_test.go
} } func (s *TestSuiteIAM) TestAddServiceAccountPerms(c *check) { ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout) defer cancel() // 1. Create a policy policy1 := "deny-svc" policy2 := "allow-svc" policyBytes := []byte(`{ "Version": "2012-10-17", "Statement": [ { "Effect": "Deny", "Action": [ "admin:CreateServiceAccount" ] } ]
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 45.7K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
policy: networking.NetworkPolicy{ ObjectMeta: metav1.ObjectMeta{ Name: "policy1", CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)}, }, Spec: networking.NetworkPolicySpec{}, }, // Columns: Name, Pod-Selector, Age expected: []metav1.TableRow{{Cells: []interface{}{"policy1", "<none>", "0s"}}}, }, // Basic network policy with pod selector. {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0)