#!/bin/bash set -e 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