Skip to content

Commit 861107f

Browse files
CKS: make clustertype optional to keep backwards compatibility (#8180)
This PR fixes the issue that 4.18 cmk/api to create CKS cluster does not work in 4.19
1 parent e9b24b6 commit 861107f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/integrations/kubernetes-service/src/main/java/org/apache/cloudstack/api/command/user/kubernetes/cluster/CreateKubernetesClusterCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public class CreateKubernetesClusterCmd extends BaseAsyncCreateCmd {
145145
description = "root disk size in GB for each node")
146146
private Long nodeRootDiskSize;
147147

148-
@Parameter(name = ApiConstants.CLUSTER_TYPE, type = CommandType.STRING, required = true, description = "type of the cluster: CloudManaged, ExternalManaged", since="4.19.0")
148+
@Parameter(name = ApiConstants.CLUSTER_TYPE, type = CommandType.STRING, description = "type of the cluster: CloudManaged, ExternalManaged. The default value is CloudManaged.", since="4.19.0")
149149
private String clusterType;
150150

151151
/////////////////////////////////////////////////////

0 commit comments

Comments
 (0)