From 746a98ebedb6e0f77a5b96d01926350b021662a7 Mon Sep 17 00:00:00 2001 From: jayonlau Date: Wed, 13 Oct 2021 13:00:37 -0400 Subject: [PATCH] Remove helm status from deployment scripts for podsecuritypolicy With the move to helm v3, helm status requires a namespace to be specified, but doing so breaks helm v2 compatability. This change removes the usage of helm serve in openstack-helm-infra's deployment scripts. Change-Id: I7ed4a88fca679b1d27c74f0e260e690093fdf591 --- tools/deployment/podsecuritypolicy/007-podsecuritypolicy.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/deployment/podsecuritypolicy/007-podsecuritypolicy.sh b/tools/deployment/podsecuritypolicy/007-podsecuritypolicy.sh index 0d970a400..770dd9257 100755 --- a/tools/deployment/podsecuritypolicy/007-podsecuritypolicy.sh +++ b/tools/deployment/podsecuritypolicy/007-podsecuritypolicy.sh @@ -40,9 +40,6 @@ helm upgrade --install podsecuritypolicy ./podsecuritypolicy \ #NOTE: Wait for deploy ./tools/deployment/common/wait-for-pods.sh kube-system -#NOTE: Display info -helm status podsecuritypolicy - # Test that host networking is disallowed if kubectl apply -f /tmp/psp-test-pod.yaml; then echo "ERROR: podsecuritypolicy incorrectly admitted a privileged pod" @@ -62,9 +59,6 @@ helm upgrade --install podsecuritypolicy ./podsecuritypolicy \ #NOTE: Wait for deploy ./tools/deployment/common/wait-for-pods.sh kube-system -#NOTE: Display info -helm status podsecuritypolicy - # Test that host networking is allowed kubectl apply -f /tmp/psp-test-pod.yaml