@highstate/k8s 0.6.1 → 0.7.0

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.
@@ -1,19 +1,36 @@
1
1
  import { k8s } from '@highstate/library';
2
2
  import { forUnit } from '@highstate/pulumi';
3
- import { helm } from '@pulumi/kubernetes';
4
- import { e as createProvider, f as createNamespace, r as resolveChartPath } from '../../shared-hajqPzR4.js';
5
- import 'node:fs';
6
- import 'node:path';
3
+ import { e as createProvider, f as createNamespace } from '../../shared-r5jBysdR.js';
4
+ import { C as Chart } from '../../helm-BV9UE-B8.js';
5
+ import '@pulumi/kubernetes';
7
6
  import 'remeda';
7
+ import 'path';
8
+ import 'node:fs/promises';
9
+ import '@pulumi/pulumi';
10
+ import 'nano-spawn';
11
+ import 'crypto-hash';
12
+ import '@pulumi/command';
13
+ import 'glob';
14
+ import '@highstate/gateway-api';
15
+
16
+ var charts = {
17
+ "cert-manager": {
18
+ repo: "https://charts.jetstack.io",
19
+ name: "cert-manager",
20
+ version: "v1.17.1",
21
+ sha256: "48707f6e8937290da96065dc7de8b4f5a95d9707798d4b5a0d560f78c12996f7"
22
+ }
23
+ };
8
24
 
9
25
  const { inputs, outputs } = forUnit(k8s.certManager);
10
26
  const provider = await createProvider(inputs.k8sCluster);
11
27
  const namespace = createNamespace("cert-manager", provider);
12
- new helm.v4.Chart(
28
+ new Chart(
13
29
  "cert-manager",
14
30
  {
31
+ charts,
32
+ chart: "cert-manager",
15
33
  namespace: namespace.metadata.name,
16
- chart: resolveChartPath("@highstate/k8s", "cert-manager", import.meta.url),
17
34
  values: {
18
35
  crds: {
19
36
  enabled: true
@@ -1,10 +1,8 @@
1
1
  import { k8s } from '@highstate/library';
2
2
  import { toPromise, forUnit, unsecret } from '@highstate/pulumi';
3
3
  import { cert_manager } from '@highstate/cert-manager';
4
- import { e as createProvider } from '../../shared-hajqPzR4.js';
4
+ import { e as createProvider } from '../../shared-r5jBysdR.js';
5
5
  import { capitalize } from 'remeda';
6
- import 'node:fs';
7
- import 'node:path';
8
6
  import '@pulumi/kubernetes';
9
7
 
10
8
  async function createDns01Solver(dnsProviderInput, provider) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@highstate/k8s",
3
- "version": "0.6.1",
3
+ "version": "0.7.0",
4
4
  "type": "module",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,19 +23,22 @@
23
23
  },
24
24
  "scripts": {
25
25
  "build": "pkgroll --tsconfig=tsconfig.build.json",
26
- "update-assets": "./scripts/update-assets.sh",
26
+ "update-charts": "../../scripts/update-charts.sh ./assets/charts.json",
27
27
  "generate-crds": "./scripts/generate-crds.sh"
28
28
  },
29
29
  "dependencies": {
30
- "@highstate/cert-manager": "^0.6.1",
31
- "@highstate/common": "^0.6.1",
32
- "@highstate/contract": "^0.6.1",
33
- "@highstate/gateway-api": "^0.6.1",
34
- "@highstate/pulumi": "^0.6.1",
30
+ "@highstate/cert-manager": "^0.7.0",
31
+ "@highstate/common": "^0.7.0",
32
+ "@highstate/contract": "^0.7.0",
33
+ "@highstate/gateway-api": "^0.7.0",
34
+ "@highstate/pulumi": "^0.7.0",
35
35
  "@pulumi/command": "^1.0.2",
36
36
  "@pulumi/kubernetes": "^4.18.0",
37
37
  "@pulumi/pulumi": "^3.152.0",
38
+ "crypto-hash": "^3.1.0",
38
39
  "deepmerge-ts": "^7.1.5",
40
+ "glob": "^11.0.1",
41
+ "nano-spawn": "^0.2.0",
39
42
  "remeda": "^2.21.0"
40
43
  },
41
44
  "peerDependencies": {
@@ -44,5 +47,5 @@
44
47
  "devDependencies": {
45
48
  "pkgroll": "^2.5.1"
46
49
  },
47
- "gitHead": "afe736f7e93b7fcfbae97e2d6e35b07175a8fc76"
50
+ "gitHead": "2f5227f7b88cf38946e490fc4cdb96127bd8b174"
48
51
  }
Binary file