INFRA-3277 | Saqib | updating script to ignore namespace not starting with dev or qa

This commit is contained in:
Saqib Perwaiz
2024-05-17 16:31:41 +05:30
parent f628abbbcd
commit dd257f643d

View File

@@ -25,10 +25,7 @@ for i in manifest_list:
manifest = r.json()
if "deployment" in manifest:
deployment = manifest["deployment"]
if (
deployment["namespace"] == "dev-datastores"
or deployment["namespace"] == "qa-datastores"
):
if (deployment['namespace'].startswith(('qa','dev'))):
continue
if "hpa" in deployment: