mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +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 nounset
 | 
				
			||||||
set -o pipefail
 | 
					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."
 | 
					  echo "Skipping certs test on non-gce provider."
 | 
				
			||||||
  exit 0
 | 
					  exit 0
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user