This is an automated email from the ASF dual-hosted git repository.
shwstppr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 861107fa5b1 CKS: make clustertype optional to keep backwards
compatibility (#8180)
861107fa5b1 is described below
commit 861107fa5b1c230f46b8ef7401a6a8ffece18e96
Author: Wei Zhou <[email protected]>
AuthorDate: Tue Nov 7 20:01:38 2023 +0100
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
---
.../api/command/user/kubernetes/cluster/CreateKubernetesClusterCmd.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/plugins/integrations/kubernetes-service/src/main/java/org/apache/cloudstack/api/command/user/kubernetes/cluster/CreateKubernetesClusterCmd.java
b/plugins/integrations/kubernetes-service/src/main/java/org/apache/cloudstack/api/command/user/kubernetes/cluster/CreateKubernetesClusterCmd.java
index aa53a0573f9..12a50c9e88f 100644
---
a/plugins/integrations/kubernetes-service/src/main/java/org/apache/cloudstack/api/command/user/kubernetes/cluster/CreateKubernetesClusterCmd.java
+++
b/plugins/integrations/kubernetes-service/src/main/java/org/apache/cloudstack/api/command/user/kubernetes/cluster/CreateKubernetesClusterCmd.java
@@ -145,7 +145,7 @@ public class CreateKubernetesClusterCmd extends
BaseAsyncCreateCmd {
description = "root disk size in GB for each node")
private Long nodeRootDiskSize;
- @Parameter(name = ApiConstants.CLUSTER_TYPE, type = CommandType.STRING,
required = true, description = "type of the cluster: CloudManaged,
ExternalManaged", since="4.19.0")
+ @Parameter(name = ApiConstants.CLUSTER_TYPE, type = CommandType.STRING,
description = "type of the cluster: CloudManaged, ExternalManaged. The default
value is CloudManaged.", since="4.19.0")
private String clusterType;
/////////////////////////////////////////////////////