Skip to content

Commit dd047d3

Browse files
author
Moritz Clasmeier
committed
More test cases
1 parent b75d4d1 commit dd047d3

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

internal/clusterdefaults/clusterdefaults_test.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,20 @@ func TestClusterDefaults(t *testing.T) {
6161
wantExposure: ptr.To(types.ExposureNone),
6262
wantPortForwarding: ptr.To(true),
6363
},
64+
{
65+
name: "gke cluster",
66+
clusterType: types.ClusterTypeInfraGKE,
67+
wantResourceProfile: types.ResourceProfileMedium,
68+
wantExposure: ptr.To(types.ExposureLoadBalancer),
69+
wantPortForwarding: ptr.To(false),
70+
},
71+
{
72+
name: "openshift cluster",
73+
clusterType: types.ClusterTypeInfraGKE,
74+
wantResourceProfile: types.ResourceProfileMedium,
75+
wantExposure: ptr.To(types.ExposureLoadBalancer),
76+
wantPortForwarding: ptr.To(false),
77+
},
6478
}
6579

6680
for _, tt := range tests {

0 commit comments

Comments
 (0)