mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 10:18:13 +00:00 
			
		
		
		
	Use the e2e zone name as the cluster name.
This needs a revamp, but for now e2e zone name is used as the unique cluster identifier in our e2e tests and we will continue to use that pattern.
This commit is contained in:
		| @@ -52,8 +52,12 @@ function set-federation-zone-vars { | |||||||
|   export OVERRIDE_CONTEXT="${CLUSTER_CONTEXT}" |   export OVERRIDE_CONTEXT="${CLUSTER_CONTEXT}" | ||||||
|   echo "Setting zone vars to: $OVERRIDE_CONTEXT" |   echo "Setting zone vars to: $OVERRIDE_CONTEXT" | ||||||
|   if [[ "$KUBERNETES_PROVIDER" == "gce"  ]];then |   if [[ "$KUBERNETES_PROVIDER" == "gce"  ]];then | ||||||
|  |     # This needs a revamp, but for now e2e zone name is used as the unique | ||||||
|  |     # cluster identifier in our e2e tests and we will continue to use that | ||||||
|  |     # pattern. | ||||||
|  |     export CLUSTER_NAME="${zone}" | ||||||
|  |  | ||||||
|     export KUBE_GCE_ZONE="$zone" |     export KUBE_GCE_ZONE="${zone}" | ||||||
|     # gcloud has a 61 character limit, and for firewall rules this |     # gcloud has a 61 character limit, and for firewall rules this | ||||||
|     # prefix gets appended to itself, with some extra information |     # prefix gets appended to itself, with some extra information | ||||||
|     # need tot keep it short |     # need tot keep it short | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Madhusudan.C.S
					Madhusudan.C.S