Adding flag for testing to ignore cloud provider taint.
Adding the ability to ignore no schedule flags in testing. Specifically node.cloudprovider.kubernetes.io/uninitialized:NoSchedule Fix shellcheck complaint.
This commit is contained in:
@@ -130,6 +130,11 @@ if [[ "${KUBERNETES_PROVIDER}" == "azure" ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "${TEST_IGNORE_CLOUDPROVIDER_TAINT:-}" == true ]]; then
|
||||
echo "Found test ignore cloude provider taint, removing NoSchedule taint from all nodes"
|
||||
"${KUBE_ROOT}/cluster/kubectl.sh" taint nodes --all node.cloudprovider.kubernetes.io/uninitialized:NoSchedule-
|
||||
fi
|
||||
|
||||
ginkgo_args=()
|
||||
if [[ -n "${CONFORMANCE_TEST_SKIP_REGEX:-}" ]]; then
|
||||
ginkgo_args+=("--skip=${CONFORMANCE_TEST_SKIP_REGEX}")
|
||||
|
Reference in New Issue
Block a user