From 51821a811fcab9f2ced7abff9dce5fa42278478a Mon Sep 17 00:00:00 2001
From: Maciej Wereski <m.wereski@partner.samsung.com>
Date: Thu, 3 Mar 2022 17:49:48 +0100
Subject: [PATCH] MetalLB: update to v0.12.1 (#8593)

Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
---
 inventory/sample/group_vars/k8s_cluster/addons.yml     | 2 +-
 roles/kubernetes-apps/metallb/defaults/main.yml        | 2 +-
 roles/kubernetes-apps/metallb/templates/metallb.yml.j2 | 2 --
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/inventory/sample/group_vars/k8s_cluster/addons.yml b/inventory/sample/group_vars/k8s_cluster/addons.yml
index 229546f8b..4f78f7312 100644
--- a/inventory/sample/group_vars/k8s_cluster/addons.yml
+++ b/inventory/sample/group_vars/k8s_cluster/addons.yml
@@ -185,7 +185,7 @@ metallb_speaker_enabled: true
 #     operator: "Equal"
 #     value: ""
 #     effect: "NoSchedule"
-# metallb_version: v0.11.0
+# metallb_version: v0.12.1
 # metallb_protocol: "layer2"
 # metallb_port: "7472"
 # metallb_memberlist_port: "7946"
diff --git a/roles/kubernetes-apps/metallb/defaults/main.yml b/roles/kubernetes-apps/metallb/defaults/main.yml
index 4c2a7255c..66a43fa3c 100644
--- a/roles/kubernetes-apps/metallb/defaults/main.yml
+++ b/roles/kubernetes-apps/metallb/defaults/main.yml
@@ -1,6 +1,6 @@
 ---
 metallb_enabled: false
-metallb_version: v0.11.0
+metallb_version: v0.12.1
 metallb_log_level: info
 metallb_protocol: "layer2"
 metallb_port: "7472"
diff --git a/roles/kubernetes-apps/metallb/templates/metallb.yml.j2 b/roles/kubernetes-apps/metallb/templates/metallb.yml.j2
index 8d1d0c287..7408625ef 100644
--- a/roles/kubernetes-apps/metallb/templates/metallb.yml.j2
+++ b/roles/kubernetes-apps/metallb/templates/metallb.yml.j2
@@ -11,7 +11,6 @@ metadata:
   labels:
     app: metallb
   name: controller
-  namespace: metallb-system
 spec:
   allowPrivilegeEscalation: false
   allowedCapabilities: []
@@ -51,7 +50,6 @@ metadata:
   labels:
     app: metallb
   name: speaker
-  namespace: metallb-system
 spec:
   allowPrivilegeEscalation: false
   allowedCapabilities:
-- 
GitLab