@intentius/chant-lexicon-helm 0.41.6 → 0.41.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,6 +31,8 @@ export interface HelmUpgradeInput {
31
31
  version?: string;
32
32
  /** Wait for resources to become ready before returning (`--wait`). */
33
33
  wait?: boolean;
34
+ /** Wait ceiling (`--timeout`), Helm duration syntax (`6m`). Helm's default is 5m. */
35
+ timeout?: string;
34
36
  /** Explicit kube context, overriding the environment's declared binding. */
35
37
  context?: string;
36
38
  }
@@ -1 +1 @@
1
- {"version":3,"file":"helm-upgrade.d.ts","sourceRoot":"","sources":["../../src/components/helm-upgrade.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,UAAU,EAAiB,MAAM,wCAAwC,CAAC;AAMxF,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,yEAAyE;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wEAAwE;IACxE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,4EAA4E;IAC5E,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,wEAAwE;IACxE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sEAAsE;IACtE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,4EAA4E;IAC5E,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,uEAAuE;AACvE,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uEAAuE;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAC;IACl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IACvE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6CAA6C;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,oGAAoG;AACpG,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAiC1E,6FAA6F;AAC7F,wBAAgB,2BAA2B,CACzC,GAAG,GAAE,UAAsB,GAC1B,UAAU,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CA+BlD;AAED,eAAO,MAAM,qBAAqB,kDAAgC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "algorithm": "sha256",
3
3
  "artifacts": {
4
- "manifest.json": "cb24fe613ff94f034f09f0cdadc92862343ceabb8f948a825182bf1f715a76ff",
4
+ "manifest.json": "6b4a5f06612f7937d732986008864120f7cee69d2ee97e11d6d4c0202d88b12f",
5
5
  "meta.json": "14243c5730a07c6a6edc35ddd351438547d58df5cf345f2233a355b0c7611ccc",
6
6
  "types/index.d.ts": "5377696ca8698cd2999e4680feb8e8e4b54a7b49fb603a87b2f27356114d1794",
7
7
  "rules/chart-metadata.ts": "8f3377e893d5e2828460b7fe5924fca098334245a9a2fdb90f6b67e490eaf091",
@@ -34,5 +34,5 @@
34
34
  "skills/chant-helm-patterns.md": "9e79e6a46391da46709d8aa57e2825a7cd9eb981cd923f02ad60836c49b2561e",
35
35
  "skills/chant-helm-security.md": "bfc367eabceed2e84f1cf94501b407df78aeed963cec104f24a321d0962063c9"
36
36
  },
37
- "composite": "86e1b71b6d7aa2036d57bbf531792076bbabca2e38e4b5c0519fecdd8dfe640a"
37
+ "composite": "ce6a37c3d330ddc80915888820742765fa67641794696a55331aa06c6eef8755"
38
38
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "helm",
3
- "version": "0.41.6",
3
+ "version": "0.41.7",
4
4
  "chantVersion": ">=0.1.0",
5
5
  "namespace": "Helm",
6
6
  "intrinsics": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentius/chant-lexicon-helm",
3
- "version": "0.41.6",
3
+ "version": "0.41.7",
4
4
  "description": "Helm chart lexicon for chant — declarative IaC in TypeScript",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://intentius.io/chant",
@@ -81,7 +81,7 @@
81
81
  "@types/js-yaml": "^4.0.9"
82
82
  },
83
83
  "peerDependencies": {
84
- "@intentius/chant": "^0.41.6",
84
+ "@intentius/chant": "^0.41.7",
85
85
  "typescript": "^5.9.3"
86
86
  }
87
87
  }
@@ -60,13 +60,14 @@ describe("helm-upgrade capability (#1495 piece 4)", () => {
60
60
  createNamespace: true,
61
61
  set: { "app.envs.AWS_REGION": "us-east-1", "crds.enabled": "true" },
62
62
  version: "v1.16.1",
63
+ timeout: "6m",
63
64
  context: "k3d-test",
64
65
  });
65
66
 
66
67
  expect(seen).toBe(
67
68
  "helm upgrade --install 'cert-manager' 'cert-manager' -o json -n 'cert-manager' --create-namespace " +
68
69
  "--repo 'https://charts.jetstack.io' --set 'app.envs.AWS_REGION=us-east-1' --set 'crds.enabled=true' " +
69
- "--version 'v1.16.1' --kube-context 'k3d-test'",
70
+ "--version 'v1.16.1' --timeout '6m' --kube-context 'k3d-test'",
70
71
  );
71
72
  });
72
73
 
@@ -61,6 +61,8 @@ export interface HelmUpgradeInput {
61
61
  version?: string;
62
62
  /** Wait for resources to become ready before returning (`--wait`). */
63
63
  wait?: boolean;
64
+ /** Wait ceiling (`--timeout`), Helm duration syntax (`6m`). Helm's default is 5m. */
65
+ timeout?: string;
64
66
  /** Explicit kube context, overriding the environment's declared binding. */
65
67
  context?: string;
66
68
  }
@@ -104,6 +106,7 @@ function upgradeCommand(input: HelmUpgradeInput, context: string | undefined): s
104
106
  for (const key of Object.keys(input.set ?? {}).sort()) parts.push("--set", q(`${key}=${input.set![key]}`));
105
107
  if (input.version) parts.push("--version", q(input.version));
106
108
  if (input.wait) parts.push("--wait");
109
+ if (input.timeout) parts.push("--timeout", q(input.timeout));
107
110
  if (context) parts.push("--kube-context", q(context));
108
111
  return parts.join(" ");
109
112
  }