Imports a cluster profile
POST/v1/clusterprofiles/import
Imports a cluster profile
Request
Query Parameters
If true then cluster profile will be published post successful import
Header Parameters
Scope the request to the specified project uid
- application/json
Body
Array [
Array [
]
Array [
]
]
Array [
]
metadata
object
Cluster profile import metadata
Cluster profile description
labels
object
Cluster profile labels
Cluster profile name
spec
object
Cluster profile import spec
template
object
Cluster profile import template
Cluster profile cloud type
packs
object[]
Cluster profile packs array
Pack layer [ "os", "k8s", "cni", "csi", "addon" ]
manifests
object[]
Pack manifests array
Pack manifest content in yaml
Pack manifest name
Pack name
registry
object
Pack registry import entity
matchingRegistries
object[]
If true then pack registry is private and is not accessible for the pack sync
Pack registry kind [ "pack", "helm", "oci" ]
Pack registry name
OCI registry provider type [ "helm", "pack", "zarf" ]
Pack registry uid
metadata
object
Pack registry metadata
If true then pack registry is private and is not accessible for the pack sync
Pack registry kind [ "pack", "helm", "oci" ]
Pack registry name
OCI registry provider type [ "helm", "pack", "zarf" ]
Pack registry uid
Pack version tag
Pack type [ "spectro", "helm", "manifest", "oci" ]
Pack values are the customizable configurations for the pack
Pack version
Cluster profile type [ "cluster", "infra", "add-on", "system" ]
variables
object[]
List of unique variable fields defined for a cluster profile with schema constraints
The default value of the variable
Variable description
Unique display name of the variable
Possible values: [string
, number
, boolean
, ipv4
, ipv4cidr
, ipv6
, version
]
Default value: string
Format type of the variable value
If true, then variable will be hidden for overriding the value. By default the hidden flag will be set to false
If true, then variable value can't be editable. By default the immutable flag will be set to false
If true, then default value will be masked. By default the isSensitive flag will be set to false
Variable name
Regular expression pattern which the variable value must match
Flag to specify if the variable is optional or mandatory. If it is mandatory then default value must be provided
Cluster profile version
Responses
- 201
Created successfully
Response Headers
AuditUid
string
Audit uid for the request
- application/json
- Schema
- Example (from schema)
Schema
{
"uid": "string"
}