mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-30 17:58:14 +00:00 
			
		
		
		
	Merge pull request #40719 from alindeman/kube-temp-exported
Automatic merge from submit-queue (batch tested with PRs 39169, 40719, 38954, 40808, 40689) Exports KUBE_TEMP for use in Vagrantfile In #40147, the logic for setting `KUBE_TEMP` was refactored into `common.sh`. However, it was overlooked that `KUBE_TEMP` [needs to be exported for vagrant to work properly](https://github.com/kubernetes/kubernetes/pull/40147/files#diff-b19d3d93456020e2168c7f304f722969). This PR restores the `export` so that `Vagrantfile` can use `ENV["KUBE_TEMP"]` properly. 👀 @rthallisey @shyamjvs @timothysc
This commit is contained in:
		| @@ -314,7 +314,7 @@ function load-or-gen-kube-bearertoken() { | ||||
| #   KUBE_TEMP | ||||
| function ensure-temp-dir { | ||||
|   if [[ -z ${KUBE_TEMP-} ]]; then | ||||
|     KUBE_TEMP=$(mktemp -d -t kubernetes.XXXXXX) | ||||
|     export KUBE_TEMP=$(mktemp -d -t kubernetes.XXXXXX) | ||||
|     trap 'rm -rf "${KUBE_TEMP}"' EXIT | ||||
|   fi | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Submit Queue
					Kubernetes Submit Queue