swagger: add kubeconfig download
@@ -131,7 +131,7 @@ paths:
500:
description: Internal server error
- /clusters/{clusterId}/actions/download:
+ /clusters/{clusterId}/downloads/image:
get:
tags:
- inventory
@@ -174,6 +174,33 @@ paths:
500:
description: Internal server error
+ /clusters/{clusterId}/downloads/kubeconfig:
+ get:
+ tags:
+ - inventory
+ summary: Download the kubeconfig file for the specified cluster
+ operationId: DownloadClusterKubeconfig
+ produces:
+ - text/x-yaml
+ parameters:
+ - in: path
+ name: clusterId
+ description: The ID of the cluster whose kubeconfig to download
+ type: string
+ format: uuid
+ required: true
+ responses:
+ 200:
+ description: The kubeconfig file
+ schema:
+ type: file
+ 404:
+ description: Cluster not found
+ 409:
+ description: Invalid state
+ 500:
+ description: Internal server error
+
/clusters/{clusterId}/actions/install:
post:
tags:
