mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	fix test with array expansion
This commit is contained in:
		@@ -80,7 +80,7 @@ function create-kubeconfig() {
 | 
			
		||||
  fi
 | 
			
		||||
 | 
			
		||||
  "${kubectl}" config set-cluster "${CONTEXT}" "${cluster_args[@]}"
 | 
			
		||||
  if [ -n "${user_args[@]:-}" ]; then
 | 
			
		||||
  if [[ -n "${user_args[@]:-}" ]]; then
 | 
			
		||||
    "${kubectl}" config set-credentials "${CONTEXT}" "${user_args[@]}"
 | 
			
		||||
  fi
 | 
			
		||||
  "${kubectl}" config set-context "${CONTEXT}" --cluster="${CONTEXT}" --user="${CONTEXT}"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user