12 lines
286 B
Bash
12 lines
286 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -ex
|
||
|
|
||
|
helm repo add metallb https://metallb.github.io/metallb
|
||
|
helm repo update
|
||
|
|
||
|
kubectl create namespace metallb-system
|
||
|
kubectl label namespace metallb-system pod-security.kubernetes.io/enforce=privileged
|
||
|
|
||
|
helm install metallb metallb/metallb --namespace metallb-system
|