Skip to content

Commit

Permalink
Updating the clustertype and platform type as per comment
Browse files Browse the repository at this point in the history
Signed-off-by: suchita-g <[email protected]>
  • Loading branch information
suchita-g committed Nov 14, 2023
1 parent 5234904 commit 3b36c69
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
---
DEPLOYMENT:
allow_lower_instance_requirements: false
local_storage: true
ENV_DATA:
platform: 'baremetal'
platform: 'fhci_baremetal'
cluster_type: 'hci_client'
cluster_namespace: "openshift-storage-client"
deployment_type: 'upi'
worker_replicas: 3
master_replicas: 3
mon_type: 'hostpath'
osd_type: 'nvme'
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ DEPLOYMENT:
allow_lower_instance_requirements: false
local_storage: true
ENV_DATA:
platform: 'baremetal'
platform: 'fhci_baremetal'
cluster_type: 'provider'
cluster_namespace: "openshift-storage"
deployment_type: 'upi'
Expand Down
5 changes: 4 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5862,7 +5862,10 @@ def patch_consumer_toolbox_with_secret():

# Patch the rook-ceph-tools deployment of all consumer clusters
for cluster in ocsci_config.clusters:
if cluster.ENV_DATA.get("cluster_type") == "consumer":
if (
cluster.ENV_DATA.get("cluster_type") == "consumer"
or cluster.ENV_DATA.get("cluster_type") == "hci_client"
):
ocsci_config.switch_ctx(cluster.MULTICLUSTER["multicluster_index"])
consumer_tools_pod = get_ceph_tools_pod()

Expand Down

0 comments on commit 3b36c69

Please sign in to comment.