From 633b7b843fb8733433786b30cbd40ff6d4bdb63b Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Thu, 17 Feb 2022 22:50:52 +0100
Subject: [PATCH] fix(metallb): Add required service account reference

The upgrade to 0.12.x started to require a serviceaccount for the
podmonitor. This patch adds the kube-prometheus-stack service account to
the config.
---
 infrastructure/metallb/release.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/infrastructure/metallb/release.yaml b/infrastructure/metallb/release.yaml
index 063e98c87..3b5e045b3 100644
--- a/infrastructure/metallb/release.yaml
+++ b/infrastructure/metallb/release.yaml
@@ -26,3 +26,5 @@ spec:
         enabled: true
       prometheusRule:
         enabled: true
+      serviceAccount: kube-prometheus-stack-prometheus
+      namespace: monitoring-system
-- 
GitLab