[COMMON] Update Common Authorization Policy 82/134582/3
authorAndrewLamb <andrew.a.lamb@est.tech>
Thu, 18 May 2023 09:16:21 +0000 (10:16 +0100)
committerAndreas Geissler <andreas-geissler@telekom.de>
Thu, 25 May 2023 08:02:47 +0000 (08:02 +0000)
Change app label to use same common.name as the common.labels use.

Issue-ID: OOM-3148
Change-Id: Id1a27326df89883c96f6c2f5d3019dd29c19c74d
Signed-off-by: AndrewLamb <andrew.a.lamb@est.tech>
kubernetes/common/common/templates/_serviceMesh.tpl

index a3d269e..de779f8 100644 (file)
@@ -115,7 +115,7 @@ metadata:
 spec:
   selector:
     matchLabels:
-      app: {{ include "common.servicename" . }}
+      app: {{ include "common.name" . }}
   action: ALLOW
   rules:
 {{-     if $authorizedPrincipals }}