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
This commit is contained in:
parent
24fd882cd6
commit
746a98ebed
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user