Generate Addons Deployment Spec
API to generate addons deployment spec
Request
URI
POST
https://{api_host}/tca/caas/api/v2/orgs/{orgId}/templates/{templateId}/addons/{addonTemplateName}/resolve
COPY
Path Parameters
string
orgId
Optional
The identifier of the tenant
string
templateId
Required
Cluster template Id for which deploy spec to be generated
string
addonTemplateName
Required
AddOn template name for which deploy spec to be generated
Request Body
Overrides for addon template. addon deploy spec is generated by merging the cluster template and overrides
addOnOverrides
of type(s)
application/json
Required
object
metadata
Optional
addon metadata
object
spec
Required
addon spec
Responses
200
Returns addon deployment spec
Returns
addon
of type(s)
application/json
{
"metadata": {
"resourceVersion": "number",
"name": "string",
"clusterName": "string",
"annotations": {
"templateName": "string",
"templateAddonName": "string"
}
},
"spec": {
"clusterRef": {
"apiVersion": "string",
"fieldPath": "string",
"kind": "string",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"uid": "string"
},
"name": "string",
"namespace": "string",
"tcaBomReleaseRef": {
"apiVersion": "string",
"fieldPath": "string",
"kind": "string",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"uid": "string"
},
"config": {
"partnerSystemRefs": [
"string"
]
}
},
"status": {
"resourceVersion": "number",
"opstatus": "string",
"deleteAccepted": false,
"conditions": [
{
"lastTransitionTime": "string",
"status": "string",
"type": "string",
"reason": "string",
"message": "string",
"severity": "string"
}
]
},
"lastUpdated": "string",
"creationDate": "string",
"creationTenantId": "string",
"creationUser": "string",
"intentQueued": false
}
object
metadata
Optional
metadata
object
spec
Optional
properties of Addons
object
status
Optional
status
string
lastUpdated
Optional
lastUpdated
string
creationDate
Optional
creationDate
string
creationTenantId
Optional
creationTenantId
string
creationUser
Optional
creationUser
boolean
intentQueued
Optional
intentQueued
400
Returns
BadRequest
of type(s)
application/json
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
404
Returns
NotFound
of type(s)
application/json
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
500
Returns
InternalServerError
of type(s)
application/json
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
Cluster V2 Templates Operations
POST
Create Cluster Template
DELETE
Delete Cluster Template
GET
Download Cluster Template
POST
Generate Addons Deployment Spec
POST
Generate Cluster Deployment Spec
POST
Generate Node Pools Deployment Spec
GET
Get All Cluster Templates
GET
Get Cluster Template
POST
Transform Cluster Template
PUT
Update Cluster Template
POST
Upload Cluster Template