From f18c9304f9ae6496768f508df2c864246438a547 Mon Sep 17 00:00:00 2001 From: Saikat Roychowdhury Date: Wed, 18 Nov 2020 17:33:15 +0000 Subject: [PATCH] Shorten the GKE cluster name Some intree tests create disks with names which is a combination of cluster name + UUID, and exceeds the 63 chars limit of disk resources --- test/k8s-integration/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/k8s-integration/main.go b/test/k8s-integration/main.go index d3c673145..83680feaa 100644 --- a/test/k8s-integration/main.go +++ b/test/k8s-integration/main.go @@ -47,7 +47,7 @@ var ( numNodes = flag.Int("num-nodes", -1, "the number of nodes in the test cluster") imageType = flag.String("image-type", "cos", "the image type to use for the cluster") gkeReleaseChannel = flag.String("gke-release-channel", "", "GKE release channel to be used for cluster deploy. One of 'rapid', 'stable' or 'regular'") - gkeTestClusterName = flag.String("gke-cluster-name", "gcp-pd-csi-driver-test-cluster", "GKE cluster name") + gkeTestClusterName = flag.String("gke-cluster-name", "gcp-pd-csi-cluster", "GKE cluster name") gkeNodeVersion = flag.String("gke-node-version", "", "GKE cluster worker node version") isRegionalCluster = flag.Bool("is-regional-cluster", false, "tell the test that a regional cluster is being used. Should be used for running on an existing regional cluster (ie, --bringup-cluster=false). The test will fail if a zonal GKE cluster is created when this flag is true")