Kubeconfig Service Get
Get cluster kubeconfig.
Name of this cluster.
ID of Organization.
Name of the management cluster.
Provisioner of the cluster.
Namespace option to get kubeconfig for a specific namespace. It is optional. If not specified, the cluster kubeconfig will be returned. Specifying a namespace is mainly for application developers who have access to a workspace and certain namespaces in a cluster to get a kubeconfig to access that cluster.
CliType will help identify the appropriate kubeconfig to be returned for CLI application.
- TMC_CLI: TMC_CLI platform.
- TANZU_CLI: TANZU_CLI platform.
A successful response.
{
"kubeconfig": "string",
"status": "string",
"msg": "string",
"endpoint": "string"
}
An unexpected error response.
{
"error": "string",
"code": 0,
"message": "string",
"details": [
{
"typeUrl": "string",
"value": "string"
}
]
}