From 7cde19e26bbeb888b5f4a40fa2ec651f6954c5b0 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Thu, 25 May 2023 19:52:39 +0300 Subject: [PATCH] Fix Flagger for Linkerd 2.13 Add an `AuthorizationPolicy` which allows Flagger to access the Prometheus server in the `linkerd-viz` namespace which is blocked by default starting with Linkerd 2.13. --- infrastructure/flagger/release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infrastructure/flagger/release.yaml b/infrastructure/flagger/release.yaml index 0fef65c..3a07b3e 100644 --- a/infrastructure/flagger/release.yaml +++ b/infrastructure/flagger/release.yaml @@ -21,3 +21,5 @@ spec: meshProvider: linkerd metricsServer: http://prometheus.linkerd-viz:9090 selectorLabels: app,name,app.kubernetes.io/name,service + linkerdAuthPolicy: + create: true