Skip to content

Commit

Permalink
Add baremetal to SupportedCloudProviders list in OSP (#6908)
Browse files Browse the repository at this point in the history
* add baremetal to osp

* fix test
  • Loading branch information
mohamed-rafraf authored Oct 7, 2024
1 parent f02fa8c commit e6d05d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var defaultOperatingSystemProfiles = []apiv2.OperatingSystemProfile{
{
Name: "osp-centos",
OperatingSystem: "centos",
SupportedCloudProviders: []string{"alibaba", "aws", "azure", "digitalocean", "equinixmetal", "hetzner", "kubevirt", "nutanix", "openstack", "vsphere"},
SupportedCloudProviders: []string{"alibaba", "aws", "azure", "baremetal", "digitalocean", "equinixmetal", "hetzner", "kubevirt", "nutanix", "openstack", "vsphere"},
},
{
Name: "osp-flatcar",
Expand All @@ -64,12 +64,12 @@ var defaultOperatingSystemProfiles = []apiv2.OperatingSystemProfile{
{
Name: "osp-rockylinux",
OperatingSystem: "rockylinux",
SupportedCloudProviders: []string{"aws", "azure", "digitalocean", "equinixmetal", "hetzner", "kubevirt", "openstack", "vsphere"},
SupportedCloudProviders: []string{"aws", "azure", "baremetal", "digitalocean", "equinixmetal", "hetzner", "kubevirt", "openstack", "vsphere"},
},
{
Name: "osp-ubuntu",
OperatingSystem: "ubuntu",
SupportedCloudProviders: []string{"alibaba", "aws", "azure", "digitalocean", "edge", "equinixmetal", "gce", "hetzner", "kubevirt", "nutanix", "openstack", "vmware-cloud-director", "vsphere"},
SupportedCloudProviders: []string{"alibaba", "aws", "azure", "baremetal", "digitalocean", "edge", "equinixmetal", "gce", "hetzner", "kubevirt", "nutanix", "openstack", "vmware-cloud-director", "vsphere"},
},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func TestListOperatingSystemProfiles(t *testing.T) {
{
Name: "osp-centos",
OperatingSystem: "centos",
SupportedCloudProviders: []string{"alibaba", "aws", "azure", "digitalocean", "equinixmetal", "hetzner", "kubevirt", "nutanix", "openstack", "vsphere"},
SupportedCloudProviders: []string{"alibaba", "aws", "azure", "baremetal", "digitalocean", "equinixmetal", "hetzner", "kubevirt", "nutanix", "openstack", "vsphere"},
},
{
Name: "osp-flatcar",
Expand All @@ -87,12 +87,12 @@ func TestListOperatingSystemProfiles(t *testing.T) {
{
Name: "osp-rockylinux",
OperatingSystem: "rockylinux",
SupportedCloudProviders: []string{"aws", "azure", "digitalocean", "equinixmetal", "hetzner", "kubevirt", "openstack", "vsphere"},
SupportedCloudProviders: []string{"aws", "azure", "baremetal", "digitalocean", "equinixmetal", "hetzner", "kubevirt", "openstack", "vsphere"},
},
{
Name: "osp-ubuntu",
OperatingSystem: "ubuntu",
SupportedCloudProviders: []string{"alibaba", "aws", "azure", "digitalocean", "edge", "equinixmetal", "gce", "hetzner", "kubevirt", "nutanix", "openstack", "vmware-cloud-director", "vsphere"},
SupportedCloudProviders: []string{"alibaba", "aws", "azure", "baremetal", "digitalocean", "edge", "equinixmetal", "gce", "hetzner", "kubevirt", "nutanix", "openstack", "vmware-cloud-director", "vsphere"},
},
},
},
Expand All @@ -110,7 +110,7 @@ func TestListOperatingSystemProfiles(t *testing.T) {
{
Name: "osp-centos",
OperatingSystem: "centos",
SupportedCloudProviders: []string{"alibaba", "aws", "azure", "digitalocean", "equinixmetal", "hetzner", "kubevirt", "nutanix", "openstack", "vsphere"},
SupportedCloudProviders: []string{"alibaba", "aws", "azure", "baremetal", "digitalocean", "equinixmetal", "hetzner", "kubevirt", "nutanix", "openstack", "vsphere"},
},
{
Name: "osp-flatcar",
Expand All @@ -125,12 +125,12 @@ func TestListOperatingSystemProfiles(t *testing.T) {
{
Name: "osp-rockylinux",
OperatingSystem: "rockylinux",
SupportedCloudProviders: []string{"aws", "azure", "digitalocean", "equinixmetal", "hetzner", "kubevirt", "openstack", "vsphere"},
SupportedCloudProviders: []string{"aws", "azure", "baremetal", "digitalocean", "equinixmetal", "hetzner", "kubevirt", "openstack", "vsphere"},
},
{
Name: "osp-ubuntu",
OperatingSystem: "ubuntu",
SupportedCloudProviders: []string{"alibaba", "aws", "azure", "digitalocean", "edge", "equinixmetal", "gce", "hetzner", "kubevirt", "nutanix", "openstack", "vmware-cloud-director", "vsphere"},
SupportedCloudProviders: []string{"alibaba", "aws", "azure", "baremetal", "digitalocean", "edge", "equinixmetal", "gce", "hetzner", "kubevirt", "nutanix", "openstack", "vmware-cloud-director", "vsphere"},
},
},
},
Expand Down

0 comments on commit e6d05d1

Please sign in to comment.