@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.
- package/README.md +24 -0
- package/client/{configuration.d.ts → getConfiguration.d.ts} +15 -15
- package/client/{configuration.js → getConfiguration.js} +18 -12
- package/client/getConfiguration.js.map +1 -0
- package/client/index.d.ts +3 -3
- package/client/index.js +4 -4
- package/client/index.js.map +1 -1
- package/cluster/getHealth.d.ts +81 -0
- package/cluster/getHealth.js +36 -0
- package/cluster/getHealth.js.map +1 -0
- package/cluster/getKubeconfig.d.ts +95 -0
- package/cluster/{kubeconfig.js → getKubeconfig.js} +15 -8
- package/cluster/getKubeconfig.js.map +1 -0
- package/cluster/index.d.ts +6 -3
- package/cluster/index.js +7 -4
- package/cluster/index.js.map +1 -1
- package/machine/bootstrap.d.ts +7 -5
- package/machine/bootstrap.js +4 -2
- package/machine/bootstrap.js.map +1 -1
- package/machine/configurationApply.d.ts +3 -3
- package/machine/getConfiguration.d.ts +4 -4
- package/machine/getConfiguration.js +16 -5
- package/machine/getConfiguration.js.map +1 -1
- package/machine/getDisks.d.ts +127 -0
- package/machine/{disks.js → getDisks.js} +23 -16
- package/machine/getDisks.js.map +1 -0
- package/machine/index.d.ts +3 -3
- package/machine/index.js +4 -4
- package/machine/index.js.map +1 -1
- package/machine/secrets.d.ts +7 -5
- package/machine/secrets.js +5 -3
- package/machine/secrets.js.map +1 -1
- package/package.json +2 -1
- package/types/input.d.ts +93 -70
- package/types/output.d.ts +61 -62
- package/utilities.d.ts +4 -0
- package/utilities.js +33 -1
- package/utilities.js.map +1 -1
- package/client/configuration.js.map +0 -1
- package/cluster/kubeconfig.d.ts +0 -89
- package/cluster/kubeconfig.js.map +0 -1
- package/machine/disks.d.ts +0 -127
- package/machine/disks.js.map +0 -1
- package/package.json.bak +0 -29
package/types/input.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
export declare namespace client {
|
|
4
|
-
interface
|
|
4
|
+
interface GetConfigurationClientConfiguration {
|
|
5
5
|
/**
|
|
6
6
|
* The client CA certificate
|
|
7
7
|
*/
|
|
@@ -15,7 +15,7 @@ export declare namespace client {
|
|
|
15
15
|
*/
|
|
16
16
|
clientKey: string;
|
|
17
17
|
}
|
|
18
|
-
interface
|
|
18
|
+
interface GetConfigurationClientConfigurationArgs {
|
|
19
19
|
/**
|
|
20
20
|
* The client CA certificate
|
|
21
21
|
*/
|
|
@@ -31,7 +31,7 @@ export declare namespace client {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
export declare namespace cluster {
|
|
34
|
-
interface
|
|
34
|
+
interface GetHealthClientConfiguration {
|
|
35
35
|
/**
|
|
36
36
|
* The client CA certificate
|
|
37
37
|
*/
|
|
@@ -45,7 +45,7 @@ export declare namespace cluster {
|
|
|
45
45
|
*/
|
|
46
46
|
clientKey: string;
|
|
47
47
|
}
|
|
48
|
-
interface
|
|
48
|
+
interface GetHealthClientConfigurationArgs {
|
|
49
49
|
/**
|
|
50
50
|
* The client CA certificate
|
|
51
51
|
*/
|
|
@@ -59,21 +59,33 @@ export declare namespace cluster {
|
|
|
59
59
|
*/
|
|
60
60
|
clientKey: pulumi.Input<string>;
|
|
61
61
|
}
|
|
62
|
-
interface
|
|
62
|
+
interface GetHealthTimeouts {
|
|
63
63
|
/**
|
|
64
64
|
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
|
|
65
65
|
*/
|
|
66
66
|
read?: string;
|
|
67
67
|
}
|
|
68
|
-
interface
|
|
68
|
+
interface GetHealthTimeoutsArgs {
|
|
69
69
|
/**
|
|
70
70
|
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
|
|
71
71
|
*/
|
|
72
72
|
read?: pulumi.Input<string>;
|
|
73
73
|
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
interface GetKubeconfigClientConfiguration {
|
|
75
|
+
/**
|
|
76
|
+
* The client CA certificate
|
|
77
|
+
*/
|
|
78
|
+
caCertificate: string;
|
|
79
|
+
/**
|
|
80
|
+
* The client certificate
|
|
81
|
+
*/
|
|
82
|
+
clientCertificate: string;
|
|
83
|
+
/**
|
|
84
|
+
* The client key
|
|
85
|
+
*/
|
|
86
|
+
clientKey: string;
|
|
87
|
+
}
|
|
88
|
+
interface GetKubeconfigClientConfigurationArgs {
|
|
77
89
|
/**
|
|
78
90
|
* The client CA certificate
|
|
79
91
|
*/
|
|
@@ -87,6 +99,20 @@ export declare namespace machine {
|
|
|
87
99
|
*/
|
|
88
100
|
clientKey: pulumi.Input<string>;
|
|
89
101
|
}
|
|
102
|
+
interface GetKubeconfigTimeouts {
|
|
103
|
+
/**
|
|
104
|
+
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
|
|
105
|
+
*/
|
|
106
|
+
read?: string;
|
|
107
|
+
}
|
|
108
|
+
interface GetKubeconfigTimeoutsArgs {
|
|
109
|
+
/**
|
|
110
|
+
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
|
|
111
|
+
*/
|
|
112
|
+
read?: pulumi.Input<string>;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
export declare namespace machine {
|
|
90
116
|
interface BootstrapTimeouts {
|
|
91
117
|
/**
|
|
92
118
|
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
@@ -125,8 +151,8 @@ export declare namespace machine {
|
|
|
125
151
|
interface Certificates {
|
|
126
152
|
etcd: inputs.machine.Certificate;
|
|
127
153
|
k8s: inputs.machine.Certificate;
|
|
128
|
-
|
|
129
|
-
|
|
154
|
+
k8sAggregator: inputs.machine.Certificate;
|
|
155
|
+
k8sServiceaccount: inputs.machine.Key;
|
|
130
156
|
os: inputs.machine.Certificate;
|
|
131
157
|
}
|
|
132
158
|
/**
|
|
@@ -135,10 +161,27 @@ export declare namespace machine {
|
|
|
135
161
|
interface CertificatesArgs {
|
|
136
162
|
etcd: pulumi.Input<inputs.machine.CertificateArgs>;
|
|
137
163
|
k8s: pulumi.Input<inputs.machine.CertificateArgs>;
|
|
138
|
-
|
|
139
|
-
|
|
164
|
+
k8sAggregator: pulumi.Input<inputs.machine.CertificateArgs>;
|
|
165
|
+
k8sServiceaccount: pulumi.Input<inputs.machine.KeyArgs>;
|
|
140
166
|
os: pulumi.Input<inputs.machine.CertificateArgs>;
|
|
141
167
|
}
|
|
168
|
+
/**
|
|
169
|
+
* A Client Configuration
|
|
170
|
+
*/
|
|
171
|
+
interface ClientConfiguration {
|
|
172
|
+
/**
|
|
173
|
+
* The client CA certificate
|
|
174
|
+
*/
|
|
175
|
+
caCertificate: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* The client certificate
|
|
178
|
+
*/
|
|
179
|
+
clientCertificate: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* The client private key
|
|
182
|
+
*/
|
|
183
|
+
clientKey: pulumi.Input<string>;
|
|
184
|
+
}
|
|
142
185
|
/**
|
|
143
186
|
* A Machine Secrets Cluster Info
|
|
144
187
|
*/
|
|
@@ -165,21 +208,7 @@ export declare namespace machine {
|
|
|
165
208
|
*/
|
|
166
209
|
secret: pulumi.Input<string>;
|
|
167
210
|
}
|
|
168
|
-
interface
|
|
169
|
-
/**
|
|
170
|
-
* The client CA certificate
|
|
171
|
-
*/
|
|
172
|
-
caCertificate: pulumi.Input<string>;
|
|
173
|
-
/**
|
|
174
|
-
* The client certificate
|
|
175
|
-
*/
|
|
176
|
-
clientCertificate: pulumi.Input<string>;
|
|
177
|
-
/**
|
|
178
|
-
* The client key
|
|
179
|
-
*/
|
|
180
|
-
clientKey: pulumi.Input<string>;
|
|
181
|
-
}
|
|
182
|
-
interface DisksClientConfiguration {
|
|
211
|
+
interface GetDisksClientConfiguration {
|
|
183
212
|
/**
|
|
184
213
|
* The client CA certificate
|
|
185
214
|
*/
|
|
@@ -193,7 +222,7 @@ export declare namespace machine {
|
|
|
193
222
|
*/
|
|
194
223
|
clientKey: string;
|
|
195
224
|
}
|
|
196
|
-
interface
|
|
225
|
+
interface GetDisksClientConfigurationArgs {
|
|
197
226
|
/**
|
|
198
227
|
* The client CA certificate
|
|
199
228
|
*/
|
|
@@ -207,7 +236,7 @@ export declare namespace machine {
|
|
|
207
236
|
*/
|
|
208
237
|
clientKey: pulumi.Input<string>;
|
|
209
238
|
}
|
|
210
|
-
interface
|
|
239
|
+
interface GetDisksFilters {
|
|
211
240
|
/**
|
|
212
241
|
* Filter disks by bus path
|
|
213
242
|
*/
|
|
@@ -245,7 +274,7 @@ export declare namespace machine {
|
|
|
245
274
|
*/
|
|
246
275
|
wwid?: string;
|
|
247
276
|
}
|
|
248
|
-
interface
|
|
277
|
+
interface GetDisksFiltersArgs {
|
|
249
278
|
/**
|
|
250
279
|
* Filter disks by bus path
|
|
251
280
|
*/
|
|
@@ -283,13 +312,13 @@ export declare namespace machine {
|
|
|
283
312
|
*/
|
|
284
313
|
wwid?: pulumi.Input<string>;
|
|
285
314
|
}
|
|
286
|
-
interface
|
|
315
|
+
interface GetDisksTimeouts {
|
|
287
316
|
/**
|
|
288
317
|
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
|
|
289
318
|
*/
|
|
290
319
|
read?: string;
|
|
291
320
|
}
|
|
292
|
-
interface
|
|
321
|
+
interface GetDisksTimeoutsArgs {
|
|
293
322
|
/**
|
|
294
323
|
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
|
|
295
324
|
*/
|
|
@@ -313,63 +342,57 @@ export declare namespace machine {
|
|
|
313
342
|
*/
|
|
314
343
|
key: pulumi.Input<string>;
|
|
315
344
|
}
|
|
316
|
-
/**
|
|
317
|
-
* A complete Machine Secrets configuration
|
|
318
|
-
*/
|
|
319
|
-
interface MachineSecrets {
|
|
320
|
-
certs: inputs.machine.Certificates;
|
|
321
|
-
cluster: inputs.machine.Cluster;
|
|
322
|
-
secrets: inputs.machine.Secrets;
|
|
323
|
-
trustdinfo: inputs.machine.TrustdInfo;
|
|
324
|
-
}
|
|
325
|
-
/**
|
|
326
|
-
* A complete Machine Secrets configuration
|
|
327
|
-
*/
|
|
328
|
-
interface MachineSecretsArgs {
|
|
329
|
-
certs: pulumi.Input<inputs.machine.CertificatesArgs>;
|
|
330
|
-
cluster: pulumi.Input<inputs.machine.ClusterArgs>;
|
|
331
|
-
secrets: pulumi.Input<inputs.machine.SecretsArgs>;
|
|
332
|
-
trustdinfo: pulumi.Input<inputs.machine.TrustdInfoArgs>;
|
|
333
|
-
}
|
|
334
345
|
/**
|
|
335
346
|
* A Machine Secrets Bootstrap data
|
|
336
347
|
*/
|
|
337
|
-
interface
|
|
348
|
+
interface KubernetesSecrets {
|
|
349
|
+
/**
|
|
350
|
+
* The aescbc encryption secret for the talos kubernetes cluster
|
|
351
|
+
*/
|
|
352
|
+
aescbcEncryptionSecret?: string;
|
|
338
353
|
/**
|
|
339
354
|
* The bootstrap token for the talos kubernetes cluster
|
|
340
355
|
*/
|
|
341
|
-
|
|
356
|
+
bootstrapToken: string;
|
|
342
357
|
/**
|
|
343
358
|
* The secretbox encryption secret for the talos kubernetes cluster
|
|
344
359
|
*/
|
|
345
|
-
|
|
360
|
+
secretboxEncryptionSecret: string;
|
|
346
361
|
}
|
|
347
362
|
/**
|
|
348
363
|
* A Machine Secrets Bootstrap data
|
|
349
364
|
*/
|
|
350
|
-
interface
|
|
365
|
+
interface KubernetesSecretsArgs {
|
|
366
|
+
/**
|
|
367
|
+
* The aescbc encryption secret for the talos kubernetes cluster
|
|
368
|
+
*/
|
|
369
|
+
aescbcEncryptionSecret?: pulumi.Input<string>;
|
|
351
370
|
/**
|
|
352
371
|
* The bootstrap token for the talos kubernetes cluster
|
|
353
372
|
*/
|
|
354
|
-
|
|
373
|
+
bootstrapToken: pulumi.Input<string>;
|
|
355
374
|
/**
|
|
356
375
|
* The secretbox encryption secret for the talos kubernetes cluster
|
|
357
376
|
*/
|
|
358
|
-
|
|
377
|
+
secretboxEncryptionSecret: pulumi.Input<string>;
|
|
359
378
|
}
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
379
|
+
/**
|
|
380
|
+
* A complete Machine Secrets configuration
|
|
381
|
+
*/
|
|
382
|
+
interface MachineSecrets {
|
|
383
|
+
certs: inputs.machine.Certificates;
|
|
384
|
+
cluster: inputs.machine.Cluster;
|
|
385
|
+
secrets: inputs.machine.KubernetesSecrets;
|
|
386
|
+
trustdinfo: inputs.machine.TrustdInfo;
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* A complete Machine Secrets configuration
|
|
390
|
+
*/
|
|
391
|
+
interface MachineSecretsArgs {
|
|
392
|
+
certs: pulumi.Input<inputs.machine.CertificatesArgs>;
|
|
393
|
+
cluster: pulumi.Input<inputs.machine.ClusterArgs>;
|
|
394
|
+
secrets: pulumi.Input<inputs.machine.KubernetesSecretsArgs>;
|
|
395
|
+
trustdinfo: pulumi.Input<inputs.machine.TrustdInfoArgs>;
|
|
373
396
|
}
|
|
374
397
|
interface Timeout {
|
|
375
398
|
/**
|
package/types/output.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as outputs from "../types/output";
|
|
2
2
|
export declare namespace client {
|
|
3
|
-
interface
|
|
3
|
+
interface GetConfigurationClientConfiguration {
|
|
4
4
|
/**
|
|
5
5
|
* The client CA certificate
|
|
6
6
|
*/
|
|
@@ -16,7 +16,7 @@ export declare namespace client {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
export declare namespace cluster {
|
|
19
|
-
interface
|
|
19
|
+
interface GetHealthClientConfiguration {
|
|
20
20
|
/**
|
|
21
21
|
* The client CA certificate
|
|
22
22
|
*/
|
|
@@ -30,7 +30,27 @@ export declare namespace cluster {
|
|
|
30
30
|
*/
|
|
31
31
|
clientKey: string;
|
|
32
32
|
}
|
|
33
|
-
interface
|
|
33
|
+
interface GetHealthTimeouts {
|
|
34
|
+
/**
|
|
35
|
+
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
|
|
36
|
+
*/
|
|
37
|
+
read?: string;
|
|
38
|
+
}
|
|
39
|
+
interface GetKubeconfigClientConfiguration {
|
|
40
|
+
/**
|
|
41
|
+
* The client CA certificate
|
|
42
|
+
*/
|
|
43
|
+
caCertificate: string;
|
|
44
|
+
/**
|
|
45
|
+
* The client certificate
|
|
46
|
+
*/
|
|
47
|
+
clientCertificate: string;
|
|
48
|
+
/**
|
|
49
|
+
* The client key
|
|
50
|
+
*/
|
|
51
|
+
clientKey: string;
|
|
52
|
+
}
|
|
53
|
+
interface GetKubeconfigKubernetesClientConfiguration {
|
|
34
54
|
/**
|
|
35
55
|
* The kubernetes CA certificate
|
|
36
56
|
*/
|
|
@@ -48,7 +68,7 @@ export declare namespace cluster {
|
|
|
48
68
|
*/
|
|
49
69
|
host: string;
|
|
50
70
|
}
|
|
51
|
-
interface
|
|
71
|
+
interface GetKubeconfigTimeouts {
|
|
52
72
|
/**
|
|
53
73
|
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
|
|
54
74
|
*/
|
|
@@ -56,20 +76,6 @@ export declare namespace cluster {
|
|
|
56
76
|
}
|
|
57
77
|
}
|
|
58
78
|
export declare namespace machine {
|
|
59
|
-
interface BootstrapClientConfiguration {
|
|
60
|
-
/**
|
|
61
|
-
* The client CA certificate
|
|
62
|
-
*/
|
|
63
|
-
caCertificate: string;
|
|
64
|
-
/**
|
|
65
|
-
* The client certificate
|
|
66
|
-
*/
|
|
67
|
-
clientCertificate: string;
|
|
68
|
-
/**
|
|
69
|
-
* The client key
|
|
70
|
-
*/
|
|
71
|
-
clientKey: string;
|
|
72
|
-
}
|
|
73
79
|
interface BootstrapTimeouts {
|
|
74
80
|
/**
|
|
75
81
|
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
@@ -95,24 +101,14 @@ export declare namespace machine {
|
|
|
95
101
|
interface Certificates {
|
|
96
102
|
etcd: outputs.machine.Certificate;
|
|
97
103
|
k8s: outputs.machine.Certificate;
|
|
98
|
-
|
|
99
|
-
|
|
104
|
+
k8sAggregator: outputs.machine.Certificate;
|
|
105
|
+
k8sServiceaccount: outputs.machine.Key;
|
|
100
106
|
os: outputs.machine.Certificate;
|
|
101
107
|
}
|
|
102
108
|
/**
|
|
103
|
-
* A
|
|
109
|
+
* A Client Configuration
|
|
104
110
|
*/
|
|
105
|
-
interface
|
|
106
|
-
/**
|
|
107
|
-
* Certificate
|
|
108
|
-
*/
|
|
109
|
-
id: string;
|
|
110
|
-
/**
|
|
111
|
-
* Private Key
|
|
112
|
-
*/
|
|
113
|
-
secret: string;
|
|
114
|
-
}
|
|
115
|
-
interface ConfigurationApplyClientConfiguration {
|
|
111
|
+
interface ClientConfiguration {
|
|
116
112
|
/**
|
|
117
113
|
* The client CA certificate
|
|
118
114
|
*/
|
|
@@ -122,11 +118,24 @@ export declare namespace machine {
|
|
|
122
118
|
*/
|
|
123
119
|
clientCertificate: string;
|
|
124
120
|
/**
|
|
125
|
-
* The client key
|
|
121
|
+
* The client private key
|
|
126
122
|
*/
|
|
127
123
|
clientKey: string;
|
|
128
124
|
}
|
|
129
|
-
|
|
125
|
+
/**
|
|
126
|
+
* A Machine Secrets Cluster Info
|
|
127
|
+
*/
|
|
128
|
+
interface Cluster {
|
|
129
|
+
/**
|
|
130
|
+
* Certificate
|
|
131
|
+
*/
|
|
132
|
+
id: string;
|
|
133
|
+
/**
|
|
134
|
+
* Private Key
|
|
135
|
+
*/
|
|
136
|
+
secret: string;
|
|
137
|
+
}
|
|
138
|
+
interface GetDisksClientConfiguration {
|
|
130
139
|
/**
|
|
131
140
|
* The client CA certificate
|
|
132
141
|
*/
|
|
@@ -140,7 +149,7 @@ export declare namespace machine {
|
|
|
140
149
|
*/
|
|
141
150
|
clientKey: string;
|
|
142
151
|
}
|
|
143
|
-
interface
|
|
152
|
+
interface GetDisksDisk {
|
|
144
153
|
/**
|
|
145
154
|
* The bus path of the disk
|
|
146
155
|
*/
|
|
@@ -178,7 +187,7 @@ export declare namespace machine {
|
|
|
178
187
|
*/
|
|
179
188
|
wwid: string;
|
|
180
189
|
}
|
|
181
|
-
interface
|
|
190
|
+
interface GetDisksFilters {
|
|
182
191
|
/**
|
|
183
192
|
* Filter disks by bus path
|
|
184
193
|
*/
|
|
@@ -216,7 +225,7 @@ export declare namespace machine {
|
|
|
216
225
|
*/
|
|
217
226
|
wwid?: string;
|
|
218
227
|
}
|
|
219
|
-
interface
|
|
228
|
+
interface GetDisksTimeouts {
|
|
220
229
|
/**
|
|
221
230
|
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
|
|
222
231
|
*/
|
|
@@ -231,41 +240,31 @@ export declare namespace machine {
|
|
|
231
240
|
*/
|
|
232
241
|
key: string;
|
|
233
242
|
}
|
|
234
|
-
/**
|
|
235
|
-
* A complete Machine Secrets configuration
|
|
236
|
-
*/
|
|
237
|
-
interface MachineSecrets {
|
|
238
|
-
certs: outputs.machine.Certificates;
|
|
239
|
-
cluster: outputs.machine.Cluster;
|
|
240
|
-
secrets: outputs.machine.Secrets;
|
|
241
|
-
trustdinfo: outputs.machine.TrustdInfo;
|
|
242
|
-
}
|
|
243
243
|
/**
|
|
244
244
|
* A Machine Secrets Bootstrap data
|
|
245
245
|
*/
|
|
246
|
-
interface
|
|
246
|
+
interface KubernetesSecrets {
|
|
247
|
+
/**
|
|
248
|
+
* The aescbc encryption secret for the talos kubernetes cluster
|
|
249
|
+
*/
|
|
250
|
+
aescbcEncryptionSecret?: string;
|
|
247
251
|
/**
|
|
248
252
|
* The bootstrap token for the talos kubernetes cluster
|
|
249
253
|
*/
|
|
250
|
-
|
|
254
|
+
bootstrapToken: string;
|
|
251
255
|
/**
|
|
252
256
|
* The secretbox encryption secret for the talos kubernetes cluster
|
|
253
257
|
*/
|
|
254
|
-
|
|
258
|
+
secretboxEncryptionSecret: string;
|
|
255
259
|
}
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
clientCertificate: string;
|
|
265
|
-
/**
|
|
266
|
-
* The client key
|
|
267
|
-
*/
|
|
268
|
-
clientKey: string;
|
|
260
|
+
/**
|
|
261
|
+
* A complete Machine Secrets configuration
|
|
262
|
+
*/
|
|
263
|
+
interface MachineSecrets {
|
|
264
|
+
certs: outputs.machine.Certificates;
|
|
265
|
+
cluster: outputs.machine.Cluster;
|
|
266
|
+
secrets: outputs.machine.KubernetesSecrets;
|
|
267
|
+
trustdinfo: outputs.machine.TrustdInfo;
|
|
269
268
|
}
|
|
270
269
|
interface Timeout {
|
|
271
270
|
/**
|
package/utilities.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
1
2
|
export declare function getEnv(...vars: string[]): string | undefined;
|
|
2
3
|
export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
|
|
3
4
|
export declare function getEnvNumber(...vars: string[]): number | undefined;
|
|
4
5
|
export declare function getVersion(): string;
|
|
6
|
+
export declare function callAsync<T>(tok: string, props: pulumi.Inputs, res?: pulumi.Resource, opts?: {
|
|
7
|
+
property?: string;
|
|
8
|
+
}): Promise<T>;
|
package/utilities.js
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
8
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
9
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
10
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
|
+
});
|
|
12
|
+
};
|
|
4
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
14
|
+
exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
15
|
+
const runtime = require("@pulumi/pulumi/runtime");
|
|
6
16
|
function getEnv(...vars) {
|
|
7
17
|
for (const v of vars) {
|
|
8
18
|
const value = process.env[v];
|
|
@@ -66,4 +76,26 @@ function lazyLoad(exports, props, loadModule) {
|
|
|
66
76
|
}
|
|
67
77
|
}
|
|
68
78
|
exports.lazyLoad = lazyLoad;
|
|
79
|
+
function callAsync(tok, props, res, opts) {
|
|
80
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
81
|
+
const o = runtime.call(tok, props, res);
|
|
82
|
+
const value = yield o.promise(true /*withUnknowns*/);
|
|
83
|
+
const isKnown = yield o.isKnown;
|
|
84
|
+
const isSecret = yield o.isSecret;
|
|
85
|
+
const problem = !isKnown ? "an unknown value"
|
|
86
|
+
: isSecret ? "a secret value"
|
|
87
|
+
: undefined;
|
|
88
|
+
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
89
|
+
if (problem) {
|
|
90
|
+
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
|
91
|
+
"This is an error in the provider, please report this to the provider developer.");
|
|
92
|
+
}
|
|
93
|
+
// Extract a single property if requested.
|
|
94
|
+
if (opts && opts.property) {
|
|
95
|
+
return value[opts.property];
|
|
96
|
+
}
|
|
97
|
+
return value;
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
exports.callAsync = callAsync;
|
|
69
101
|
//# sourceMappingURL=utilities.js.map
|
package/utilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAGjF,kDAAkD;AAGlD,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wBAQC;AAED,SAAgB,aAAa,CAAC,GAAG,IAAc;IAC3C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAAI,CAAC,KAAK,SAAS,EAAE;QACjB,uGAAuG;QACvG,yDAAyD;QACzD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,SAAS,EAAE;YAC1E,OAAO,IAAI,CAAC;SACf;QACD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,SAAS,EAAE;YAC7E,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AAbD,sCAaC;AAED,SAAgB,YAAY,CAAC,GAAG,IAAc;IAC1C,MAAM,CAAC,GAAG,MAAM,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;;;;;;;;;;;;;GAiBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|
package/cluster/kubeconfig.d.ts
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
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 kubeconfig(args: KubeconfigArgs, opts?: pulumi.InvokeOptions): Promise<KubeconfigResult>;
|
|
8
|
-
/**
|
|
9
|
-
* A collection of arguments for invoking Kubeconfig.
|
|
10
|
-
*/
|
|
11
|
-
export interface KubeconfigArgs {
|
|
12
|
-
/**
|
|
13
|
-
* The client configuration data
|
|
14
|
-
*/
|
|
15
|
-
clientConfiguration: inputs.cluster.KubeconfigClientConfiguration;
|
|
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.KubeconfigTimeouts;
|
|
25
|
-
/**
|
|
26
|
-
* Wait for the kubernetes api to be available
|
|
27
|
-
*/
|
|
28
|
-
wait?: boolean;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* A collection of values returned by Kubeconfig.
|
|
32
|
-
*/
|
|
33
|
-
export interface KubeconfigResult {
|
|
34
|
-
/**
|
|
35
|
-
* The client configuration data
|
|
36
|
-
*/
|
|
37
|
-
readonly clientConfiguration: outputs.cluster.KubeconfigClientConfiguration;
|
|
38
|
-
/**
|
|
39
|
-
* endpoint to use for the talosclient. if not set, the node value will be used
|
|
40
|
-
*/
|
|
41
|
-
readonly endpoint: string;
|
|
42
|
-
/**
|
|
43
|
-
* The ID of this resource.
|
|
44
|
-
*/
|
|
45
|
-
readonly id: string;
|
|
46
|
-
/**
|
|
47
|
-
* The raw kubeconfig
|
|
48
|
-
*/
|
|
49
|
-
readonly kubeconfigRaw: string;
|
|
50
|
-
/**
|
|
51
|
-
* The kubernetes client configuration
|
|
52
|
-
*/
|
|
53
|
-
readonly kubernetesClientConfiguration: outputs.cluster.KubeconfigKubernetesClientConfiguration;
|
|
54
|
-
/**
|
|
55
|
-
* controlplane node to retrieve the kubeconfig from
|
|
56
|
-
*/
|
|
57
|
-
readonly node: string;
|
|
58
|
-
readonly timeouts?: outputs.cluster.KubeconfigTimeouts;
|
|
59
|
-
/**
|
|
60
|
-
* Wait for the kubernetes api to be available
|
|
61
|
-
*/
|
|
62
|
-
readonly wait?: boolean;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Retrieves the kubeconfig for a Talos cluster
|
|
66
|
-
*/
|
|
67
|
-
export declare function kubeconfigOutput(args: KubeconfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<KubeconfigResult>;
|
|
68
|
-
/**
|
|
69
|
-
* A collection of arguments for invoking Kubeconfig.
|
|
70
|
-
*/
|
|
71
|
-
export interface KubeconfigOutputArgs {
|
|
72
|
-
/**
|
|
73
|
-
* The client configuration data
|
|
74
|
-
*/
|
|
75
|
-
clientConfiguration: pulumi.Input<inputs.cluster.KubeconfigClientConfigurationArgs>;
|
|
76
|
-
/**
|
|
77
|
-
* endpoint to use for the talosclient. if not set, the node value will be used
|
|
78
|
-
*/
|
|
79
|
-
endpoint?: pulumi.Input<string>;
|
|
80
|
-
/**
|
|
81
|
-
* controlplane node to retrieve the kubeconfig from
|
|
82
|
-
*/
|
|
83
|
-
node: pulumi.Input<string>;
|
|
84
|
-
timeouts?: pulumi.Input<inputs.cluster.KubeconfigTimeoutsArgs>;
|
|
85
|
-
/**
|
|
86
|
-
* Wait for the kubernetes api to be available
|
|
87
|
-
*/
|
|
88
|
-
wait?: pulumi.Input<boolean>;
|
|
89
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kubeconfig.js","sourceRoot":"","sources":["../../cluster/kubeconfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,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;AAVD,gCAUC;AA2DD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|