@pulumiverse/talos 0.1.1

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 (52) hide show
  1. package/LICENSE +373 -0
  2. package/README.md +19 -0
  3. package/client/configuration.d.ts +112 -0
  4. package/client/configuration.js +58 -0
  5. package/client/configuration.js.map +1 -0
  6. package/client/index.d.ts +3 -0
  7. package/client/index.js +10 -0
  8. package/client/index.js.map +1 -0
  9. package/cluster/index.d.ts +3 -0
  10. package/cluster/index.js +10 -0
  11. package/cluster/index.js.map +1 -0
  12. package/cluster/kubeconfig.d.ts +89 -0
  13. package/cluster/kubeconfig.js +29 -0
  14. package/cluster/kubeconfig.js.map +1 -0
  15. package/index.d.ts +8 -0
  16. package/index.js +28 -0
  17. package/index.js.map +1 -0
  18. package/machine/bootstrap.d.ts +88 -0
  19. package/machine/bootstrap.js +72 -0
  20. package/machine/bootstrap.js.map +1 -0
  21. package/machine/configuration.d.ts +178 -0
  22. package/machine/configuration.js +69 -0
  23. package/machine/configuration.js.map +1 -0
  24. package/machine/configurationApply.d.ts +124 -0
  25. package/machine/configurationApply.js +77 -0
  26. package/machine/configurationApply.js.map +1 -0
  27. package/machine/disks.d.ts +127 -0
  28. package/machine/disks.js +71 -0
  29. package/machine/disks.js.map +1 -0
  30. package/machine/index.d.ts +15 -0
  31. package/machine/index.js +38 -0
  32. package/machine/index.js.map +1 -0
  33. package/machine/secrets.d.ts +86 -0
  34. package/machine/secrets.js +73 -0
  35. package/machine/secrets.js.map +1 -0
  36. package/package.json +29 -0
  37. package/package.json.bak +29 -0
  38. package/provider.d.ts +27 -0
  39. package/provider.js +44 -0
  40. package/provider.js.map +1 -0
  41. package/types/index.d.ts +3 -0
  42. package/types/index.js +11 -0
  43. package/types/index.js.map +1 -0
  44. package/types/input.d.ts +589 -0
  45. package/types/input.js +5 -0
  46. package/types/input.js.map +1 -0
  47. package/types/output.d.ts +439 -0
  48. package/types/output.js +5 -0
  49. package/types/output.js.map +1 -0
  50. package/utilities.d.ts +4 -0
  51. package/utilities.js +69 -0
  52. package/utilities.js.map +1 -0
@@ -0,0 +1,589 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ export declare namespace client {
4
+ interface ConfigurationClientConfiguration {
5
+ /**
6
+ * The client CA certificate
7
+ */
8
+ caCertificate: string;
9
+ /**
10
+ * The client certificate
11
+ */
12
+ clientCertificate: string;
13
+ /**
14
+ * The client key
15
+ */
16
+ clientKey: string;
17
+ }
18
+ interface ConfigurationClientConfigurationArgs {
19
+ /**
20
+ * The client CA certificate
21
+ */
22
+ caCertificate: pulumi.Input<string>;
23
+ /**
24
+ * The client certificate
25
+ */
26
+ clientCertificate: pulumi.Input<string>;
27
+ /**
28
+ * The client key
29
+ */
30
+ clientKey: pulumi.Input<string>;
31
+ }
32
+ }
33
+ export declare namespace cluster {
34
+ interface KubeconfigClientConfiguration {
35
+ /**
36
+ * The client CA certificate
37
+ */
38
+ caCertificate: string;
39
+ /**
40
+ * The client certificate
41
+ */
42
+ clientCertificate: string;
43
+ /**
44
+ * The client key
45
+ */
46
+ clientKey: string;
47
+ }
48
+ interface KubeconfigClientConfigurationArgs {
49
+ /**
50
+ * The client CA certificate
51
+ */
52
+ caCertificate: pulumi.Input<string>;
53
+ /**
54
+ * The client certificate
55
+ */
56
+ clientCertificate: pulumi.Input<string>;
57
+ /**
58
+ * The client key
59
+ */
60
+ clientKey: pulumi.Input<string>;
61
+ }
62
+ interface KubeconfigTimeouts {
63
+ /**
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
+ */
66
+ read?: string;
67
+ }
68
+ interface KubeconfigTimeoutsArgs {
69
+ /**
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
+ */
72
+ read?: pulumi.Input<string>;
73
+ }
74
+ }
75
+ export declare namespace machine {
76
+ interface BootstrapClientConfiguration {
77
+ /**
78
+ * The client CA certificate
79
+ */
80
+ caCertificate: pulumi.Input<string>;
81
+ /**
82
+ * The client certificate
83
+ */
84
+ clientCertificate: pulumi.Input<string>;
85
+ /**
86
+ * The client key
87
+ */
88
+ clientKey: pulumi.Input<string>;
89
+ }
90
+ interface BootstrapTimeouts {
91
+ /**
92
+ * 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).
93
+ */
94
+ create?: pulumi.Input<string>;
95
+ }
96
+ interface ConfigurationApplyClientConfiguration {
97
+ /**
98
+ * The client CA certificate
99
+ */
100
+ caCertificate: pulumi.Input<string>;
101
+ /**
102
+ * The client certificate
103
+ */
104
+ clientCertificate: pulumi.Input<string>;
105
+ /**
106
+ * The client key
107
+ */
108
+ clientKey: pulumi.Input<string>;
109
+ }
110
+ interface ConfigurationMachineSecrets {
111
+ /**
112
+ * The certs for the talos kubernetes cluster
113
+ */
114
+ certs: inputs.machine.ConfigurationMachineSecretsCerts;
115
+ /**
116
+ * The cluster secrets
117
+ */
118
+ cluster: inputs.machine.ConfigurationMachineSecretsCluster;
119
+ /**
120
+ * The secrets for the talos kubernetes cluster
121
+ */
122
+ secrets: inputs.machine.ConfigurationMachineSecretsSecrets;
123
+ /**
124
+ * The trustd info for the talos kubernetes cluster
125
+ */
126
+ trustdinfo: inputs.machine.ConfigurationMachineSecretsTrustdinfo;
127
+ }
128
+ interface ConfigurationMachineSecretsArgs {
129
+ /**
130
+ * The certs for the talos kubernetes cluster
131
+ */
132
+ certs: pulumi.Input<inputs.machine.ConfigurationMachineSecretsCertsArgs>;
133
+ /**
134
+ * The cluster secrets
135
+ */
136
+ cluster: pulumi.Input<inputs.machine.ConfigurationMachineSecretsClusterArgs>;
137
+ /**
138
+ * The secrets for the talos kubernetes cluster
139
+ */
140
+ secrets: pulumi.Input<inputs.machine.ConfigurationMachineSecretsSecretsArgs>;
141
+ /**
142
+ * The trustd info for the talos kubernetes cluster
143
+ */
144
+ trustdinfo: pulumi.Input<inputs.machine.ConfigurationMachineSecretsTrustdinfoArgs>;
145
+ }
146
+ interface ConfigurationMachineSecretsCerts {
147
+ /**
148
+ * The certificate and key pair
149
+ */
150
+ etcd: inputs.machine.ConfigurationMachineSecretsCertsEtcd;
151
+ /**
152
+ * The certificate and key pair
153
+ */
154
+ k8s: inputs.machine.ConfigurationMachineSecretsCertsK8s;
155
+ /**
156
+ * The certificate and key pair
157
+ */
158
+ k8sAggregator: inputs.machine.ConfigurationMachineSecretsCertsK8sAggregator;
159
+ k8sServiceaccount: inputs.machine.ConfigurationMachineSecretsCertsK8sServiceaccount;
160
+ /**
161
+ * The certificate and key pair
162
+ */
163
+ os: inputs.machine.ConfigurationMachineSecretsCertsOs;
164
+ }
165
+ interface ConfigurationMachineSecretsCertsArgs {
166
+ /**
167
+ * The certificate and key pair
168
+ */
169
+ etcd: pulumi.Input<inputs.machine.ConfigurationMachineSecretsCertsEtcdArgs>;
170
+ /**
171
+ * The certificate and key pair
172
+ */
173
+ k8s: pulumi.Input<inputs.machine.ConfigurationMachineSecretsCertsK8sArgs>;
174
+ /**
175
+ * The certificate and key pair
176
+ */
177
+ k8sAggregator: pulumi.Input<inputs.machine.ConfigurationMachineSecretsCertsK8sAggregatorArgs>;
178
+ k8sServiceaccount: pulumi.Input<inputs.machine.ConfigurationMachineSecretsCertsK8sServiceaccountArgs>;
179
+ /**
180
+ * The certificate and key pair
181
+ */
182
+ os: pulumi.Input<inputs.machine.ConfigurationMachineSecretsCertsOsArgs>;
183
+ }
184
+ interface ConfigurationMachineSecretsCertsEtcd {
185
+ /**
186
+ * certificate data
187
+ */
188
+ cert: string;
189
+ /**
190
+ * key data
191
+ */
192
+ key: string;
193
+ }
194
+ interface ConfigurationMachineSecretsCertsEtcdArgs {
195
+ /**
196
+ * certificate data
197
+ */
198
+ cert: pulumi.Input<string>;
199
+ /**
200
+ * key data
201
+ */
202
+ key: pulumi.Input<string>;
203
+ }
204
+ interface ConfigurationMachineSecretsCertsK8s {
205
+ /**
206
+ * certificate data
207
+ */
208
+ cert: string;
209
+ /**
210
+ * key data
211
+ */
212
+ key: string;
213
+ }
214
+ interface ConfigurationMachineSecretsCertsK8sArgs {
215
+ /**
216
+ * certificate data
217
+ */
218
+ cert: pulumi.Input<string>;
219
+ /**
220
+ * key data
221
+ */
222
+ key: pulumi.Input<string>;
223
+ }
224
+ interface ConfigurationMachineSecretsCertsK8sAggregator {
225
+ /**
226
+ * certificate data
227
+ */
228
+ cert: string;
229
+ /**
230
+ * key data
231
+ */
232
+ key: string;
233
+ }
234
+ interface ConfigurationMachineSecretsCertsK8sAggregatorArgs {
235
+ /**
236
+ * certificate data
237
+ */
238
+ cert: pulumi.Input<string>;
239
+ /**
240
+ * key data
241
+ */
242
+ key: pulumi.Input<string>;
243
+ }
244
+ interface ConfigurationMachineSecretsCertsK8sServiceaccount {
245
+ /**
246
+ * key data
247
+ */
248
+ key: string;
249
+ }
250
+ interface ConfigurationMachineSecretsCertsK8sServiceaccountArgs {
251
+ /**
252
+ * key data
253
+ */
254
+ key: pulumi.Input<string>;
255
+ }
256
+ interface ConfigurationMachineSecretsCertsOs {
257
+ /**
258
+ * certificate data
259
+ */
260
+ cert: string;
261
+ /**
262
+ * key data
263
+ */
264
+ key: string;
265
+ }
266
+ interface ConfigurationMachineSecretsCertsOsArgs {
267
+ /**
268
+ * certificate data
269
+ */
270
+ cert: pulumi.Input<string>;
271
+ /**
272
+ * key data
273
+ */
274
+ key: pulumi.Input<string>;
275
+ }
276
+ interface ConfigurationMachineSecretsCluster {
277
+ /**
278
+ * The cluster id
279
+ */
280
+ id: string;
281
+ /**
282
+ * The cluster secret
283
+ */
284
+ secret: string;
285
+ }
286
+ interface ConfigurationMachineSecretsClusterArgs {
287
+ /**
288
+ * The cluster id
289
+ */
290
+ id: pulumi.Input<string>;
291
+ /**
292
+ * The cluster secret
293
+ */
294
+ secret: pulumi.Input<string>;
295
+ }
296
+ interface ConfigurationMachineSecretsSecrets {
297
+ /**
298
+ * The aescbc encryption secret for the talos kubernetes cluster
299
+ */
300
+ aescbcEncryptionSecret?: string;
301
+ /**
302
+ * The bootstrap token for the talos kubernetes cluster
303
+ */
304
+ bootstrapToken: string;
305
+ /**
306
+ * The secretbox encryption secret for the talos kubernetes cluster
307
+ */
308
+ secretboxEncryptionSecret: string;
309
+ }
310
+ interface ConfigurationMachineSecretsSecretsArgs {
311
+ /**
312
+ * The aescbc encryption secret for the talos kubernetes cluster
313
+ */
314
+ aescbcEncryptionSecret?: pulumi.Input<string>;
315
+ /**
316
+ * The bootstrap token for the talos kubernetes cluster
317
+ */
318
+ bootstrapToken: pulumi.Input<string>;
319
+ /**
320
+ * The secretbox encryption secret for the talos kubernetes cluster
321
+ */
322
+ secretboxEncryptionSecret: pulumi.Input<string>;
323
+ }
324
+ interface ConfigurationMachineSecretsTrustdinfo {
325
+ /**
326
+ * The trustd token for the talos kubernetes cluster
327
+ */
328
+ token: string;
329
+ }
330
+ interface ConfigurationMachineSecretsTrustdinfoArgs {
331
+ /**
332
+ * The trustd token for the talos kubernetes cluster
333
+ */
334
+ token: pulumi.Input<string>;
335
+ }
336
+ interface DisksClientConfiguration {
337
+ /**
338
+ * The client CA certificate
339
+ */
340
+ caCertificate: string;
341
+ /**
342
+ * The client certificate
343
+ */
344
+ clientCertificate: string;
345
+ /**
346
+ * The client key
347
+ */
348
+ clientKey: string;
349
+ }
350
+ interface DisksClientConfigurationArgs {
351
+ /**
352
+ * The client CA certificate
353
+ */
354
+ caCertificate: pulumi.Input<string>;
355
+ /**
356
+ * The client certificate
357
+ */
358
+ clientCertificate: pulumi.Input<string>;
359
+ /**
360
+ * The client key
361
+ */
362
+ clientKey: pulumi.Input<string>;
363
+ }
364
+ interface DisksFilters {
365
+ /**
366
+ * Filter disks by bus path
367
+ */
368
+ busPath?: string;
369
+ /**
370
+ * Filter disks by modalias
371
+ */
372
+ modalias?: string;
373
+ /**
374
+ * Filter disks by model
375
+ */
376
+ model?: string;
377
+ /**
378
+ * Filter disks by name
379
+ */
380
+ name?: string;
381
+ /**
382
+ * Filter disks by serial number
383
+ */
384
+ serial?: string;
385
+ /**
386
+ * Filter disks by size
387
+ */
388
+ size?: string;
389
+ /**
390
+ * Filter disks by type
391
+ */
392
+ type?: string;
393
+ /**
394
+ * Filter disks by uuid
395
+ */
396
+ uuid?: string;
397
+ /**
398
+ * Filter disks by wwid
399
+ */
400
+ wwid?: string;
401
+ }
402
+ interface DisksFiltersArgs {
403
+ /**
404
+ * Filter disks by bus path
405
+ */
406
+ busPath?: pulumi.Input<string>;
407
+ /**
408
+ * Filter disks by modalias
409
+ */
410
+ modalias?: pulumi.Input<string>;
411
+ /**
412
+ * Filter disks by model
413
+ */
414
+ model?: pulumi.Input<string>;
415
+ /**
416
+ * Filter disks by name
417
+ */
418
+ name?: pulumi.Input<string>;
419
+ /**
420
+ * Filter disks by serial number
421
+ */
422
+ serial?: pulumi.Input<string>;
423
+ /**
424
+ * Filter disks by size
425
+ */
426
+ size?: pulumi.Input<string>;
427
+ /**
428
+ * Filter disks by type
429
+ */
430
+ type?: pulumi.Input<string>;
431
+ /**
432
+ * Filter disks by uuid
433
+ */
434
+ uuid?: pulumi.Input<string>;
435
+ /**
436
+ * Filter disks by wwid
437
+ */
438
+ wwid?: pulumi.Input<string>;
439
+ }
440
+ interface DisksTimeouts {
441
+ /**
442
+ * 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.
443
+ */
444
+ read?: string;
445
+ }
446
+ interface DisksTimeoutsArgs {
447
+ /**
448
+ * 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.
449
+ */
450
+ read?: pulumi.Input<string>;
451
+ }
452
+ interface SecretsClientConfiguration {
453
+ /**
454
+ * The client CA certificate
455
+ */
456
+ caCertificate?: pulumi.Input<string>;
457
+ /**
458
+ * The client certificate
459
+ */
460
+ clientCertificate?: pulumi.Input<string>;
461
+ /**
462
+ * The client key
463
+ */
464
+ clientKey?: pulumi.Input<string>;
465
+ }
466
+ interface SecretsMachineSecrets {
467
+ certs?: pulumi.Input<inputs.machine.SecretsMachineSecretsCerts>;
468
+ /**
469
+ * The cluster secrets
470
+ */
471
+ cluster?: pulumi.Input<inputs.machine.SecretsMachineSecretsCluster>;
472
+ /**
473
+ * kubernetes cluster secrets
474
+ */
475
+ secrets?: pulumi.Input<inputs.machine.SecretsMachineSecretsSecrets>;
476
+ /**
477
+ * trustd secrets
478
+ */
479
+ trustdinfo?: pulumi.Input<inputs.machine.SecretsMachineSecretsTrustdinfo>;
480
+ }
481
+ interface SecretsMachineSecretsCerts {
482
+ /**
483
+ * The certificate and key pair
484
+ */
485
+ etcd?: pulumi.Input<inputs.machine.SecretsMachineSecretsCertsEtcd>;
486
+ /**
487
+ * The certificate and key pair
488
+ */
489
+ k8s?: pulumi.Input<inputs.machine.SecretsMachineSecretsCertsK8s>;
490
+ /**
491
+ * The certificate and key pair
492
+ */
493
+ k8sAggregator?: pulumi.Input<inputs.machine.SecretsMachineSecretsCertsK8sAggregator>;
494
+ /**
495
+ * The service account secrets
496
+ */
497
+ k8sServiceaccount?: pulumi.Input<inputs.machine.SecretsMachineSecretsCertsK8sServiceaccount>;
498
+ /**
499
+ * The certificate and key pair
500
+ */
501
+ os?: pulumi.Input<inputs.machine.SecretsMachineSecretsCertsOs>;
502
+ }
503
+ interface SecretsMachineSecretsCertsEtcd {
504
+ /**
505
+ * certificate data
506
+ */
507
+ cert?: pulumi.Input<string>;
508
+ /**
509
+ * key data
510
+ */
511
+ key?: pulumi.Input<string>;
512
+ }
513
+ interface SecretsMachineSecretsCertsK8s {
514
+ /**
515
+ * certificate data
516
+ */
517
+ cert?: pulumi.Input<string>;
518
+ /**
519
+ * key data
520
+ */
521
+ key?: pulumi.Input<string>;
522
+ }
523
+ interface SecretsMachineSecretsCertsK8sAggregator {
524
+ /**
525
+ * certificate data
526
+ */
527
+ cert?: pulumi.Input<string>;
528
+ /**
529
+ * key data
530
+ */
531
+ key?: pulumi.Input<string>;
532
+ }
533
+ interface SecretsMachineSecretsCertsK8sServiceaccount {
534
+ /**
535
+ * key data
536
+ */
537
+ key?: pulumi.Input<string>;
538
+ }
539
+ interface SecretsMachineSecretsCertsOs {
540
+ /**
541
+ * certificate data
542
+ */
543
+ cert?: pulumi.Input<string>;
544
+ /**
545
+ * key data
546
+ */
547
+ key?: pulumi.Input<string>;
548
+ }
549
+ interface SecretsMachineSecretsCluster {
550
+ /**
551
+ * The cluster ID
552
+ */
553
+ id?: pulumi.Input<string>;
554
+ /**
555
+ * The cluster secret
556
+ */
557
+ secret?: pulumi.Input<string>;
558
+ }
559
+ interface SecretsMachineSecretsSecrets {
560
+ /**
561
+ * The AES-CBC encryption secret
562
+ */
563
+ aescbcEncryptionSecret?: pulumi.Input<string>;
564
+ /**
565
+ * The bootstrap token
566
+ */
567
+ bootstrapToken?: pulumi.Input<string>;
568
+ /**
569
+ * The secretbox encryption secret
570
+ */
571
+ secretboxEncryptionSecret?: pulumi.Input<string>;
572
+ }
573
+ interface SecretsMachineSecretsTrustdinfo {
574
+ /**
575
+ * The trustd token
576
+ */
577
+ token?: pulumi.Input<string>;
578
+ }
579
+ interface Timeout {
580
+ /**
581
+ * 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).
582
+ */
583
+ create?: pulumi.Input<string>;
584
+ /**
585
+ * 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).
586
+ */
587
+ update?: pulumi.Input<string>;
588
+ }
589
+ }
package/types/input.js ADDED
@@ -0,0 +1,5 @@
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
+ //# sourceMappingURL=input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF"}