Skip to content

Commit faf9c7f

Browse files
authored
Merge pull request #950 from lsst-it/IT-6041_rancher_ingress
(template/metallb) fix script and ipaddresspool on rancher.ls
2 parents 399652a + 339b147 commit faf9c7f

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

rke2/rancher.ls/metallb/ipaddresspool-ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
namespace: metallb-system
77
spec:
88
addresses:
9-
- 139.229.135.35/32
9+
- 139.229.141.7/32
1010
autoAssign: false
1111
---
1212
apiVersion: metallb.io/v1beta1

template/metallb/metallb.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
#!/bin/bash
22
set -xe
33

4+
# change back to repo add because when adding --repo it does a temp and quick fetch,
5+
# but if the index.yaml is too big, it fails and doesnt found the version. (bug)
6+
7+
helm repo add metallb https://metallb.github.io/metallb
8+
helm repo update
49
helm upgrade --install metallb metallb/metallb \
5-
--repo https://metallb.github.io/metallb \
610
--version 0.14.9 \
7-
--namespace metallb-system --create-namespace \
11+
--namespace metallb-system \
12+
--create-namespace \
813
--atomic \
9-
--timeout 600s --wait
14+
--timeout 600s \
15+
--wait
1016

1117
kubectl wait --for=condition=Ready pod -l app.kubernetes.io/name=metallb -n metallb-system --timeout=180s
1218

0 commit comments

Comments
 (0)