- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for convertPeerAuthentication (0.18 sec)
-
pilot/pkg/serviceregistry/kube/controller/ambient/policies.go
PeerAuthDerivedPolicies := krt.NewCollection(PeerAuths, func(ctx krt.HandlerContext, i *securityclient.PeerAuthentication) *model.WorkloadAuthorization { meshCfg := krt.FetchOne(ctx, MeshConfig.AsCollection()) pol := convertPeerAuthentication(meshCfg.GetRootNamespace(), i) if pol == nil { return nil } return &model.WorkloadAuthorization{ Authorization: pol, LabelSelector: model.NewSelector(i.Spec.GetSelector().GetMatchLabels()), }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 5.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go
} if effectiveWorkloadPolicyKey != "" { res.Insert(effectiveWorkloadPolicyKey) } return sets.SortedList(res) } // convertPeerAuthentication converts a PeerAuthentication to an L4 authorization policy (i.e. security.Authorization) iff // 1. the PeerAuthentication has a workload selector // 2. The PeerAuthentication is NOT in the root namespace
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 16:23:36 UTC 2024 - 18.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go
Name: pol[0].Name, Namespace: pol[0].Namespace, }, Spec: *((pol[0].Spec).(*auth.AuthorizationPolicy)), //nolint: govet }) case gvk.PeerAuthentication: o = convertPeerAuthentication(systemNS, &clientsecurityv1beta1.PeerAuthentication{ TypeMeta: metav1.TypeMeta{}, ObjectMeta: metav1.ObjectMeta{ Name: pol[0].Name, Namespace: pol[0].Namespace, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 01:04:50 UTC 2024 - 70.2K bytes - Viewed (0)