core/scripts/00_install_metalLB.sh

12 lines
324 B
Bash
Raw Normal View History

#!/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