Validates cluster packs
POST/v1/spectroclusters/:uid/validate/packs
Validates cluster packs
Request
Path Parameters
cluster uid
Header Parameters
Scope the request to the specified project uid
- application/json
Body
Array [
Array [
Array [
]
]
Array [
]
]
profiles
object[]
packValues
object[]
Cluster profile packs array
manifests
undefined[]
Pack manifests are additional content as part of the profile
Manifest content in yaml
Manifest name
Manifest uid
Pack name
Pack version tag
Possible values: [spectro
, helm
, manifest
, oci
]
Default value: spectro
Pack values represents the values.yaml used as input parameters either Params OR Values should be used, not both If both applied at the same time, will only use Values
Cluster profile uid to be replaced with new profile
Cluster profile uid
variables
object[]
Variable name
Actual value of the variable to be used within the cluster
Responses
- 200
Cluster packs validation response
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
Array [
Array [
Array [
]
]
]
machinePools
object
Constraint validator response
results
object[]
errors
object[]
profiles
object[]
packs
object
Constraint validator response
results
object[]
errors
object[]
Cluster profile uid
{
"machinePools": {
"results": [
{
"displayName": "string",
"errors": [
{
"code": "string",
"message": "string"
}
],
"name": "string"
}
]
},
"profiles": [
{
"packs": {
"results": [
{
"displayName": "string",
"errors": [
{
"code": "string",
"message": "string"
}
],
"name": "string"
}
]
},
"uid": "string"
}
]
}