@pulumiverse/talos 0.3.0 → 0.4.0-alpha.1730844803
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.
- package/cluster/getHealth.d.ts +14 -2
- package/cluster/getHealth.js +4 -2
- package/cluster/getHealth.js.map +1 -1
- package/cluster/index.d.ts +3 -0
- package/cluster/index.js +16 -1
- package/cluster/index.js.map +1 -1
- package/cluster/kubeconfig.d.ts +96 -0
- package/cluster/kubeconfig.js +70 -0
- package/cluster/kubeconfig.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +4 -0
- package/config/vars.js +13 -0
- package/config/vars.js.map +1 -0
- package/imagefactory/getExtensionsVersions.d.ts +92 -0
- package/imagefactory/getExtensionsVersions.js +64 -0
- package/imagefactory/getExtensionsVersions.js.map +1 -0
- package/imagefactory/getOverlaysVersions.d.ts +86 -0
- package/imagefactory/getOverlaysVersions.js +58 -0
- package/imagefactory/getOverlaysVersions.js.map +1 -0
- package/imagefactory/getUrls.d.ts +42 -0
- package/imagefactory/getUrls.js +36 -0
- package/imagefactory/getUrls.js.map +1 -0
- package/imagefactory/getVersions.d.ts +46 -0
- package/imagefactory/getVersions.js +30 -0
- package/imagefactory/getVersions.js.map +1 -0
- package/imagefactory/index.d.ts +15 -0
- package/imagefactory/index.js +34 -0
- package/imagefactory/index.js.map +1 -0
- package/imagefactory/schematic.d.ts +51 -0
- package/imagefactory/schematic.js +52 -0
- package/imagefactory/schematic.js.map +1 -0
- package/index.d.ts +3 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/machine/configurationApply.d.ts +12 -0
- package/machine/configurationApply.js +2 -0
- package/machine/configurationApply.js.map +1 -1
- package/machine/getConfiguration.d.ts +6 -6
- package/package.json +2 -2
- package/provider.d.ts +8 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/types/input.d.ts +98 -0
- package/types/output.d.ts +139 -0
package/cluster/getHealth.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Waits for the Talos cluster to be healthy. Can be used as a dependency before running other operations on the cluster.
|
|
6
6
|
*/
|
|
7
7
|
export declare function getHealth(args: GetHealthArgs, opts?: pulumi.InvokeOptions): Promise<GetHealthResult>;
|
|
8
8
|
/**
|
|
@@ -21,6 +21,10 @@ export interface GetHealthArgs {
|
|
|
21
21
|
* endpoints to use for the health check client. Use at least one control plane endpoint.
|
|
22
22
|
*/
|
|
23
23
|
endpoints: string[];
|
|
24
|
+
/**
|
|
25
|
+
* Skip Kubernetes component checks, this is useful to check if the nodes has finished booting up and kubelet is running. Default is false.
|
|
26
|
+
*/
|
|
27
|
+
skipKubernetesChecks?: boolean;
|
|
24
28
|
timeouts?: inputs.cluster.GetHealthTimeouts;
|
|
25
29
|
/**
|
|
26
30
|
* List of worker nodes to check for health.
|
|
@@ -47,6 +51,10 @@ export interface GetHealthResult {
|
|
|
47
51
|
* The ID of this resource.
|
|
48
52
|
*/
|
|
49
53
|
readonly id: string;
|
|
54
|
+
/**
|
|
55
|
+
* Skip Kubernetes component checks, this is useful to check if the nodes has finished booting up and kubelet is running. Default is false.
|
|
56
|
+
*/
|
|
57
|
+
readonly skipKubernetesChecks?: boolean;
|
|
50
58
|
readonly timeouts?: outputs.cluster.GetHealthTimeouts;
|
|
51
59
|
/**
|
|
52
60
|
* List of worker nodes to check for health.
|
|
@@ -54,7 +62,7 @@ export interface GetHealthResult {
|
|
|
54
62
|
readonly workerNodes?: string[];
|
|
55
63
|
}
|
|
56
64
|
/**
|
|
57
|
-
*
|
|
65
|
+
* Waits for the Talos cluster to be healthy. Can be used as a dependency before running other operations on the cluster.
|
|
58
66
|
*/
|
|
59
67
|
export declare function getHealthOutput(args: GetHealthOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetHealthResult>;
|
|
60
68
|
/**
|
|
@@ -73,6 +81,10 @@ export interface GetHealthOutputArgs {
|
|
|
73
81
|
* endpoints to use for the health check client. Use at least one control plane endpoint.
|
|
74
82
|
*/
|
|
75
83
|
endpoints: pulumi.Input<pulumi.Input<string>[]>;
|
|
84
|
+
/**
|
|
85
|
+
* Skip Kubernetes component checks, this is useful to check if the nodes has finished booting up and kubelet is running. Default is false.
|
|
86
|
+
*/
|
|
87
|
+
skipKubernetesChecks?: pulumi.Input<boolean>;
|
|
76
88
|
timeouts?: pulumi.Input<inputs.cluster.GetHealthTimeoutsArgs>;
|
|
77
89
|
/**
|
|
78
90
|
* List of worker nodes to check for health.
|
package/cluster/getHealth.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getHealthOutput = exports.getHealth = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Waits for the Talos cluster to be healthy. Can be used as a dependency before running other operations on the cluster.
|
|
10
10
|
*/
|
|
11
11
|
function getHealth(args, opts) {
|
|
12
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -14,13 +14,14 @@ function getHealth(args, opts) {
|
|
|
14
14
|
"clientConfiguration": args.clientConfiguration,
|
|
15
15
|
"controlPlaneNodes": args.controlPlaneNodes,
|
|
16
16
|
"endpoints": args.endpoints,
|
|
17
|
+
"skipKubernetesChecks": args.skipKubernetesChecks,
|
|
17
18
|
"timeouts": args.timeouts,
|
|
18
19
|
"workerNodes": args.workerNodes,
|
|
19
20
|
}, opts);
|
|
20
21
|
}
|
|
21
22
|
exports.getHealth = getHealth;
|
|
22
23
|
/**
|
|
23
|
-
*
|
|
24
|
+
* Waits for the Talos cluster to be healthy. Can be used as a dependency before running other operations on the cluster.
|
|
24
25
|
*/
|
|
25
26
|
function getHealthOutput(args, opts) {
|
|
26
27
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -28,6 +29,7 @@ function getHealthOutput(args, opts) {
|
|
|
28
29
|
"clientConfiguration": args.clientConfiguration,
|
|
29
30
|
"controlPlaneNodes": args.controlPlaneNodes,
|
|
30
31
|
"endpoints": args.endpoints,
|
|
32
|
+
"skipKubernetesChecks": args.skipKubernetesChecks,
|
|
31
33
|
"timeouts": args.timeouts,
|
|
32
34
|
"workerNodes": args.workerNodes,
|
|
33
35
|
}, opts);
|
package/cluster/getHealth.js.map
CHANGED
|
@@ -1 +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;
|
|
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,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8BAUC;AA2DD;;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,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0CAUC"}
|
package/cluster/index.d.ts
CHANGED
|
@@ -4,3 +4,6 @@ export declare const getHealthOutput: typeof import("./getHealth").getHealthOutp
|
|
|
4
4
|
export { GetKubeconfigArgs, GetKubeconfigResult, GetKubeconfigOutputArgs } from "./getKubeconfig";
|
|
5
5
|
export declare const getKubeconfig: typeof import("./getKubeconfig").getKubeconfig;
|
|
6
6
|
export declare const getKubeconfigOutput: typeof import("./getKubeconfig").getKubeconfigOutput;
|
|
7
|
+
export { KubeconfigArgs, KubeconfigState } from "./kubeconfig";
|
|
8
|
+
export type Kubeconfig = import("./kubeconfig").Kubeconfig;
|
|
9
|
+
export declare const Kubeconfig: typeof import("./kubeconfig").Kubeconfig;
|
package/cluster/index.js
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
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.getKubeconfigOutput = exports.getKubeconfig = exports.getHealthOutput = exports.getHealth = void 0;
|
|
5
|
+
exports.Kubeconfig = exports.getKubeconfigOutput = exports.getKubeconfig = exports.getHealthOutput = exports.getHealth = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("../utilities");
|
|
7
8
|
exports.getHealth = null;
|
|
8
9
|
exports.getHealthOutput = null;
|
|
@@ -10,4 +11,18 @@ utilities.lazyLoad(exports, ["getHealth", "getHealthOutput"], () => require("./g
|
|
|
10
11
|
exports.getKubeconfig = null;
|
|
11
12
|
exports.getKubeconfigOutput = null;
|
|
12
13
|
utilities.lazyLoad(exports, ["getKubeconfig", "getKubeconfigOutput"], () => require("./getKubeconfig"));
|
|
14
|
+
exports.Kubeconfig = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["Kubeconfig"], () => require("./kubeconfig"));
|
|
16
|
+
const _module = {
|
|
17
|
+
version: utilities.getVersion(),
|
|
18
|
+
construct: (name, type, urn) => {
|
|
19
|
+
switch (type) {
|
|
20
|
+
case "talos:cluster/kubeconfig:Kubeconfig":
|
|
21
|
+
return new exports.Kubeconfig(name, undefined, { urn });
|
|
22
|
+
default:
|
|
23
|
+
throw new Error(`unknown resource type ${type}`);
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
pulumi.runtime.registerResourceModule("talos", "cluster/kubeconfig", _module);
|
|
13
28
|
//# sourceMappingURL=index.js.map
|
package/cluster/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../cluster/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,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;AAI1F,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAG3E,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,qCAAqC;gBACtC,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,96 @@
|
|
|
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 class Kubeconfig extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing Kubeconfig resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: KubeconfigState, opts?: pulumi.CustomResourceOptions): Kubeconfig;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of Kubeconfig. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is Kubeconfig;
|
|
23
|
+
/**
|
|
24
|
+
* The client configuration data
|
|
25
|
+
*/
|
|
26
|
+
readonly clientConfiguration: pulumi.Output<outputs.cluster.KubeconfigClientConfiguration>;
|
|
27
|
+
/**
|
|
28
|
+
* endpoint to use for the talosclient. If not set, the node value will be used
|
|
29
|
+
*/
|
|
30
|
+
readonly endpoint: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* The raw kubeconfig
|
|
33
|
+
*/
|
|
34
|
+
readonly kubeconfigRaw: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* The kubernetes client configuration
|
|
37
|
+
*/
|
|
38
|
+
readonly kubernetesClientConfiguration: pulumi.Output<outputs.cluster.KubeconfigKubernetesClientConfiguration>;
|
|
39
|
+
/**
|
|
40
|
+
* controlplane node to retrieve the kubeconfig from
|
|
41
|
+
*/
|
|
42
|
+
readonly node: pulumi.Output<string>;
|
|
43
|
+
readonly timeouts: pulumi.Output<outputs.cluster.KubeconfigTimeouts | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* Create a Kubeconfig resource with the given unique name, arguments, and options.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resource.
|
|
48
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
49
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
50
|
+
*/
|
|
51
|
+
constructor(name: string, args: KubeconfigArgs, opts?: pulumi.CustomResourceOptions);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Input properties used for looking up and filtering Kubeconfig resources.
|
|
55
|
+
*/
|
|
56
|
+
export interface KubeconfigState {
|
|
57
|
+
/**
|
|
58
|
+
* The client configuration data
|
|
59
|
+
*/
|
|
60
|
+
clientConfiguration?: pulumi.Input<inputs.cluster.KubeconfigClientConfiguration>;
|
|
61
|
+
/**
|
|
62
|
+
* endpoint to use for the talosclient. If not set, the node value will be used
|
|
63
|
+
*/
|
|
64
|
+
endpoint?: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The raw kubeconfig
|
|
67
|
+
*/
|
|
68
|
+
kubeconfigRaw?: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The kubernetes client configuration
|
|
71
|
+
*/
|
|
72
|
+
kubernetesClientConfiguration?: pulumi.Input<inputs.cluster.KubeconfigKubernetesClientConfiguration>;
|
|
73
|
+
/**
|
|
74
|
+
* controlplane node to retrieve the kubeconfig from
|
|
75
|
+
*/
|
|
76
|
+
node?: pulumi.Input<string>;
|
|
77
|
+
timeouts?: pulumi.Input<inputs.cluster.KubeconfigTimeouts>;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* The set of arguments for constructing a Kubeconfig resource.
|
|
81
|
+
*/
|
|
82
|
+
export interface KubeconfigArgs {
|
|
83
|
+
/**
|
|
84
|
+
* The client configuration data
|
|
85
|
+
*/
|
|
86
|
+
clientConfiguration: pulumi.Input<inputs.cluster.KubeconfigClientConfiguration>;
|
|
87
|
+
/**
|
|
88
|
+
* endpoint to use for the talosclient. If not set, the node value will be used
|
|
89
|
+
*/
|
|
90
|
+
endpoint?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* controlplane node to retrieve the kubeconfig from
|
|
93
|
+
*/
|
|
94
|
+
node: pulumi.Input<string>;
|
|
95
|
+
timeouts?: pulumi.Input<inputs.cluster.KubeconfigTimeouts>;
|
|
96
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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.Kubeconfig = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves the kubeconfig for a Talos cluster
|
|
10
|
+
*/
|
|
11
|
+
class Kubeconfig extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Kubeconfig resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, state, opts) {
|
|
22
|
+
return new Kubeconfig(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Kubeconfig. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === Kubeconfig.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["clientConfiguration"] = state ? state.clientConfiguration : undefined;
|
|
40
|
+
resourceInputs["endpoint"] = state ? state.endpoint : undefined;
|
|
41
|
+
resourceInputs["kubeconfigRaw"] = state ? state.kubeconfigRaw : undefined;
|
|
42
|
+
resourceInputs["kubernetesClientConfiguration"] = state ? state.kubernetesClientConfiguration : undefined;
|
|
43
|
+
resourceInputs["node"] = state ? state.node : undefined;
|
|
44
|
+
resourceInputs["timeouts"] = state ? state.timeouts : undefined;
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
const args = argsOrState;
|
|
48
|
+
if ((!args || args.clientConfiguration === undefined) && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'clientConfiguration'");
|
|
50
|
+
}
|
|
51
|
+
if ((!args || args.node === undefined) && !opts.urn) {
|
|
52
|
+
throw new Error("Missing required property 'node'");
|
|
53
|
+
}
|
|
54
|
+
resourceInputs["clientConfiguration"] = args ? args.clientConfiguration : undefined;
|
|
55
|
+
resourceInputs["endpoint"] = args ? args.endpoint : undefined;
|
|
56
|
+
resourceInputs["node"] = args ? args.node : undefined;
|
|
57
|
+
resourceInputs["timeouts"] = args ? args.timeouts : undefined;
|
|
58
|
+
resourceInputs["kubeconfigRaw"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["kubernetesClientConfiguration"] = undefined /*out*/;
|
|
60
|
+
}
|
|
61
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
62
|
+
const secretOpts = { additionalSecretOutputs: ["kubeconfigRaw"] };
|
|
63
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
64
|
+
super(Kubeconfig.__pulumiType, name, resourceInputs, opts);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.Kubeconfig = Kubeconfig;
|
|
68
|
+
/** @internal */
|
|
69
|
+
Kubeconfig.__pulumiType = 'talos:cluster/kubeconfig:Kubeconfig';
|
|
70
|
+
//# sourceMappingURL=kubeconfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kubeconfig.js","sourceRoot":"","sources":["../../cluster/kubeconfig.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./vars";
|
package/config/index.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
// Export members:
|
|
20
|
+
__exportStar(require("./vars"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
|
package/config/vars.d.ts
ADDED
package/config/vars.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const __config = new pulumi.Config("talos");
|
|
7
|
+
Object.defineProperty(exports, "imageFactoryUrl", {
|
|
8
|
+
get() {
|
|
9
|
+
return __config.get("imageFactoryUrl");
|
|
10
|
+
},
|
|
11
|
+
enumerable: true,
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=vars.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AAM5C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,iBAAiB,EAAE;IAC9C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAC3C,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* The image factory extensions versions data source provides a list of available extensions for a specific talos version from the image factory.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as talos from "@pulumi/talos";
|
|
12
|
+
*
|
|
13
|
+
* const this = talos.imageFactory.getExtensionsVersions({
|
|
14
|
+
* talosVersion: "v1.7.5",
|
|
15
|
+
* filters: {
|
|
16
|
+
* names: [
|
|
17
|
+
* "amdgpu",
|
|
18
|
+
* "tailscale",
|
|
19
|
+
* ],
|
|
20
|
+
* },
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function getExtensionsVersions(args: GetExtensionsVersionsArgs, opts?: pulumi.InvokeOptions): Promise<GetExtensionsVersionsResult>;
|
|
25
|
+
/**
|
|
26
|
+
* A collection of arguments for invoking getExtensionsVersions.
|
|
27
|
+
*/
|
|
28
|
+
export interface GetExtensionsVersionsArgs {
|
|
29
|
+
/**
|
|
30
|
+
* The filter to apply to the extensions list.
|
|
31
|
+
*/
|
|
32
|
+
filters?: inputs.imageFactory.GetExtensionsVersionsFilters;
|
|
33
|
+
/**
|
|
34
|
+
* The talos version to get extensions for.
|
|
35
|
+
*/
|
|
36
|
+
talosVersion: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A collection of values returned by getExtensionsVersions.
|
|
40
|
+
*/
|
|
41
|
+
export interface GetExtensionsVersionsResult {
|
|
42
|
+
/**
|
|
43
|
+
* The list of available extensions for the specified talos version.
|
|
44
|
+
*/
|
|
45
|
+
readonly extensionsInfos: outputs.imageFactory.GetExtensionsVersionsExtensionsInfo[];
|
|
46
|
+
/**
|
|
47
|
+
* The filter to apply to the extensions list.
|
|
48
|
+
*/
|
|
49
|
+
readonly filters?: outputs.imageFactory.GetExtensionsVersionsFilters;
|
|
50
|
+
/**
|
|
51
|
+
* The ID of this resource.
|
|
52
|
+
*/
|
|
53
|
+
readonly id: string;
|
|
54
|
+
/**
|
|
55
|
+
* The talos version to get extensions for.
|
|
56
|
+
*/
|
|
57
|
+
readonly talosVersion: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The image factory extensions versions data source provides a list of available extensions for a specific talos version from the image factory.
|
|
61
|
+
*
|
|
62
|
+
* ## Example Usage
|
|
63
|
+
*
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as talos from "@pulumi/talos";
|
|
67
|
+
*
|
|
68
|
+
* const this = talos.imageFactory.getExtensionsVersions({
|
|
69
|
+
* talosVersion: "v1.7.5",
|
|
70
|
+
* filters: {
|
|
71
|
+
* names: [
|
|
72
|
+
* "amdgpu",
|
|
73
|
+
* "tailscale",
|
|
74
|
+
* ],
|
|
75
|
+
* },
|
|
76
|
+
* });
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
export declare function getExtensionsVersionsOutput(args: GetExtensionsVersionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetExtensionsVersionsResult>;
|
|
80
|
+
/**
|
|
81
|
+
* A collection of arguments for invoking getExtensionsVersions.
|
|
82
|
+
*/
|
|
83
|
+
export interface GetExtensionsVersionsOutputArgs {
|
|
84
|
+
/**
|
|
85
|
+
* The filter to apply to the extensions list.
|
|
86
|
+
*/
|
|
87
|
+
filters?: pulumi.Input<inputs.imageFactory.GetExtensionsVersionsFiltersArgs>;
|
|
88
|
+
/**
|
|
89
|
+
* The talos version to get extensions for.
|
|
90
|
+
*/
|
|
91
|
+
talosVersion: pulumi.Input<string>;
|
|
92
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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.getExtensionsVersionsOutput = exports.getExtensionsVersions = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The image factory extensions versions data source provides a list of available extensions for a specific talos version from the image factory.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as talos from "@pulumi/talos";
|
|
16
|
+
*
|
|
17
|
+
* const this = talos.imageFactory.getExtensionsVersions({
|
|
18
|
+
* talosVersion: "v1.7.5",
|
|
19
|
+
* filters: {
|
|
20
|
+
* names: [
|
|
21
|
+
* "amdgpu",
|
|
22
|
+
* "tailscale",
|
|
23
|
+
* ],
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
function getExtensionsVersions(args, opts) {
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
30
|
+
return pulumi.runtime.invoke("talos:imageFactory/getExtensionsVersions:getExtensionsVersions", {
|
|
31
|
+
"filters": args.filters,
|
|
32
|
+
"talosVersion": args.talosVersion,
|
|
33
|
+
}, opts);
|
|
34
|
+
}
|
|
35
|
+
exports.getExtensionsVersions = getExtensionsVersions;
|
|
36
|
+
/**
|
|
37
|
+
* The image factory extensions versions data source provides a list of available extensions for a specific talos version from the image factory.
|
|
38
|
+
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as talos from "@pulumi/talos";
|
|
44
|
+
*
|
|
45
|
+
* const this = talos.imageFactory.getExtensionsVersions({
|
|
46
|
+
* talosVersion: "v1.7.5",
|
|
47
|
+
* filters: {
|
|
48
|
+
* names: [
|
|
49
|
+
* "amdgpu",
|
|
50
|
+
* "tailscale",
|
|
51
|
+
* ],
|
|
52
|
+
* },
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
function getExtensionsVersionsOutput(args, opts) {
|
|
57
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
58
|
+
return pulumi.runtime.invokeOutput("talos:imageFactory/getExtensionsVersions:getExtensionsVersions", {
|
|
59
|
+
"filters": args.filters,
|
|
60
|
+
"talosVersion": args.talosVersion,
|
|
61
|
+
}, opts);
|
|
62
|
+
}
|
|
63
|
+
exports.getExtensionsVersionsOutput = getExtensionsVersionsOutput;
|
|
64
|
+
//# sourceMappingURL=getExtensionsVersions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getExtensionsVersions.js","sourceRoot":"","sources":["../../imagefactory/getExtensionsVersions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAqCD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gEAAgE,EAAE;QACjG,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* The image factory overlays versions data source provides a list of available overlays for a specific talos version from the image factory.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as talos from "@pulumi/talos";
|
|
12
|
+
*
|
|
13
|
+
* const this = talos.imageFactory.getOverlaysVersions({
|
|
14
|
+
* talosVersion: "v1.7.5",
|
|
15
|
+
* filters: {
|
|
16
|
+
* name: "rock4cplus",
|
|
17
|
+
* },
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare function getOverlaysVersions(args: GetOverlaysVersionsArgs, opts?: pulumi.InvokeOptions): Promise<GetOverlaysVersionsResult>;
|
|
22
|
+
/**
|
|
23
|
+
* A collection of arguments for invoking getOverlaysVersions.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetOverlaysVersionsArgs {
|
|
26
|
+
/**
|
|
27
|
+
* The filter to apply to the overlays list.
|
|
28
|
+
*/
|
|
29
|
+
filters?: inputs.imageFactory.GetOverlaysVersionsFilters;
|
|
30
|
+
/**
|
|
31
|
+
* The talos version to get overlays for.
|
|
32
|
+
*/
|
|
33
|
+
talosVersion: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* A collection of values returned by getOverlaysVersions.
|
|
37
|
+
*/
|
|
38
|
+
export interface GetOverlaysVersionsResult {
|
|
39
|
+
/**
|
|
40
|
+
* The filter to apply to the overlays list.
|
|
41
|
+
*/
|
|
42
|
+
readonly filters?: outputs.imageFactory.GetOverlaysVersionsFilters;
|
|
43
|
+
/**
|
|
44
|
+
* The ID of this resource.
|
|
45
|
+
*/
|
|
46
|
+
readonly id: string;
|
|
47
|
+
/**
|
|
48
|
+
* The list of available extensions for the specified talos version.
|
|
49
|
+
*/
|
|
50
|
+
readonly overlaysInfos: outputs.imageFactory.GetOverlaysVersionsOverlaysInfo[];
|
|
51
|
+
/**
|
|
52
|
+
* The talos version to get overlays for.
|
|
53
|
+
*/
|
|
54
|
+
readonly talosVersion: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The image factory overlays versions data source provides a list of available overlays for a specific talos version from the image factory.
|
|
58
|
+
*
|
|
59
|
+
* ## Example Usage
|
|
60
|
+
*
|
|
61
|
+
* ```typescript
|
|
62
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
+
* import * as talos from "@pulumi/talos";
|
|
64
|
+
*
|
|
65
|
+
* const this = talos.imageFactory.getOverlaysVersions({
|
|
66
|
+
* talosVersion: "v1.7.5",
|
|
67
|
+
* filters: {
|
|
68
|
+
* name: "rock4cplus",
|
|
69
|
+
* },
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export declare function getOverlaysVersionsOutput(args: GetOverlaysVersionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOverlaysVersionsResult>;
|
|
74
|
+
/**
|
|
75
|
+
* A collection of arguments for invoking getOverlaysVersions.
|
|
76
|
+
*/
|
|
77
|
+
export interface GetOverlaysVersionsOutputArgs {
|
|
78
|
+
/**
|
|
79
|
+
* The filter to apply to the overlays list.
|
|
80
|
+
*/
|
|
81
|
+
filters?: pulumi.Input<inputs.imageFactory.GetOverlaysVersionsFiltersArgs>;
|
|
82
|
+
/**
|
|
83
|
+
* The talos version to get overlays for.
|
|
84
|
+
*/
|
|
85
|
+
talosVersion: pulumi.Input<string>;
|
|
86
|
+
}
|