diff --git a/src/api/rest/docs/docs.go b/src/api/rest/docs/docs.go index aa351061..d1622005 100644 --- a/src/api/rest/docs/docs.go +++ b/src/api/rest/docs/docs.go @@ -2161,7 +2161,7 @@ const docTemplate = `{ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", @@ -2778,7 +2778,7 @@ const docTemplate = `{ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", @@ -2830,7 +2830,7 @@ const docTemplate = `{ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", @@ -2887,7 +2887,7 @@ const docTemplate = `{ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", @@ -2950,7 +2950,7 @@ const docTemplate = `{ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", @@ -2958,7 +2958,7 @@ const docTemplate = `{ }, { "type": "string", - "default": "k8snodegroup-01", + "default": "k8snodegroup01", "description": "K8sNodeGroup Name", "name": "k8sNodeGroupName", "in": "path", @@ -3015,7 +3015,7 @@ const docTemplate = `{ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", @@ -3023,7 +3023,7 @@ const docTemplate = `{ }, { "type": "string", - "default": "ng-01", + "default": "nodegroup01", "description": "K8sNodeGroup Name", "name": "k8sNodeGroupName", "in": "path", @@ -3086,7 +3086,7 @@ const docTemplate = `{ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", @@ -3094,7 +3094,7 @@ const docTemplate = `{ }, { "type": "string", - "default": "ng-01", + "default": "nodegroup01", "description": "K8sNodeGroup Name", "name": "k8sNodeGroupName", "in": "path", @@ -3157,14 +3157,14 @@ const docTemplate = `{ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", "required": true }, { - "description": "Request body to provision K8sNodeGroup dynamically. \u003cbr\u003e Must include commonSpec and commonImage info. \u003cbr\u003e (ex: {name: k8snodegroup-01, commonImage: azure+koreacentral+ubuntu22.04, commonSpec: azure+koreacentral+Standard_B2s}]}) \u003cbr\u003e You can use /k8sClusterRecommendNode and /k8sClusterDynamicCheckRequest to get it. \u003cbr\u003e Check the guide: https://github.com/cloud-barista/cb-tumblebug/discussions/1913", + "description": "Request body to provision K8sNodeGroup dynamically. \u003cbr\u003e Must include commonSpec and commonImage info. \u003cbr\u003e (ex: {name: k8snodegroup01, commonImage: azure+koreacentral+ubuntu22.04, commonSpec: azure+koreacentral+Standard_B2s}]}) \u003cbr\u003e You can use /k8sClusterRecommendNode and /k8sClusterDynamicCheckRequest to get it. \u003cbr\u003e Check the guide: https://github.com/cloud-barista/cb-tumblebug/discussions/1913", "name": "k8sNodeGroupDynamicReq", "in": "body", "required": true, @@ -3226,7 +3226,7 @@ const docTemplate = `{ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", @@ -3288,7 +3288,7 @@ const docTemplate = `{ "required": true }, { - "description": "Request body to provision K8sCluster dynamically. \u003cbr\u003e Must include commonSpec and commonImage info. \u003cbr\u003e (ex: {name: k8scluster-01, commonImage: azure+koreacentral+ubuntu22.04, commonSpec: azure+koreacentral+Standard_B2s}]}) \u003cbr\u003e You can use /k8sClusterRecommendNode and /k8sClusterDynamicCheckRequest to get it. \u003cbr\u003e Check the guide: https://github.com/cloud-barista/cb-tumblebug/discussions/1913", + "description": "Request body to provision K8sCluster dynamically. \u003cbr\u003e Must include commonSpec and commonImage info. \u003cbr\u003e (ex: {name: k8scluster01, commonImage: azure+koreacentral+ubuntu22.04, commonSpec: azure+koreacentral+Standard_B2s}]}) \u003cbr\u003e You can use /k8sClusterRecommendNode and /k8sClusterDynamicCheckRequest to get it. \u003cbr\u003e Check the guide: https://github.com/cloud-barista/cb-tumblebug/discussions/1913", "name": "k8sClusterDyanmicReq", "in": "body", "required": true, @@ -11767,6 +11767,9 @@ const docTemplate = `{ "$ref": "#/definitions/model.K8sClusterNodeImageDetail" } }, + "nodegroup_naming_rule": { + "type": "string" + }, "nodegroups_on_creation": { "type": "boolean" }, diff --git a/src/api/rest/docs/swagger.json b/src/api/rest/docs/swagger.json index caa94343..15a35ff6 100644 --- a/src/api/rest/docs/swagger.json +++ b/src/api/rest/docs/swagger.json @@ -2154,7 +2154,7 @@ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", @@ -2771,7 +2771,7 @@ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", @@ -2823,7 +2823,7 @@ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", @@ -2880,7 +2880,7 @@ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", @@ -2943,7 +2943,7 @@ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", @@ -2951,7 +2951,7 @@ }, { "type": "string", - "default": "k8snodegroup-01", + "default": "k8snodegroup01", "description": "K8sNodeGroup Name", "name": "k8sNodeGroupName", "in": "path", @@ -3008,7 +3008,7 @@ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", @@ -3016,7 +3016,7 @@ }, { "type": "string", - "default": "ng-01", + "default": "nodegroup01", "description": "K8sNodeGroup Name", "name": "k8sNodeGroupName", "in": "path", @@ -3079,7 +3079,7 @@ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", @@ -3087,7 +3087,7 @@ }, { "type": "string", - "default": "ng-01", + "default": "nodegroup01", "description": "K8sNodeGroup Name", "name": "k8sNodeGroupName", "in": "path", @@ -3150,14 +3150,14 @@ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", "required": true }, { - "description": "Request body to provision K8sNodeGroup dynamically. \u003cbr\u003e Must include commonSpec and commonImage info. \u003cbr\u003e (ex: {name: k8snodegroup-01, commonImage: azure+koreacentral+ubuntu22.04, commonSpec: azure+koreacentral+Standard_B2s}]}) \u003cbr\u003e You can use /k8sClusterRecommendNode and /k8sClusterDynamicCheckRequest to get it. \u003cbr\u003e Check the guide: https://github.com/cloud-barista/cb-tumblebug/discussions/1913", + "description": "Request body to provision K8sNodeGroup dynamically. \u003cbr\u003e Must include commonSpec and commonImage info. \u003cbr\u003e (ex: {name: k8snodegroup01, commonImage: azure+koreacentral+ubuntu22.04, commonSpec: azure+koreacentral+Standard_B2s}]}) \u003cbr\u003e You can use /k8sClusterRecommendNode and /k8sClusterDynamicCheckRequest to get it. \u003cbr\u003e Check the guide: https://github.com/cloud-barista/cb-tumblebug/discussions/1913", "name": "k8sNodeGroupDynamicReq", "in": "body", "required": true, @@ -3219,7 +3219,7 @@ }, { "type": "string", - "default": "k8scluster-01", + "default": "k8scluster01", "description": "K8sCluster ID", "name": "k8sClusterId", "in": "path", @@ -3281,7 +3281,7 @@ "required": true }, { - "description": "Request body to provision K8sCluster dynamically. \u003cbr\u003e Must include commonSpec and commonImage info. \u003cbr\u003e (ex: {name: k8scluster-01, commonImage: azure+koreacentral+ubuntu22.04, commonSpec: azure+koreacentral+Standard_B2s}]}) \u003cbr\u003e You can use /k8sClusterRecommendNode and /k8sClusterDynamicCheckRequest to get it. \u003cbr\u003e Check the guide: https://github.com/cloud-barista/cb-tumblebug/discussions/1913", + "description": "Request body to provision K8sCluster dynamically. \u003cbr\u003e Must include commonSpec and commonImage info. \u003cbr\u003e (ex: {name: k8scluster01, commonImage: azure+koreacentral+ubuntu22.04, commonSpec: azure+koreacentral+Standard_B2s}]}) \u003cbr\u003e You can use /k8sClusterRecommendNode and /k8sClusterDynamicCheckRequest to get it. \u003cbr\u003e Check the guide: https://github.com/cloud-barista/cb-tumblebug/discussions/1913", "name": "k8sClusterDyanmicReq", "in": "body", "required": true, @@ -11760,6 +11760,9 @@ "$ref": "#/definitions/model.K8sClusterNodeImageDetail" } }, + "nodegroup_naming_rule": { + "type": "string" + }, "nodegroups_on_creation": { "type": "boolean" }, diff --git a/src/api/rest/docs/swagger.yaml b/src/api/rest/docs/swagger.yaml index 05fff4b0..48b9a8d2 100644 --- a/src/api/rest/docs/swagger.yaml +++ b/src/api/rest/docs/swagger.yaml @@ -1618,7 +1618,7 @@ paths: required: true schema: type: string - default: k8scluster-01 + default: k8scluster01 - name: action in: query description: Action to K8sCluster @@ -2089,7 +2089,7 @@ paths: required: true schema: type: string - default: k8scluster-01 + default: k8scluster01 responses: "200": description: OK @@ -2129,7 +2129,7 @@ paths: required: true schema: type: string - default: k8scluster-01 + default: k8scluster01 - name: option in: query description: Option for K8sCluster deletion @@ -2171,7 +2171,7 @@ paths: required: true schema: type: string - default: k8scluster-01 + default: k8scluster01 requestBody: description: Details of the K8sNodeGroup object content: @@ -2220,14 +2220,14 @@ paths: required: true schema: type: string - default: k8scluster-01 + default: k8scluster01 - name: k8sNodeGroupName in: path description: K8sNodeGroup Name required: true schema: type: string - default: k8snodegroup-01 + default: k8snodegroup01 - name: option in: query description: Option for K8sNodeGroup deletion @@ -2269,14 +2269,14 @@ paths: required: true schema: type: string - default: k8scluster-01 + default: k8scluster01 - name: k8sNodeGroupName in: path description: K8sNodeGroup Name required: true schema: type: string - default: ng-01 + default: nodegroup01 requestBody: description: Details of the TbChangeK8sNodeGroupAutoscaleSizeReq object content: @@ -2325,14 +2325,14 @@ paths: required: true schema: type: string - default: k8scluster-01 + default: k8scluster01 - name: k8sNodeGroupName in: path description: K8sNodeGroup Name required: true schema: type: string - default: ng-01 + default: nodegroup01 requestBody: description: Details of the TbSetK8sNodeGroupAutoscalingReq object content: @@ -2381,7 +2381,7 @@ paths: required: true schema: type: string - default: k8scluster-01 + default: k8scluster01 - name: x-request-id in: header description: Custom request ID @@ -2389,7 +2389,7 @@ paths: type: string requestBody: description: "Request body to provision K8sNodeGroup dynamically.
Must\ - \ include commonSpec and commonImage info.
(ex: {name: k8snodegroup-01,\ + \ include commonSpec and commonImage info.
(ex: {name: k8snodegroup01,\ \ commonImage: azure+koreacentral+ubuntu22.04, commonSpec: azure+koreacentral+Standard_B2s}]})\ \
You can use /k8sClusterRecommendNode and /k8sClusterDynamicCheckRequest\ \ to get it.
Check the guide: https://github.com/cloud-barista/cb-tumblebug/discussions/1913" @@ -2439,7 +2439,7 @@ paths: required: true schema: type: string - default: k8scluster-01 + default: k8scluster01 requestBody: description: Details of the TbUpgradeK8sClusterReq object content: @@ -2496,7 +2496,7 @@ paths: type: string requestBody: description: "Request body to provision K8sCluster dynamically.
Must\ - \ include commonSpec and commonImage info.
(ex: {name: k8scluster-01,\ + \ include commonSpec and commonImage info.
(ex: {name: k8scluster01,\ \ commonImage: azure+koreacentral+ubuntu22.04, commonSpec: azure+koreacentral+Standard_B2s}]})\ \
You can use /k8sClusterRecommendNode and /k8sClusterDynamicCheckRequest\ \ to get it.
Check the guide: https://github.com/cloud-barista/cb-tumblebug/discussions/1913" @@ -8911,6 +8911,8 @@ components: type: array items: $ref: '#/components/schemas/model.K8sClusterNodeImageDetail' + nodegroup_naming_rule: + type: string nodegroups_on_creation: type: boolean required_subnet_count: