From 4aa2ed0d07babd6d26cccb05985b4e810239e825 Mon Sep 17 00:00:00 2001 From: Muhammad Faizan Date: Thu, 2 Nov 2023 13:05:27 +0100 Subject: [PATCH] fixed label --- pkg/istio/peerauthentication/peerauthentication.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/istio/peerauthentication/peerauthentication.go b/pkg/istio/peerauthentication/peerauthentication.go index 607e02a3..8ea229d0 100644 --- a/pkg/istio/peerauthentication/peerauthentication.go +++ b/pkg/istio/peerauthentication/peerauthentication.go @@ -88,7 +88,8 @@ func EventingManagerMetrics(namespace string, ref []metav1.OwnerReference) *isti TypeMeta: typeMeta(), Spec: istiosecv1beta1.PeerAuthentication{ Selector: &istiotypes.WorkloadSelector{MatchLabels: map[string]string{ - "app.kubernetes.io/name": "eventing-publisher-proxy", + "app.kubernetes.io/name": "eventing-manager", + "app.kubernetes.io/instance": "eventing-manager", }}, PortLevelMtls: map[uint32]*istiosecv1beta1.PeerAuthentication_MutualTLS{ 8080: {Mode: istiosecv1beta1.PeerAuthentication_MutualTLS_PERMISSIVE},