Get Workload Cluster Kube Config
Api to fetch kubeconfig for workload cluster
Request
URI
GET
https://{api_host}/telco/api/caas/v2/k8sresources/secrets/{workload-cluster-name}/{secret-name}
COPY
Path Parameters
string
workload-cluster-name
Required
name of the workload cluster
string
secret-name
Optional
name of the workload cluster followed by "-kubeconfig"
Query Parameters
string
tcaCpId
Optional
tcaCpId where the management cluster is deployed. tcaCpId is the hcxUUID in the response of get cluster by Id API call for management cluster.
string
mgmtClusterName
Optional
name of the management cluster where the request needs to be executed
boolean
tcaCluster
Optional
If the request has to be executed on the tcaCluster
Responses
200
Successfully fetched resource
Returns string of type(s) application/json
Operation doesn't return any data structure
400
Bad Request
Returns errorResponse of type(s) application/json
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
500
Internal Server Error
Returns errorResponse of type(s) application/json
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
On This Page
Generic Cr Operations
GET
Get Tca Bom Release
GET
Get Workload Cluster Kube Config
GET
List Tca Bom Releases