mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Fix e2e-suite/certs.sh unbound variables
Fixes e2e failure on GCE
This commit is contained in:
		@@ -21,7 +21,11 @@ set -o errexit
 | 
			
		||||
set -o nounset
 | 
			
		||||
set -o pipefail
 | 
			
		||||
 | 
			
		||||
if [[ "$KUBERNETES_PROVIDER" != "gce" ]]; then
 | 
			
		||||
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/../..
 | 
			
		||||
source "${KUBE_ROOT}/cluster/kube-env.sh"
 | 
			
		||||
source "${KUBE_ROOT}/cluster/${KUBERNETES_PROVIDER}/util.sh"
 | 
			
		||||
 | 
			
		||||
if [[ "${KUBERNETES_PROVIDER}" != "gce" ]]; then
 | 
			
		||||
  echo "Skipping certs test on non-gce provider."
 | 
			
		||||
  exit 0
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user