Skip to content

Commit b75d4d1

Browse files
author
Moritz Clasmeier
committed
Defaults for GKE & OpenShift
1 parent 47bfdc7 commit b75d4d1

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

internal/clusterdefaults/clusterdefaults.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,22 @@ func getDefaultsForClusterType(clusterType types.ClusterType) map[string]interfa
7373
},
7474
}
7575

76+
case types.ClusterTypeInfraGKE:
77+
return map[string]interface{}{
78+
"central": map[string]interface{}{
79+
"exposure": types.ExposureLoadBalancer.String(),
80+
"portForwarding": false,
81+
},
82+
}
83+
84+
case types.ClusterTypeInfraOpenShift4:
85+
return map[string]interface{}{
86+
"central": map[string]interface{}{
87+
"exposure": types.ExposureLoadBalancer.String(),
88+
"portForwarding": false,
89+
},
90+
}
91+
7692
default:
7793
return nil
7894
}

0 commit comments

Comments
 (0)