This commit is contained in:
2026-10-27 16:53:45 -04:00
parent 18a94f0eb0
commit b64bb5683b
3 changed files with 26 additions and 18 deletions
+2 -1
View File
@@ -51,7 +51,8 @@ assert plaintext_config["LDAP_URL"] == "ldap://openldap.openldap.svc.cluster.loc
assert all(isinstance(value, str) for value in plaintext_config.values())
assert "MEMBERSHIP_SECRET_KEY" not in config and "SHKEEPER_API_KEY" not in config
tiers = json.loads(find(all_objects, "ConfigMap", "membership-tiers")["data"]["tiers.json"])
assert len(tiers) == 5 and tiers["level-4"]["usd_amount"] == "64.00"
assert len(tiers) == 5 and tiers["level-5"]["usd_amount"] == "64.00"
assert [tiers[f"level-{level}"]["level"] for level in range(1, 6)] == list(range(1, 6))
for name in ["membership", "membership-worker"]:
deployment = find(all_objects, "Deployment", name)
pod_checks(deployment["spec"]["template"]["spec"])