feat(upgrades): Updated k3s, metalls, and kubevip and fixed bugs (#46)

This commit is contained in:
Techno Tim
2022-07-27 23:13:43 -05:00
committed by GitHub
parent 1830b9c9a1
commit a33ed487e0
6 changed files with 1633 additions and 239 deletions

View File

@@ -51,7 +51,7 @@
- name: Copy metallb ConfigMap manifest to first master
template:
src: "metallb.configmap.j2"
src: "metallb.ipaddresspool.j2"
dest: "/var/lib/rancher/k3s/server/manifests/metallb-configmap.yaml"
owner: root
group: root

View File

@@ -1,13 +0,0 @@
apiVersion: v1
kind: ConfigMap
metadata:
namespace: metallb-system
name: config
data:
config: |
address-pools:
- name: default
protocol: layer2
addresses:
- {{ metal_lb_ip_range }}

View File

@@ -0,0 +1,14 @@
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: first-pool
namespace: metallb-system
spec:
addresses:
- {{ metal_lb_ip_range }}
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: default
namespace: metallb-system

File diff suppressed because it is too large Load Diff

View File

@@ -30,4 +30,3 @@ subjects:
- kind: ServiceAccount
name: kube-vip
namespace: kube-system