diff --git a/kubetest2-gke/deployer/network_test.go b/kubetest2-gke/deployer/network_test.go index d0338c9c..aff9d51b 100644 --- a/kubetest2-gke/deployer/network_test.go +++ b/kubetest2-gke/deployer/network_test.go @@ -39,6 +39,14 @@ func TestPrivateClusterArgs(t *testing.T) { clusterInfo: cluster{index: 0, name: "whatever-cluster-name"}, expected: []string{}, }, + { + desc: "--private-cluster-master-ip-range can be empty for non-private clusters", + network: "whatever-network", + accessLevel: "", + masterIPRanges: []string{}, + clusterInfo: cluster{index: 0, name: "whatever-cluster-name"}, + expected: []string{}, + }, { desc: "test private cluster args for private cluster with no limit", network: "test-network1",