Validates specified cluster profile packs
POST/v1/clusterprofiles/:uid/validate/packs
Validates specified cluster profile packs
Request
Path Parameters
Cluster profile uid
Header Parameters
Scope the request to the specified project uid
- application/json
Body
Array [
Array [
]
]
packs
object[]
Cluster profile packs array
Pack layer
manifests
undefined[]
Pack manifests are additional content as part of the profile
Manifest content
Manifest name
Pack name
Pack registry uid
Pack tag
Possible values: [spectro
, helm
, manifest
, oci
]
Default value: spectro
Pack uid
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
Possible values: [cluster
, infra
, add-on
, system
]
Default value: cluster
Responses
- 200
Cluster profile packs validation response
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
packs
object
Constraint validator response
results
object[]
errors
object[]
{
"packs": {
"results": [
{
"displayName": "string",
"errors": [
{
"code": "string",
"message": "string"
}
],
"name": "string"
}
]
}
}