Validates spectro cluster packs
POST/v1/spectroclusters/validate/packs
Validates spectro cluster packs
Request
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
- Array [
- Array [
- Array [
- ]
- ]
- ]
profiles object[]
packValues object[]
Cluster profile packs array
manifests undefined[]
Pack manifests are additional content as part of the profile
contentstring
Manifest content in yaml
namestringrequired
Manifest name
uidstring
Manifest uid
namestringrequired
Pack name
tagstring
Pack version tag
typestring
Possible values: [spectro
, helm
, manifest
, oci
]
Default value: spectro
valuesstring
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
replaceWithProfilestring
Cluster profile uid to be replaced with new profile
uidstring
Cluster profile uid
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[]
displayNamestring
errors object[]
codestring
messagestring
namestring
profiles object[]
packs object
Constraint validator response
results object[]
displayNamestring
errors object[]
codestring
messagestring
namestring
uidstring
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"
}
]
}
Loading...