Guillaume B.B. Van Hemmen
58986afe32
Introduces custom `metallb.yaml` Helm values with node selectors and tolerations targeting specific nodes. Renames and adjusts MetalLB resource file, removing unused IPs. Updates installation script to apply the new Helm values and handle namespace creation idempotently.
11 lines
324 B
Bash
Executable file
11 lines
324 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
helm repo add metallb https://metallb.github.io/metallb
|
|
helm repo update
|
|
|
|
kubectl create namespace metallb-system || true
|
|
kubectl label namespace metallb-system pod-security.kubernetes.io/enforce=privileged
|
|
|
|
helm install metallb metallb/metallb --namespace metallb-system -f ./helm-values/metallb.yaml
|