Seagate / cortx-k8s

CORTX Kubernetes Orchestration Repository
https://github.com/Seagate/cortx
Apache License 2.0
6 stars 47 forks source link

CORTX-34189 Fix status-cortx-cloud.sh regression (data-only deploy) #377

Closed walterlopatka closed 1 year ago

walterlopatka commented 1 year ago

Description

With v0.10.0 and the introduction of potentially multiple replicas of cortx-control pods, I introduced a regression in status-cortx-cloud.sh, such that the script reported failures with a data-only deployment. This is because logic was added to account for potentially multiple replicas did not take into account a possible data-only deployment.

Along with the fix I have added a basic regression test that deploys with data-only deployment.

Type of change

Applicable issues

CORTX image version requirements

N/A

How was this tested?

Added new regression test that deploys with data-only deployment. I also ran the existing regression test to confirm that standard deployment works as expected.

Checklist

If this change requires newer CORTX or third party image versions:

If this change addresses a CORTX Jira issue: