diff --git a/aula-12/setup.sh b/aula-12/setup.sh index f6acaa6..7cd5d3b 100755 --- a/aula-12/setup.sh +++ b/aula-12/setup.sh @@ -180,6 +180,7 @@ helm repo add vm https://victoriametrics.github.io/helm-charts/ 2>/dev/null || t helm repo update vm kubectl create namespace monitoring 2>/dev/null || true +kubectl label namespace monitoring pod-security.kubernetes.io/enforce=privileged --overwrite if helm status monitoring -n monitoring &> /dev/null; then log_warn "Já instalado. Atualizando..."