Update Addon

Update Addon

API to update Addon on Kubernetes Cluster

Request
URI
PUT
https://{api_host}/telco/api/caas/v2/clusters/{clusterName}/addons/{addonName}
COPY
Path Parameters
string
clusterName
Required

Name of cluster on which addon needs to be updated

string
addonName
Required

Name of addon which needs to be updated

Query Parameters
string
mgmtClusterName
Optional

Name of management cluster of the given cluster. If given cluster is management cluster, this is not required

string
tcaCpId
Required

TCA-CP id of management cluster managing given cluster


Request Body

Update Addon payload. Only spec can be updated

addon of type(s) application/json
Required
{
    "lastUpdated": "lastUpdated",
    "metadata": {
        "resourceVersion": 0.8008281904610115,
        "clusterName": "clusterName",
        "name": "name"
    },
    "creationUser": "creationUser",
    "creationDate": "creationDate",
    "spec": {
        "tcaBomReleaseRef": {
            "uid": "uid",
            "apiVersion": "apiVersion",
            "kind": "kind",
            "resourceVersion": "resourceVersion",
            "fieldPath": "fieldPath",
            "name": "name",
            "namespace": "namespace"
        },
        "name": "name",
        "namespace": "namespace",
        "clusterRef": {
            "uid": "uid",
            "apiVersion": "apiVersion",
            "kind": "kind",
            "resourceVersion": "resourceVersion",
            "fieldPath": "fieldPath",
            "name": "name",
            "namespace": "namespace"
        },
        "config": {
            "partnerSystemRefs": [
                "partnerSystemRefs",
                "partnerSystemRefs"
            ],
            "stringData": "{}"
        }
    },
    "status": {
        "deleteAccepted": true,
        "resourceVersion": 6.027456183070403,
        "opstatus": "processing",
        "conditions": [
            {
                "severity": "Warning",
                "reason": "reason",
                "lastTransitionTime": "lastTransitionTime",
                "type": "Ready",
                "message": "message",
                "status": true
            },
            {
                "severity": "Warning",
                "reason": "reason",
                "lastTransitionTime": "lastTransitionTime",
                "type": "Ready",
                "message": "message",
                "status": true
            }
        ]
    }
}
metadata
Optional

metadata

spec
Optional

spec

status
Optional

status

string
lastUpdated
Optional

lastUpdated

string
creationDate
Optional

creationDate

string
creationUser
Optional

creationUser

Authentication
This operation uses the following authentication methods.
Responses
200

Successfully updated addon

Returns addon of type(s) application/json
{
    "lastUpdated": "lastUpdated",
    "metadata": {
        "resourceVersion": 0.8008281904610115,
        "clusterName": "clusterName",
        "name": "name"
    },
    "creationUser": "creationUser",
    "creationDate": "creationDate",
    "spec": {
        "tcaBomReleaseRef": {
            "uid": "uid",
            "apiVersion": "apiVersion",
            "kind": "kind",
            "resourceVersion": "resourceVersion",
            "fieldPath": "fieldPath",
            "name": "name",
            "namespace": "namespace"
        },
        "name": "name",
        "namespace": "namespace",
        "clusterRef": {
            "uid": "uid",
            "apiVersion": "apiVersion",
            "kind": "kind",
            "resourceVersion": "resourceVersion",
            "fieldPath": "fieldPath",
            "name": "name",
            "namespace": "namespace"
        },
        "config": {
            "partnerSystemRefs": [
                "partnerSystemRefs",
                "partnerSystemRefs"
            ],
            "stringData": "{}"
        }
    },
    "status": {
        "deleteAccepted": true,
        "resourceVersion": 6.027456183070403,
        "opstatus": "processing",
        "conditions": [
            {
                "severity": "Warning",
                "reason": "reason",
                "lastTransitionTime": "lastTransitionTime",
                "type": "Ready",
                "message": "message",
                "status": true
            },
            {
                "severity": "Warning",
                "reason": "reason",
                "lastTransitionTime": "lastTransitionTime",
                "type": "Ready",
                "message": "message",
                "status": true
            }
        ]
    }
}
metadata
Optional

metadata

spec
Optional

spec

status
Optional

status

string
lastUpdated
Optional

lastUpdated

string
creationDate
Optional

creationDate

string
creationUser
Optional

creationUser


400

Bad Request

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