Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion pkg/api/clusterprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ const (
ClusterProfilePOWERVS7 ClusterProfile = "powervs-7"
ClusterProfilePOWERVS8 ClusterProfile = "powervs-8"
ClusterProfilePOWERVS9 ClusterProfile = "powervs-9"
ClusterProfilePOWERVSHCP ClusterProfile = "powervs-hcp"
ClusterProfileLibvirtPpc64le ClusterProfile = "libvirt-ppc64le"
ClusterProfileLibvirtPpc64leS2S ClusterProfile = "libvirt-ppc64le-s2s"
ClusterProfileLibvirtS390x ClusterProfile = "libvirt-s390x"
Expand Down Expand Up @@ -336,6 +337,7 @@ func ClusterProfiles() []ClusterProfile {
ClusterProfilePOWERVS7,
ClusterProfilePOWERVS8,
ClusterProfilePOWERVS9,
ClusterProfilePOWERVSHCP,
ClusterProfileKubevirt,
ClusterProfileLibvirtPpc64le,
ClusterProfileLibvirtPpc64leS2S,
Expand Down Expand Up @@ -608,6 +610,8 @@ func (p ClusterProfile) ClusterType() string {
return "powervs-8"
case ClusterProfilePOWERVS9:
return "powervs-9"
case ClusterProfilePOWERVSHCP:
return "powervs-hcp"
case ClusterProfileLibvirtPpc64le:
return "libvirt-ppc64le"
case ClusterProfileLibvirtPpc64leS2S:
Expand Down Expand Up @@ -955,6 +959,8 @@ func (p ClusterProfile) LeaseType() string {
return "powervs-8-quota-slice"
case ClusterProfilePOWERVS9:
return "powervs-9-quota-slice"
case ClusterProfilePOWERVSHCP:
return "powervs-hcp-quota-slice"
case ClusterProfileLibvirtPpc64le:
return "libvirt-ppc64le-quota-slice"
case ClusterProfileLibvirtPpc64leS2S:
Expand Down Expand Up @@ -1194,7 +1200,7 @@ func LeaseTypeFromClusterType(t string) (string, error) {
"ibmcloud-multi-s390x", "nutanix", "nutanix-qe", "nutanix-qe-dis", "nutanix-qe-zone", "nutanix-qe-gpu",
"nutanix-qe-flow", "openstack", "openstack-osuosl", "openstack-vexxhost", "openstack-ppc64le",
"openstack-nerc-dev", "vsphere", "ovirt", "packet", "packet-edge", "powervc-1", "powervs-multi-1",
"powervs-1", "powervs-2", "powervs-3", "powervs-4", "powervs-5", "powervs-6", "powervs-7", "powervs-8", "powervs-9",
"powervs-1", "powervs-2", "powervs-3", "powervs-4", "powervs-5", "powervs-6", "powervs-7", "powervs-8", "powervs-9", "powervs-hcp",
"kubevirt", "aws-cpaas", "osd-ephemeral", "gcp-virtualization", "aws-virtualization",
"azure-virtualization", "hypershift-aws", "hypershift-aks", "hypershift-azure",
"hypershift-powervs", "hypershift-powervs-cb", "hypershift-gcp", "aws-mco-qe",
Expand Down