Sync Kubeconfig

Sync Kubeconfig

Api to update kubeconfig Kubernetes Cluster for Telco Cloud Automation

Request
URI
POST
https://{api_host}/telco/api/caas/v2/clusters/{clusterName}/syncKubeconfig
COPY
Path Parameters
string
clusterName
Optional

Name of the cluster whose kubeconfig has to be renewed

Query Parameters
string
mgmtClusterName
Optional

Name of the management cluster where the request has to be executed

string
tcaCpId
Optional

Id of the TCA CP where the request has to be routed.


Authentication
This operation uses the following authentication methods.
Responses
200

Successfully accepted request to update cluster certificate.

Operation doesn't return any data structure

400

Bad Request

Returns errorResponse of type(s) application/json
{
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of error
errors
Optional

errors


404

Resource request is not found

Returns errorResponse of type(s) application/json
{
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of error
errors
Optional

errors


409

Shall be returned when multiple clusters exist with same name. The response body shall contain a ErrorResponse structure, in which the "message" attribute shall convey more information about the error.

Returns errorResponse of type(s) application/json
{
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of error
errors
Optional

errors


500

Internal Server Error

Returns errorResponse of type(s) application/json
{
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of error
errors
Optional

errors