Guillaume B.B. Van Hemmen
5e81dc3eba
Removed the `-x` flag from `set` to prevent printing each command during execution, improving log readability. The script will still terminate on errors with the `-e` flag.
11 lines
323 B
Bash
Executable file
11 lines
323 B
Bash
Executable file
#!/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
|