fix : correct api healthz
CI / Verify (push) Successful in 1m45s
CI / Build immutable images and deploy (push) Successful in 2m24s

This commit is contained in:
2026-10-02 18:57:43 +07:00 Unverified
parent df8c89914e
commit f5b432a496
11 changed files with 193 additions and 50 deletions
+1 -2
View File
@@ -13,8 +13,7 @@ describe("production deployment contract", () => {
expect(deployment).toContain("replicas: 2");
expect(deployment).toContain("maxSurge: 1");
expect(deployment).toContain("maxUnavailable: 0");
expect(deployment).toContain("path: /api/health?ready=1");
expect(deployment).toContain("path: /api/health");
expect(deployment.match(/path: \/api\/healthz\n/gu)).toHaveLength(3);
expect(deployment).toContain("kubernetes.io/arch: arm64");
expect(deployment).toMatch(
/requests:\s+cpu: 500m\s+memory: 1Gi\s+limits:\s+cpu: "1"\s+memory: 2Gi/u,