@pulumiverse/talos 0.1.8 → 0.2.1-alpha.1730838892

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.
Files changed (44) hide show
  1. package/README.md +24 -0
  2. package/client/{configuration.d.ts → getConfiguration.d.ts} +15 -15
  3. package/client/{configuration.js → getConfiguration.js} +18 -12
  4. package/client/getConfiguration.js.map +1 -0
  5. package/client/index.d.ts +3 -3
  6. package/client/index.js +4 -4
  7. package/client/index.js.map +1 -1
  8. package/cluster/getHealth.d.ts +81 -0
  9. package/cluster/getHealth.js +36 -0
  10. package/cluster/getHealth.js.map +1 -0
  11. package/cluster/getKubeconfig.d.ts +95 -0
  12. package/cluster/{kubeconfig.js → getKubeconfig.js} +15 -8
  13. package/cluster/getKubeconfig.js.map +1 -0
  14. package/cluster/index.d.ts +6 -3
  15. package/cluster/index.js +7 -4
  16. package/cluster/index.js.map +1 -1
  17. package/machine/bootstrap.d.ts +7 -5
  18. package/machine/bootstrap.js +4 -2
  19. package/machine/bootstrap.js.map +1 -1
  20. package/machine/configurationApply.d.ts +3 -3
  21. package/machine/getConfiguration.d.ts +4 -4
  22. package/machine/getConfiguration.js +16 -5
  23. package/machine/getConfiguration.js.map +1 -1
  24. package/machine/getDisks.d.ts +127 -0
  25. package/machine/{disks.js → getDisks.js} +23 -16
  26. package/machine/getDisks.js.map +1 -0
  27. package/machine/index.d.ts +3 -3
  28. package/machine/index.js +4 -4
  29. package/machine/index.js.map +1 -1
  30. package/machine/secrets.d.ts +7 -5
  31. package/machine/secrets.js +5 -3
  32. package/machine/secrets.js.map +1 -1
  33. package/package.json +2 -1
  34. package/types/input.d.ts +93 -70
  35. package/types/output.d.ts +61 -62
  36. package/utilities.d.ts +4 -0
  37. package/utilities.js +33 -1
  38. package/utilities.js.map +1 -1
  39. package/client/configuration.js.map +0 -1
  40. package/cluster/kubeconfig.d.ts +0 -89
  41. package/cluster/kubeconfig.js.map +0 -1
  42. package/machine/disks.d.ts +0 -127
  43. package/machine/disks.js.map +0 -1
  44. package/package.json.bak +0 -29
package/README.md CHANGED
@@ -27,6 +27,30 @@ To use from Python, install using `pip`:
27
27
  ```bash
28
28
  pip install pulumiverse_talos
29
29
  ```
30
+ If you see an error as such.
31
+ ```
32
+ import pulumiverse_talos
33
+ Traceback (most recent call last):
34
+ File "<stdin>", line 1, in <module>
35
+ File "/venv/lib/python3.12/site-packages/pulumiverse_talos/__init__.py", line 5, in <module>
36
+ from . import _utilities
37
+ File "/venv/lib/python3.12/site-packages/pulumiverse_talos/_utilities.py", line 11, in <module>
38
+ import pkg_resources
39
+ ModuleNotFoundError: No module named 'pkg_resources'
40
+ ```
41
+ Try installing
42
+ ```
43
+ pip install setuptools
44
+ ```
45
+ If you're using a Python Virtual Env
46
+ ```
47
+ python3 -m venv venv
48
+ source venv/bin/activate
49
+ pip install setuptools
50
+ pip install pulumiverse_talos
51
+ # Test if the import works
52
+ python -c "import pulumiverse_talos"
53
+ ```
30
54
 
31
55
  ### Go
32
56
 
@@ -11,23 +11,23 @@ import * as outputs from "../types/output";
11
11
  * import * as talos from "@pulumi/talos";
12
12
  * import * as talos from "@pulumiverse/talos";
13
13
  *
14
- * const thisSecrets = new talos.machine.Secrets("thisSecrets", {});
15
- * const thisConfiguration = talos.client.ConfigurationOutput({
14
+ * const thisSecrets = new talos.machine.Secrets("this", {});
15
+ * const this = talos.client.getConfigurationOutput({
16
16
  * clusterName: "example-cluster",
17
17
  * clientConfiguration: thisSecrets.clientConfiguration,
18
18
  * nodes: ["10.5.0.2"],
19
19
  * });
20
20
  * ```
21
21
  */
22
- export declare function configuration(args: ConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<ConfigurationResult>;
22
+ export declare function getConfiguration(args: GetConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigurationResult>;
23
23
  /**
24
- * A collection of arguments for invoking Configuration.
24
+ * A collection of arguments for invoking getConfiguration.
25
25
  */
26
- export interface ConfigurationArgs {
26
+ export interface GetConfigurationArgs {
27
27
  /**
28
28
  * The client configuration data
29
29
  */
30
- clientConfiguration: inputs.client.ConfigurationClientConfiguration;
30
+ clientConfiguration: inputs.client.GetConfigurationClientConfiguration;
31
31
  /**
32
32
  * The name of the cluster in the generated config
33
33
  */
@@ -42,13 +42,13 @@ export interface ConfigurationArgs {
42
42
  nodes?: string[];
43
43
  }
44
44
  /**
45
- * A collection of values returned by Configuration.
45
+ * A collection of values returned by getConfiguration.
46
46
  */
47
- export interface ConfigurationResult {
47
+ export interface GetConfigurationResult {
48
48
  /**
49
49
  * The client configuration data
50
50
  */
51
- readonly clientConfiguration: outputs.client.ConfigurationClientConfiguration;
51
+ readonly clientConfiguration: outputs.client.GetConfigurationClientConfiguration;
52
52
  /**
53
53
  * The name of the cluster in the generated config
54
54
  */
@@ -80,23 +80,23 @@ export interface ConfigurationResult {
80
80
  * import * as talos from "@pulumi/talos";
81
81
  * import * as talos from "@pulumiverse/talos";
82
82
  *
83
- * const thisSecrets = new talos.machine.Secrets("thisSecrets", {});
84
- * const thisConfiguration = talos.client.ConfigurationOutput({
83
+ * const thisSecrets = new talos.machine.Secrets("this", {});
84
+ * const this = talos.client.getConfigurationOutput({
85
85
  * clusterName: "example-cluster",
86
86
  * clientConfiguration: thisSecrets.clientConfiguration,
87
87
  * nodes: ["10.5.0.2"],
88
88
  * });
89
89
  * ```
90
90
  */
91
- export declare function configurationOutput(args: ConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ConfigurationResult>;
91
+ export declare function getConfigurationOutput(args: GetConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConfigurationResult>;
92
92
  /**
93
- * A collection of arguments for invoking Configuration.
93
+ * A collection of arguments for invoking getConfiguration.
94
94
  */
95
- export interface ConfigurationOutputArgs {
95
+ export interface GetConfigurationOutputArgs {
96
96
  /**
97
97
  * The client configuration data
98
98
  */
99
- clientConfiguration: pulumi.Input<inputs.client.ConfigurationClientConfigurationArgs>;
99
+ clientConfiguration: pulumi.Input<inputs.client.GetConfigurationClientConfigurationArgs>;
100
100
  /**
101
101
  * The name of the cluster in the generated config
102
102
  */
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.configurationOutput = exports.configuration = void 0;
5
+ exports.getConfigurationOutput = exports.getConfiguration = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
@@ -15,24 +15,24 @@ const utilities = require("../utilities");
15
15
  * import * as talos from "@pulumi/talos";
16
16
  * import * as talos from "@pulumiverse/talos";
17
17
  *
18
- * const thisSecrets = new talos.machine.Secrets("thisSecrets", {});
19
- * const thisConfiguration = talos.client.ConfigurationOutput({
18
+ * const thisSecrets = new talos.machine.Secrets("this", {});
19
+ * const this = talos.client.getConfigurationOutput({
20
20
  * clusterName: "example-cluster",
21
21
  * clientConfiguration: thisSecrets.clientConfiguration,
22
22
  * nodes: ["10.5.0.2"],
23
23
  * });
24
24
  * ```
25
25
  */
26
- function configuration(args, opts) {
26
+ function getConfiguration(args, opts) {
27
27
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
28
- return pulumi.runtime.invoke("talos:client/configuration:Configuration", {
28
+ return pulumi.runtime.invoke("talos:client/getConfiguration:getConfiguration", {
29
29
  "clientConfiguration": args.clientConfiguration,
30
30
  "clusterName": args.clusterName,
31
31
  "endpoints": args.endpoints,
32
32
  "nodes": args.nodes,
33
33
  }, opts);
34
34
  }
35
- exports.configuration = configuration;
35
+ exports.getConfiguration = getConfiguration;
36
36
  /**
37
37
  * Generate client configuration for a Talos cluster
38
38
  *
@@ -43,16 +43,22 @@ exports.configuration = configuration;
43
43
  * import * as talos from "@pulumi/talos";
44
44
  * import * as talos from "@pulumiverse/talos";
45
45
  *
46
- * const thisSecrets = new talos.machine.Secrets("thisSecrets", {});
47
- * const thisConfiguration = talos.client.ConfigurationOutput({
46
+ * const thisSecrets = new talos.machine.Secrets("this", {});
47
+ * const this = talos.client.getConfigurationOutput({
48
48
  * clusterName: "example-cluster",
49
49
  * clientConfiguration: thisSecrets.clientConfiguration,
50
50
  * nodes: ["10.5.0.2"],
51
51
  * });
52
52
  * ```
53
53
  */
54
- function configurationOutput(args, opts) {
55
- return pulumi.output(args).apply((a) => configuration(a, opts));
54
+ function getConfigurationOutput(args, opts) {
55
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
56
+ return pulumi.runtime.invokeOutput("talos:client/getConfiguration:getConfiguration", {
57
+ "clientConfiguration": args.clientConfiguration,
58
+ "clusterName": args.clusterName,
59
+ "endpoints": args.endpoints,
60
+ "nodes": args.nodes,
61
+ }, opts);
56
62
  }
57
- exports.configurationOutput = configurationOutput;
58
- //# sourceMappingURL=configuration.js.map
63
+ exports.getConfigurationOutput = getConfigurationOutput;
64
+ //# sourceMappingURL=getConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConfiguration.js","sourceRoot":"","sources":["../../client/getConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4CAQC;AAqDD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE;QACjF,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wDAQC"}
package/client/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { ConfigurationArgs, ConfigurationResult, ConfigurationOutputArgs } from "./configuration";
2
- export declare const configuration: typeof import("./configuration").configuration;
3
- export declare const configurationOutput: typeof import("./configuration").configurationOutput;
1
+ export { GetConfigurationArgs, GetConfigurationResult, GetConfigurationOutputArgs } from "./getConfiguration";
2
+ export declare const getConfiguration: typeof import("./getConfiguration").getConfiguration;
3
+ export declare const getConfigurationOutput: typeof import("./getConfiguration").getConfigurationOutput;
package/client/index.js CHANGED
@@ -2,9 +2,9 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.configurationOutput = exports.configuration = void 0;
5
+ exports.getConfigurationOutput = exports.getConfiguration = void 0;
6
6
  const utilities = require("../utilities");
7
- exports.configuration = null;
8
- exports.configurationOutput = null;
9
- utilities.lazyLoad(exports, ["configuration", "configurationOutput"], () => require("./configuration"));
7
+ exports.getConfiguration = null;
8
+ exports.getConfigurationOutput = null;
9
+ utilities.lazyLoad(exports, ["getConfiguration", "getConfigurationOutput"], () => require("./getConfiguration"));
10
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../client/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,0CAA0C;AAI7B,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../client/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,0CAA0C;AAI7B,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AACrF,QAAA,sBAAsB,GAA+D,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,EAAC,wBAAwB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC"}
@@ -0,0 +1,81 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Checks the health of a Talos cluster
6
+ */
7
+ export declare function getHealth(args: GetHealthArgs, opts?: pulumi.InvokeOptions): Promise<GetHealthResult>;
8
+ /**
9
+ * A collection of arguments for invoking getHealth.
10
+ */
11
+ export interface GetHealthArgs {
12
+ /**
13
+ * The client configuration data
14
+ */
15
+ clientConfiguration: inputs.cluster.GetHealthClientConfiguration;
16
+ /**
17
+ * List of control plane nodes to check for health.
18
+ */
19
+ controlPlaneNodes: string[];
20
+ /**
21
+ * endpoints to use for the health check client. Use at least one control plane endpoint.
22
+ */
23
+ endpoints: string[];
24
+ timeouts?: inputs.cluster.GetHealthTimeouts;
25
+ /**
26
+ * List of worker nodes to check for health.
27
+ */
28
+ workerNodes?: string[];
29
+ }
30
+ /**
31
+ * A collection of values returned by getHealth.
32
+ */
33
+ export interface GetHealthResult {
34
+ /**
35
+ * The client configuration data
36
+ */
37
+ readonly clientConfiguration: outputs.cluster.GetHealthClientConfiguration;
38
+ /**
39
+ * List of control plane nodes to check for health.
40
+ */
41
+ readonly controlPlaneNodes: string[];
42
+ /**
43
+ * endpoints to use for the health check client. Use at least one control plane endpoint.
44
+ */
45
+ readonly endpoints: string[];
46
+ /**
47
+ * The ID of this resource.
48
+ */
49
+ readonly id: string;
50
+ readonly timeouts?: outputs.cluster.GetHealthTimeouts;
51
+ /**
52
+ * List of worker nodes to check for health.
53
+ */
54
+ readonly workerNodes?: string[];
55
+ }
56
+ /**
57
+ * Checks the health of a Talos cluster
58
+ */
59
+ export declare function getHealthOutput(args: GetHealthOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetHealthResult>;
60
+ /**
61
+ * A collection of arguments for invoking getHealth.
62
+ */
63
+ export interface GetHealthOutputArgs {
64
+ /**
65
+ * The client configuration data
66
+ */
67
+ clientConfiguration: pulumi.Input<inputs.cluster.GetHealthClientConfigurationArgs>;
68
+ /**
69
+ * List of control plane nodes to check for health.
70
+ */
71
+ controlPlaneNodes: pulumi.Input<pulumi.Input<string>[]>;
72
+ /**
73
+ * endpoints to use for the health check client. Use at least one control plane endpoint.
74
+ */
75
+ endpoints: pulumi.Input<pulumi.Input<string>[]>;
76
+ timeouts?: pulumi.Input<inputs.cluster.GetHealthTimeoutsArgs>;
77
+ /**
78
+ * List of worker nodes to check for health.
79
+ */
80
+ workerNodes?: pulumi.Input<pulumi.Input<string>[]>;
81
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getHealthOutput = exports.getHealth = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Checks the health of a Talos cluster
10
+ */
11
+ function getHealth(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("talos:cluster/getHealth:getHealth", {
14
+ "clientConfiguration": args.clientConfiguration,
15
+ "controlPlaneNodes": args.controlPlaneNodes,
16
+ "endpoints": args.endpoints,
17
+ "timeouts": args.timeouts,
18
+ "workerNodes": args.workerNodes,
19
+ }, opts);
20
+ }
21
+ exports.getHealth = getHealth;
22
+ /**
23
+ * Checks the health of a Talos cluster
24
+ */
25
+ function getHealthOutput(args, opts) {
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
+ return pulumi.runtime.invokeOutput("talos:cluster/getHealth:getHealth", {
28
+ "clientConfiguration": args.clientConfiguration,
29
+ "controlPlaneNodes": args.controlPlaneNodes,
30
+ "endpoints": args.endpoints,
31
+ "timeouts": args.timeouts,
32
+ "workerNodes": args.workerNodes,
33
+ }, opts);
34
+ }
35
+ exports.getHealthOutput = getHealthOutput;
36
+ //# sourceMappingURL=getHealth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getHealth.js","sourceRoot":"","sources":["../../cluster/getHealth.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8BASC;AAmDD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mCAAmC,EAAE;QACpE,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0CASC"}
@@ -0,0 +1,95 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Retrieves the kubeconfig for a Talos cluster
6
+ */
7
+ export declare function getKubeconfig(args: GetKubeconfigArgs, opts?: pulumi.InvokeOptions): Promise<GetKubeconfigResult>;
8
+ /**
9
+ * A collection of arguments for invoking getKubeconfig.
10
+ */
11
+ export interface GetKubeconfigArgs {
12
+ /**
13
+ * The client configuration data
14
+ */
15
+ clientConfiguration: inputs.cluster.GetKubeconfigClientConfiguration;
16
+ /**
17
+ * endpoint to use for the talosclient. If not set, the node value will be used
18
+ */
19
+ endpoint?: string;
20
+ /**
21
+ * controlplane node to retrieve the kubeconfig from
22
+ */
23
+ node: string;
24
+ timeouts?: inputs.cluster.GetKubeconfigTimeouts;
25
+ /**
26
+ * Wait for the kubernetes api to be available
27
+ *
28
+ * @deprecated This attribute is deprecated and no-op. Will be removed in a future version. Use talos.cluster.getHealth instead.
29
+ */
30
+ wait?: boolean;
31
+ }
32
+ /**
33
+ * A collection of values returned by getKubeconfig.
34
+ */
35
+ export interface GetKubeconfigResult {
36
+ /**
37
+ * The client configuration data
38
+ */
39
+ readonly clientConfiguration: outputs.cluster.GetKubeconfigClientConfiguration;
40
+ /**
41
+ * endpoint to use for the talosclient. If not set, the node value will be used
42
+ */
43
+ readonly endpoint: string;
44
+ /**
45
+ * The ID of this resource.
46
+ */
47
+ readonly id: string;
48
+ /**
49
+ * The raw kubeconfig
50
+ */
51
+ readonly kubeconfigRaw: string;
52
+ /**
53
+ * The kubernetes client configuration
54
+ */
55
+ readonly kubernetesClientConfiguration: outputs.cluster.GetKubeconfigKubernetesClientConfiguration;
56
+ /**
57
+ * controlplane node to retrieve the kubeconfig from
58
+ */
59
+ readonly node: string;
60
+ readonly timeouts?: outputs.cluster.GetKubeconfigTimeouts;
61
+ /**
62
+ * Wait for the kubernetes api to be available
63
+ *
64
+ * @deprecated This attribute is deprecated and no-op. Will be removed in a future version. Use talos.cluster.getHealth instead.
65
+ */
66
+ readonly wait?: boolean;
67
+ }
68
+ /**
69
+ * Retrieves the kubeconfig for a Talos cluster
70
+ */
71
+ export declare function getKubeconfigOutput(args: GetKubeconfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetKubeconfigResult>;
72
+ /**
73
+ * A collection of arguments for invoking getKubeconfig.
74
+ */
75
+ export interface GetKubeconfigOutputArgs {
76
+ /**
77
+ * The client configuration data
78
+ */
79
+ clientConfiguration: pulumi.Input<inputs.cluster.GetKubeconfigClientConfigurationArgs>;
80
+ /**
81
+ * endpoint to use for the talosclient. If not set, the node value will be used
82
+ */
83
+ endpoint?: pulumi.Input<string>;
84
+ /**
85
+ * controlplane node to retrieve the kubeconfig from
86
+ */
87
+ node: pulumi.Input<string>;
88
+ timeouts?: pulumi.Input<inputs.cluster.GetKubeconfigTimeoutsArgs>;
89
+ /**
90
+ * Wait for the kubernetes api to be available
91
+ *
92
+ * @deprecated This attribute is deprecated and no-op. Will be removed in a future version. Use talos.cluster.getHealth instead.
93
+ */
94
+ wait?: pulumi.Input<boolean>;
95
+ }
@@ -2,15 +2,15 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.kubeconfigOutput = exports.kubeconfig = void 0;
5
+ exports.getKubeconfigOutput = exports.getKubeconfig = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
9
  * Retrieves the kubeconfig for a Talos cluster
10
10
  */
11
- function kubeconfig(args, opts) {
11
+ function getKubeconfig(args, opts) {
12
12
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
- return pulumi.runtime.invoke("talos:cluster/kubeconfig:Kubeconfig", {
13
+ return pulumi.runtime.invoke("talos:cluster/getKubeconfig:getKubeconfig", {
14
14
  "clientConfiguration": args.clientConfiguration,
15
15
  "endpoint": args.endpoint,
16
16
  "node": args.node,
@@ -18,12 +18,19 @@ function kubeconfig(args, opts) {
18
18
  "wait": args.wait,
19
19
  }, opts);
20
20
  }
21
- exports.kubeconfig = kubeconfig;
21
+ exports.getKubeconfig = getKubeconfig;
22
22
  /**
23
23
  * Retrieves the kubeconfig for a Talos cluster
24
24
  */
25
- function kubeconfigOutput(args, opts) {
26
- return pulumi.output(args).apply((a) => kubeconfig(a, opts));
25
+ function getKubeconfigOutput(args, opts) {
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
+ return pulumi.runtime.invokeOutput("talos:cluster/getKubeconfig:getKubeconfig", {
28
+ "clientConfiguration": args.clientConfiguration,
29
+ "endpoint": args.endpoint,
30
+ "node": args.node,
31
+ "timeouts": args.timeouts,
32
+ "wait": args.wait,
33
+ }, opts);
27
34
  }
28
- exports.kubeconfigOutput = kubeconfigOutput;
29
- //# sourceMappingURL=kubeconfig.js.map
35
+ exports.getKubeconfigOutput = getKubeconfigOutput;
36
+ //# sourceMappingURL=getKubeconfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getKubeconfig.js","sourceRoot":"","sources":["../../cluster/getKubeconfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sCASC;AA+DD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2CAA2C,EAAE;QAC5E,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kDASC"}
@@ -1,3 +1,6 @@
1
- export { KubeconfigArgs, KubeconfigResult, KubeconfigOutputArgs } from "./kubeconfig";
2
- export declare const kubeconfig: typeof import("./kubeconfig").kubeconfig;
3
- export declare const kubeconfigOutput: typeof import("./kubeconfig").kubeconfigOutput;
1
+ export { GetHealthArgs, GetHealthResult, GetHealthOutputArgs } from "./getHealth";
2
+ export declare const getHealth: typeof import("./getHealth").getHealth;
3
+ export declare const getHealthOutput: typeof import("./getHealth").getHealthOutput;
4
+ export { GetKubeconfigArgs, GetKubeconfigResult, GetKubeconfigOutputArgs } from "./getKubeconfig";
5
+ export declare const getKubeconfig: typeof import("./getKubeconfig").getKubeconfig;
6
+ export declare const getKubeconfigOutput: typeof import("./getKubeconfig").getKubeconfigOutput;
package/cluster/index.js CHANGED
@@ -2,9 +2,12 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.kubeconfigOutput = exports.kubeconfig = void 0;
5
+ exports.getKubeconfigOutput = exports.getKubeconfig = exports.getHealthOutput = exports.getHealth = void 0;
6
6
  const utilities = require("../utilities");
7
- exports.kubeconfig = null;
8
- exports.kubeconfigOutput = null;
9
- utilities.lazyLoad(exports, ["kubeconfig", "kubeconfigOutput"], () => require("./kubeconfig"));
7
+ exports.getHealth = null;
8
+ exports.getHealthOutput = null;
9
+ utilities.lazyLoad(exports, ["getHealth", "getHealthOutput"], () => require("./getHealth"));
10
+ exports.getKubeconfig = null;
11
+ exports.getKubeconfigOutput = null;
12
+ utilities.lazyLoad(exports, ["getKubeconfig", "getKubeconfigOutput"], () => require("./getKubeconfig"));
10
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../cluster/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,0CAA0C;AAI7B,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,EAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../cluster/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,0CAA0C;AAI7B,QAAA,SAAS,GAA2C,IAAW,CAAC;AAChE,QAAA,eAAe,GAAiD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,EAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAG9E,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC"}
@@ -6,10 +6,12 @@ import * as outputs from "../types/output";
6
6
  *
7
7
  * ## Import
8
8
  *
9
- * terraform machine bootstrap can be imported to let terraform know that the machine is already bootstrapped
9
+ * terraform
10
+ *
11
+ * machine bootstrap can be imported to let terraform know that the machine is already bootstrapped
10
12
  *
11
13
  * ```sh
12
- * $ pulumi import talos:machine/bootstrap:Bootstrap this <any id>
14
+ * $ pulumi import talos:machine/bootstrap:Bootstrap this <any id>
13
15
  * ```
14
16
  */
15
17
  export declare class Bootstrap extends pulumi.CustomResource {
@@ -31,7 +33,7 @@ export declare class Bootstrap extends pulumi.CustomResource {
31
33
  /**
32
34
  * The client configuration data
33
35
  */
34
- readonly clientConfiguration: pulumi.Output<outputs.machine.BootstrapClientConfiguration>;
36
+ readonly clientConfiguration: pulumi.Output<outputs.machine.ClientConfiguration>;
35
37
  /**
36
38
  * The endpoint of the machine to bootstrap
37
39
  */
@@ -57,7 +59,7 @@ export interface BootstrapState {
57
59
  /**
58
60
  * The client configuration data
59
61
  */
60
- clientConfiguration?: pulumi.Input<inputs.machine.BootstrapClientConfiguration>;
62
+ clientConfiguration?: pulumi.Input<inputs.machine.ClientConfiguration>;
61
63
  /**
62
64
  * The endpoint of the machine to bootstrap
63
65
  */
@@ -75,7 +77,7 @@ export interface BootstrapArgs {
75
77
  /**
76
78
  * The client configuration data
77
79
  */
78
- clientConfiguration: pulumi.Input<inputs.machine.BootstrapClientConfiguration>;
80
+ clientConfiguration: pulumi.Input<inputs.machine.ClientConfiguration>;
79
81
  /**
80
82
  * The endpoint of the machine to bootstrap
81
83
  */
@@ -10,10 +10,12 @@ const utilities = require("../utilities");
10
10
  *
11
11
  * ## Import
12
12
  *
13
- * terraform machine bootstrap can be imported to let terraform know that the machine is already bootstrapped
13
+ * terraform
14
+ *
15
+ * machine bootstrap can be imported to let terraform know that the machine is already bootstrapped
14
16
  *
15
17
  * ```sh
16
- * $ pulumi import talos:machine/bootstrap:Bootstrap this <any id>
18
+ * $ pulumi import talos:machine/bootstrap:Bootstrap this <any id>
17
19
  * ```
18
20
  */
19
21
  class Bootstrap extends pulumi.CustomResource {
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../../machine/bootstrap.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,C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AU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA1EL,8BA2EC;AA7DG,gBAAgB;AACO,sBAAY,GAAG,mCAAmC,CAAC"}
@@ -27,7 +27,7 @@ export declare class ConfigurationApply extends pulumi.CustomResource {
27
27
  /**
28
28
  * The client configuration data
29
29
  */
30
- readonly clientConfiguration: pulumi.Output<outputs.machine.ConfigurationApplyClientConfiguration>;
30
+ readonly clientConfiguration: pulumi.Output<outputs.machine.ClientConfiguration>;
31
31
  /**
32
32
  * The list of config patches to apply
33
33
  */
@@ -69,7 +69,7 @@ export interface ConfigurationApplyState {
69
69
  /**
70
70
  * The client configuration data
71
71
  */
72
- clientConfiguration?: pulumi.Input<inputs.machine.ConfigurationApplyClientConfiguration>;
72
+ clientConfiguration?: pulumi.Input<inputs.machine.ClientConfiguration>;
73
73
  /**
74
74
  * The list of config patches to apply
75
75
  */
@@ -103,7 +103,7 @@ export interface ConfigurationApplyArgs {
103
103
  /**
104
104
  * The client configuration data
105
105
  */
106
- clientConfiguration: pulumi.Input<inputs.machine.ConfigurationApplyClientConfiguration>;
106
+ clientConfiguration: pulumi.Input<inputs.machine.ClientConfiguration>;
107
107
  /**
108
108
  * The list of config patches to apply
109
109
  */
@@ -13,8 +13,8 @@ import * as outputs from "../types/output";
13
13
  * import * as talos from "@pulumi/talos";
14
14
  * import * as talos from "@pulumiverse/talos";
15
15
  *
16
- * const thisSecrets = new talos.machine.Secrets("thisSecrets", {});
17
- * const thisConfiguration = talos.machine.getConfigurationOutput({
16
+ * const thisSecrets = new talos.machine.Secrets("this", {});
17
+ * const this = talos.machine.getConfigurationOutput({
18
18
  * clusterName: "example-cluster",
19
19
  * machineType: "controlplane",
20
20
  * clusterEndpoint: "https://cluster.local:6443",
@@ -125,8 +125,8 @@ export interface GetConfigurationResult {
125
125
  * import * as talos from "@pulumi/talos";
126
126
  * import * as talos from "@pulumiverse/talos";
127
127
  *
128
- * const thisSecrets = new talos.machine.Secrets("thisSecrets", {});
129
- * const thisConfiguration = talos.machine.getConfigurationOutput({
128
+ * const thisSecrets = new talos.machine.Secrets("this", {});
129
+ * const this = talos.machine.getConfigurationOutput({
130
130
  * clusterName: "example-cluster",
131
131
  * machineType: "controlplane",
132
132
  * clusterEndpoint: "https://cluster.local:6443",