@kustodian/schema 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cluster.d.ts +1032 -68
- package/dist/cluster.d.ts.map +1 -1
- package/dist/common.d.ts +204 -20
- package/dist/common.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +86 -6
- package/dist/project.d.ts +168 -0
- package/dist/project.d.ts.map +1 -0
- package/dist/template.d.ts +153 -72
- package/dist/template.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/cluster.d.ts
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
/**
|
|
3
3
|
* Git repository configuration for a cluster.
|
|
4
|
+
*
|
|
5
|
+
* This configuration is used for SOURCE METADATA ONLY - to track which git repository
|
|
6
|
+
* and commit the deployment artifacts came from. Flux does NOT watch this git repository.
|
|
7
|
+
*
|
|
8
|
+
* When you run `kustodian apply`, it:
|
|
9
|
+
* 1. Reads this git config to determine the source repository
|
|
10
|
+
* 2. Gets the current git commit SHA
|
|
11
|
+
* 3. Pushes an OCI artifact with this metadata attached
|
|
12
|
+
*
|
|
13
|
+
* For actual deployment, Flux watches the OCI registry (spec.oci), not the git branch.
|
|
14
|
+
* Changes must be pushed via `kustodian apply` to trigger deployments.
|
|
4
15
|
*/
|
|
5
16
|
export declare const git_config_schema: z.ZodObject<{
|
|
6
17
|
owner: z.ZodString;
|
|
@@ -21,6 +32,17 @@ export declare const git_config_schema: z.ZodObject<{
|
|
|
21
32
|
export type GitConfigType = z.infer<typeof git_config_schema>;
|
|
22
33
|
/**
|
|
23
34
|
* OCI repository configuration for a cluster.
|
|
35
|
+
*
|
|
36
|
+
* This is the DEPLOYMENT MECHANISM - Flux watches this OCI registry for artifacts.
|
|
37
|
+
*
|
|
38
|
+
* When you run `kustodian apply`, it:
|
|
39
|
+
* 1. Generates Flux manifests locally
|
|
40
|
+
* 2. Pushes them as an OCI artifact to this registry (with git metadata attached)
|
|
41
|
+
* 3. Creates/updates Flux OCIRepository and Kustomization resources in the cluster
|
|
42
|
+
* 4. Flux polls this OCI registry and deploys when new artifacts appear
|
|
43
|
+
*
|
|
44
|
+
* Changes pushed to the git branch do NOT automatically trigger deployments.
|
|
45
|
+
* You must run `kustodian apply` to push artifacts to OCI and trigger reconciliation.
|
|
24
46
|
*/
|
|
25
47
|
export declare const oci_config_schema: z.ZodObject<{
|
|
26
48
|
registry: z.ZodString;
|
|
@@ -225,12 +247,33 @@ export declare const bootstrap_credential_schema: z.ZodDiscriminatedUnion<"type"
|
|
|
225
247
|
config: string;
|
|
226
248
|
}>]>;
|
|
227
249
|
export type BootstrapCredentialType = z.infer<typeof bootstrap_credential_schema>;
|
|
250
|
+
/**
|
|
251
|
+
* Cluster secret configuration for bootstrapping secrets into the cluster.
|
|
252
|
+
* Used by external-secrets operator to access secret providers.
|
|
253
|
+
*/
|
|
254
|
+
export declare const cluster_secret_config_schema: z.ZodObject<{
|
|
255
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
256
|
+
namespace: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
257
|
+
name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
258
|
+
key: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
259
|
+
}, "strip", z.ZodTypeAny, {
|
|
260
|
+
name: string;
|
|
261
|
+
namespace: string;
|
|
262
|
+
key: string;
|
|
263
|
+
enabled: boolean;
|
|
264
|
+
}, {
|
|
265
|
+
name?: string | undefined;
|
|
266
|
+
namespace?: string | undefined;
|
|
267
|
+
key?: string | undefined;
|
|
268
|
+
enabled?: boolean | undefined;
|
|
269
|
+
}>;
|
|
270
|
+
export type ClusterSecretConfigType = z.infer<typeof cluster_secret_config_schema>;
|
|
228
271
|
/**
|
|
229
272
|
* Doppler secret provider configuration at cluster level.
|
|
230
273
|
*/
|
|
231
274
|
export declare const doppler_config_schema: z.ZodObject<{
|
|
232
|
-
project: z.ZodString
|
|
233
|
-
config: z.ZodString
|
|
275
|
+
project: z.ZodOptional<z.ZodString>;
|
|
276
|
+
config: z.ZodOptional<z.ZodString>;
|
|
234
277
|
service_token: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
235
278
|
type: z.ZodLiteral<"1password">;
|
|
236
279
|
ref: z.ZodString;
|
|
@@ -256,9 +299,25 @@ export declare const doppler_config_schema: z.ZodObject<{
|
|
|
256
299
|
project: string;
|
|
257
300
|
config: string;
|
|
258
301
|
}>]>>;
|
|
302
|
+
cluster_secret: z.ZodOptional<z.ZodObject<{
|
|
303
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
304
|
+
namespace: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
305
|
+
name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
306
|
+
key: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
307
|
+
}, "strip", z.ZodTypeAny, {
|
|
308
|
+
name: string;
|
|
309
|
+
namespace: string;
|
|
310
|
+
key: string;
|
|
311
|
+
enabled: boolean;
|
|
312
|
+
}, {
|
|
313
|
+
name?: string | undefined;
|
|
314
|
+
namespace?: string | undefined;
|
|
315
|
+
key?: string | undefined;
|
|
316
|
+
enabled?: boolean | undefined;
|
|
317
|
+
}>>;
|
|
259
318
|
}, "strip", z.ZodTypeAny, {
|
|
260
|
-
project
|
|
261
|
-
config
|
|
319
|
+
project?: string | undefined;
|
|
320
|
+
config?: string | undefined;
|
|
262
321
|
service_token?: {
|
|
263
322
|
type: "1password";
|
|
264
323
|
ref: string;
|
|
@@ -268,9 +327,15 @@ export declare const doppler_config_schema: z.ZodObject<{
|
|
|
268
327
|
project: string;
|
|
269
328
|
config: string;
|
|
270
329
|
} | undefined;
|
|
330
|
+
cluster_secret?: {
|
|
331
|
+
name: string;
|
|
332
|
+
namespace: string;
|
|
333
|
+
key: string;
|
|
334
|
+
enabled: boolean;
|
|
335
|
+
} | undefined;
|
|
271
336
|
}, {
|
|
272
|
-
project
|
|
273
|
-
config
|
|
337
|
+
project?: string | undefined;
|
|
338
|
+
config?: string | undefined;
|
|
274
339
|
service_token?: {
|
|
275
340
|
type: "1password";
|
|
276
341
|
ref: string;
|
|
@@ -280,6 +345,12 @@ export declare const doppler_config_schema: z.ZodObject<{
|
|
|
280
345
|
project: string;
|
|
281
346
|
config: string;
|
|
282
347
|
} | undefined;
|
|
348
|
+
cluster_secret?: {
|
|
349
|
+
name?: string | undefined;
|
|
350
|
+
namespace?: string | undefined;
|
|
351
|
+
key?: string | undefined;
|
|
352
|
+
enabled?: boolean | undefined;
|
|
353
|
+
} | undefined;
|
|
283
354
|
}>;
|
|
284
355
|
export type DopplerConfigType = z.infer<typeof doppler_config_schema>;
|
|
285
356
|
/**
|
|
@@ -341,8 +412,8 @@ export type OnePasswordConfigType = z.infer<typeof onepassword_config_schema>;
|
|
|
341
412
|
*/
|
|
342
413
|
export declare const secrets_config_schema: z.ZodObject<{
|
|
343
414
|
doppler: z.ZodOptional<z.ZodObject<{
|
|
344
|
-
project: z.ZodString
|
|
345
|
-
config: z.ZodString
|
|
415
|
+
project: z.ZodOptional<z.ZodString>;
|
|
416
|
+
config: z.ZodOptional<z.ZodString>;
|
|
346
417
|
service_token: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
347
418
|
type: z.ZodLiteral<"1password">;
|
|
348
419
|
ref: z.ZodString;
|
|
@@ -368,9 +439,25 @@ export declare const secrets_config_schema: z.ZodObject<{
|
|
|
368
439
|
project: string;
|
|
369
440
|
config: string;
|
|
370
441
|
}>]>>;
|
|
442
|
+
cluster_secret: z.ZodOptional<z.ZodObject<{
|
|
443
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
444
|
+
namespace: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
445
|
+
name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
446
|
+
key: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
447
|
+
}, "strip", z.ZodTypeAny, {
|
|
448
|
+
name: string;
|
|
449
|
+
namespace: string;
|
|
450
|
+
key: string;
|
|
451
|
+
enabled: boolean;
|
|
452
|
+
}, {
|
|
453
|
+
name?: string | undefined;
|
|
454
|
+
namespace?: string | undefined;
|
|
455
|
+
key?: string | undefined;
|
|
456
|
+
enabled?: boolean | undefined;
|
|
457
|
+
}>>;
|
|
371
458
|
}, "strip", z.ZodTypeAny, {
|
|
372
|
-
project
|
|
373
|
-
config
|
|
459
|
+
project?: string | undefined;
|
|
460
|
+
config?: string | undefined;
|
|
374
461
|
service_token?: {
|
|
375
462
|
type: "1password";
|
|
376
463
|
ref: string;
|
|
@@ -380,9 +467,15 @@ export declare const secrets_config_schema: z.ZodObject<{
|
|
|
380
467
|
project: string;
|
|
381
468
|
config: string;
|
|
382
469
|
} | undefined;
|
|
470
|
+
cluster_secret?: {
|
|
471
|
+
name: string;
|
|
472
|
+
namespace: string;
|
|
473
|
+
key: string;
|
|
474
|
+
enabled: boolean;
|
|
475
|
+
} | undefined;
|
|
383
476
|
}, {
|
|
384
|
-
project
|
|
385
|
-
config
|
|
477
|
+
project?: string | undefined;
|
|
478
|
+
config?: string | undefined;
|
|
386
479
|
service_token?: {
|
|
387
480
|
type: "1password";
|
|
388
481
|
ref: string;
|
|
@@ -392,6 +485,12 @@ export declare const secrets_config_schema: z.ZodObject<{
|
|
|
392
485
|
project: string;
|
|
393
486
|
config: string;
|
|
394
487
|
} | undefined;
|
|
488
|
+
cluster_secret?: {
|
|
489
|
+
name?: string | undefined;
|
|
490
|
+
namespace?: string | undefined;
|
|
491
|
+
key?: string | undefined;
|
|
492
|
+
enabled?: boolean | undefined;
|
|
493
|
+
} | undefined;
|
|
395
494
|
}>>;
|
|
396
495
|
onepassword: z.ZodOptional<z.ZodObject<{
|
|
397
496
|
vault: z.ZodString;
|
|
@@ -445,8 +544,8 @@ export declare const secrets_config_schema: z.ZodObject<{
|
|
|
445
544
|
}>>;
|
|
446
545
|
}, "strip", z.ZodTypeAny, {
|
|
447
546
|
doppler?: {
|
|
448
|
-
project
|
|
449
|
-
config
|
|
547
|
+
project?: string | undefined;
|
|
548
|
+
config?: string | undefined;
|
|
450
549
|
service_token?: {
|
|
451
550
|
type: "1password";
|
|
452
551
|
ref: string;
|
|
@@ -456,6 +555,12 @@ export declare const secrets_config_schema: z.ZodObject<{
|
|
|
456
555
|
project: string;
|
|
457
556
|
config: string;
|
|
458
557
|
} | undefined;
|
|
558
|
+
cluster_secret?: {
|
|
559
|
+
name: string;
|
|
560
|
+
namespace: string;
|
|
561
|
+
key: string;
|
|
562
|
+
enabled: boolean;
|
|
563
|
+
} | undefined;
|
|
459
564
|
} | undefined;
|
|
460
565
|
onepassword?: {
|
|
461
566
|
vault: string;
|
|
@@ -471,8 +576,8 @@ export declare const secrets_config_schema: z.ZodObject<{
|
|
|
471
576
|
} | undefined;
|
|
472
577
|
}, {
|
|
473
578
|
doppler?: {
|
|
474
|
-
project
|
|
475
|
-
config
|
|
579
|
+
project?: string | undefined;
|
|
580
|
+
config?: string | undefined;
|
|
476
581
|
service_token?: {
|
|
477
582
|
type: "1password";
|
|
478
583
|
ref: string;
|
|
@@ -482,6 +587,12 @@ export declare const secrets_config_schema: z.ZodObject<{
|
|
|
482
587
|
project: string;
|
|
483
588
|
config: string;
|
|
484
589
|
} | undefined;
|
|
590
|
+
cluster_secret?: {
|
|
591
|
+
name?: string | undefined;
|
|
592
|
+
namespace?: string | undefined;
|
|
593
|
+
key?: string | undefined;
|
|
594
|
+
enabled?: boolean | undefined;
|
|
595
|
+
} | undefined;
|
|
485
596
|
} | undefined;
|
|
486
597
|
onepassword?: {
|
|
487
598
|
vault: string;
|
|
@@ -497,12 +608,238 @@ export declare const secrets_config_schema: z.ZodObject<{
|
|
|
497
608
|
} | undefined;
|
|
498
609
|
}>;
|
|
499
610
|
export type SecretsConfigType = z.infer<typeof secrets_config_schema>;
|
|
611
|
+
/**
|
|
612
|
+
* Flux controller settings that can be applied to individual controllers.
|
|
613
|
+
*/
|
|
614
|
+
export declare const flux_controller_settings_schema: z.ZodObject<{
|
|
615
|
+
concurrent: z.ZodOptional<z.ZodNumber>;
|
|
616
|
+
requeue_dependency: z.ZodOptional<z.ZodString>;
|
|
617
|
+
}, "strip", z.ZodTypeAny, {
|
|
618
|
+
concurrent?: number | undefined;
|
|
619
|
+
requeue_dependency?: string | undefined;
|
|
620
|
+
}, {
|
|
621
|
+
concurrent?: number | undefined;
|
|
622
|
+
requeue_dependency?: string | undefined;
|
|
623
|
+
}>;
|
|
624
|
+
export type FluxControllerSettingsType = z.infer<typeof flux_controller_settings_schema>;
|
|
625
|
+
/**
|
|
626
|
+
* Flux controllers configuration.
|
|
627
|
+
* Settings can be applied globally or per-controller.
|
|
628
|
+
*/
|
|
629
|
+
export declare const flux_controllers_config_schema: z.ZodObject<{
|
|
630
|
+
concurrent: z.ZodOptional<z.ZodNumber>;
|
|
631
|
+
requeue_dependency: z.ZodOptional<z.ZodString>;
|
|
632
|
+
kustomize_controller: z.ZodOptional<z.ZodObject<{
|
|
633
|
+
concurrent: z.ZodOptional<z.ZodNumber>;
|
|
634
|
+
requeue_dependency: z.ZodOptional<z.ZodString>;
|
|
635
|
+
}, "strip", z.ZodTypeAny, {
|
|
636
|
+
concurrent?: number | undefined;
|
|
637
|
+
requeue_dependency?: string | undefined;
|
|
638
|
+
}, {
|
|
639
|
+
concurrent?: number | undefined;
|
|
640
|
+
requeue_dependency?: string | undefined;
|
|
641
|
+
}>>;
|
|
642
|
+
helm_controller: z.ZodOptional<z.ZodObject<{
|
|
643
|
+
concurrent: z.ZodOptional<z.ZodNumber>;
|
|
644
|
+
requeue_dependency: z.ZodOptional<z.ZodString>;
|
|
645
|
+
}, "strip", z.ZodTypeAny, {
|
|
646
|
+
concurrent?: number | undefined;
|
|
647
|
+
requeue_dependency?: string | undefined;
|
|
648
|
+
}, {
|
|
649
|
+
concurrent?: number | undefined;
|
|
650
|
+
requeue_dependency?: string | undefined;
|
|
651
|
+
}>>;
|
|
652
|
+
source_controller: z.ZodOptional<z.ZodObject<{
|
|
653
|
+
concurrent: z.ZodOptional<z.ZodNumber>;
|
|
654
|
+
requeue_dependency: z.ZodOptional<z.ZodString>;
|
|
655
|
+
}, "strip", z.ZodTypeAny, {
|
|
656
|
+
concurrent?: number | undefined;
|
|
657
|
+
requeue_dependency?: string | undefined;
|
|
658
|
+
}, {
|
|
659
|
+
concurrent?: number | undefined;
|
|
660
|
+
requeue_dependency?: string | undefined;
|
|
661
|
+
}>>;
|
|
662
|
+
}, "strip", z.ZodTypeAny, {
|
|
663
|
+
concurrent?: number | undefined;
|
|
664
|
+
requeue_dependency?: string | undefined;
|
|
665
|
+
kustomize_controller?: {
|
|
666
|
+
concurrent?: number | undefined;
|
|
667
|
+
requeue_dependency?: string | undefined;
|
|
668
|
+
} | undefined;
|
|
669
|
+
helm_controller?: {
|
|
670
|
+
concurrent?: number | undefined;
|
|
671
|
+
requeue_dependency?: string | undefined;
|
|
672
|
+
} | undefined;
|
|
673
|
+
source_controller?: {
|
|
674
|
+
concurrent?: number | undefined;
|
|
675
|
+
requeue_dependency?: string | undefined;
|
|
676
|
+
} | undefined;
|
|
677
|
+
}, {
|
|
678
|
+
concurrent?: number | undefined;
|
|
679
|
+
requeue_dependency?: string | undefined;
|
|
680
|
+
kustomize_controller?: {
|
|
681
|
+
concurrent?: number | undefined;
|
|
682
|
+
requeue_dependency?: string | undefined;
|
|
683
|
+
} | undefined;
|
|
684
|
+
helm_controller?: {
|
|
685
|
+
concurrent?: number | undefined;
|
|
686
|
+
requeue_dependency?: string | undefined;
|
|
687
|
+
} | undefined;
|
|
688
|
+
source_controller?: {
|
|
689
|
+
concurrent?: number | undefined;
|
|
690
|
+
requeue_dependency?: string | undefined;
|
|
691
|
+
} | undefined;
|
|
692
|
+
}>;
|
|
693
|
+
export type FluxControllersConfigType = z.infer<typeof flux_controllers_config_schema>;
|
|
694
|
+
/**
|
|
695
|
+
* Flux system configuration at cluster level.
|
|
696
|
+
*/
|
|
697
|
+
export declare const flux_config_schema: z.ZodObject<{
|
|
698
|
+
controllers: z.ZodOptional<z.ZodObject<{
|
|
699
|
+
concurrent: z.ZodOptional<z.ZodNumber>;
|
|
700
|
+
requeue_dependency: z.ZodOptional<z.ZodString>;
|
|
701
|
+
kustomize_controller: z.ZodOptional<z.ZodObject<{
|
|
702
|
+
concurrent: z.ZodOptional<z.ZodNumber>;
|
|
703
|
+
requeue_dependency: z.ZodOptional<z.ZodString>;
|
|
704
|
+
}, "strip", z.ZodTypeAny, {
|
|
705
|
+
concurrent?: number | undefined;
|
|
706
|
+
requeue_dependency?: string | undefined;
|
|
707
|
+
}, {
|
|
708
|
+
concurrent?: number | undefined;
|
|
709
|
+
requeue_dependency?: string | undefined;
|
|
710
|
+
}>>;
|
|
711
|
+
helm_controller: z.ZodOptional<z.ZodObject<{
|
|
712
|
+
concurrent: z.ZodOptional<z.ZodNumber>;
|
|
713
|
+
requeue_dependency: z.ZodOptional<z.ZodString>;
|
|
714
|
+
}, "strip", z.ZodTypeAny, {
|
|
715
|
+
concurrent?: number | undefined;
|
|
716
|
+
requeue_dependency?: string | undefined;
|
|
717
|
+
}, {
|
|
718
|
+
concurrent?: number | undefined;
|
|
719
|
+
requeue_dependency?: string | undefined;
|
|
720
|
+
}>>;
|
|
721
|
+
source_controller: z.ZodOptional<z.ZodObject<{
|
|
722
|
+
concurrent: z.ZodOptional<z.ZodNumber>;
|
|
723
|
+
requeue_dependency: z.ZodOptional<z.ZodString>;
|
|
724
|
+
}, "strip", z.ZodTypeAny, {
|
|
725
|
+
concurrent?: number | undefined;
|
|
726
|
+
requeue_dependency?: string | undefined;
|
|
727
|
+
}, {
|
|
728
|
+
concurrent?: number | undefined;
|
|
729
|
+
requeue_dependency?: string | undefined;
|
|
730
|
+
}>>;
|
|
731
|
+
}, "strip", z.ZodTypeAny, {
|
|
732
|
+
concurrent?: number | undefined;
|
|
733
|
+
requeue_dependency?: string | undefined;
|
|
734
|
+
kustomize_controller?: {
|
|
735
|
+
concurrent?: number | undefined;
|
|
736
|
+
requeue_dependency?: string | undefined;
|
|
737
|
+
} | undefined;
|
|
738
|
+
helm_controller?: {
|
|
739
|
+
concurrent?: number | undefined;
|
|
740
|
+
requeue_dependency?: string | undefined;
|
|
741
|
+
} | undefined;
|
|
742
|
+
source_controller?: {
|
|
743
|
+
concurrent?: number | undefined;
|
|
744
|
+
requeue_dependency?: string | undefined;
|
|
745
|
+
} | undefined;
|
|
746
|
+
}, {
|
|
747
|
+
concurrent?: number | undefined;
|
|
748
|
+
requeue_dependency?: string | undefined;
|
|
749
|
+
kustomize_controller?: {
|
|
750
|
+
concurrent?: number | undefined;
|
|
751
|
+
requeue_dependency?: string | undefined;
|
|
752
|
+
} | undefined;
|
|
753
|
+
helm_controller?: {
|
|
754
|
+
concurrent?: number | undefined;
|
|
755
|
+
requeue_dependency?: string | undefined;
|
|
756
|
+
} | undefined;
|
|
757
|
+
source_controller?: {
|
|
758
|
+
concurrent?: number | undefined;
|
|
759
|
+
requeue_dependency?: string | undefined;
|
|
760
|
+
} | undefined;
|
|
761
|
+
}>>;
|
|
762
|
+
}, "strip", z.ZodTypeAny, {
|
|
763
|
+
controllers?: {
|
|
764
|
+
concurrent?: number | undefined;
|
|
765
|
+
requeue_dependency?: string | undefined;
|
|
766
|
+
kustomize_controller?: {
|
|
767
|
+
concurrent?: number | undefined;
|
|
768
|
+
requeue_dependency?: string | undefined;
|
|
769
|
+
} | undefined;
|
|
770
|
+
helm_controller?: {
|
|
771
|
+
concurrent?: number | undefined;
|
|
772
|
+
requeue_dependency?: string | undefined;
|
|
773
|
+
} | undefined;
|
|
774
|
+
source_controller?: {
|
|
775
|
+
concurrent?: number | undefined;
|
|
776
|
+
requeue_dependency?: string | undefined;
|
|
777
|
+
} | undefined;
|
|
778
|
+
} | undefined;
|
|
779
|
+
}, {
|
|
780
|
+
controllers?: {
|
|
781
|
+
concurrent?: number | undefined;
|
|
782
|
+
requeue_dependency?: string | undefined;
|
|
783
|
+
kustomize_controller?: {
|
|
784
|
+
concurrent?: number | undefined;
|
|
785
|
+
requeue_dependency?: string | undefined;
|
|
786
|
+
} | undefined;
|
|
787
|
+
helm_controller?: {
|
|
788
|
+
concurrent?: number | undefined;
|
|
789
|
+
requeue_dependency?: string | undefined;
|
|
790
|
+
} | undefined;
|
|
791
|
+
source_controller?: {
|
|
792
|
+
concurrent?: number | undefined;
|
|
793
|
+
requeue_dependency?: string | undefined;
|
|
794
|
+
} | undefined;
|
|
795
|
+
} | undefined;
|
|
796
|
+
}>;
|
|
797
|
+
export type FluxConfigType = z.infer<typeof flux_config_schema>;
|
|
798
|
+
/**
|
|
799
|
+
* Cluster-level defaults that override project defaults.
|
|
800
|
+
* All values are optional - fallback to project defaults, then schema defaults.
|
|
801
|
+
*/
|
|
802
|
+
export declare const defaults_config_schema: z.ZodObject<{
|
|
803
|
+
/** Flux system namespace where Flux controllers run */
|
|
804
|
+
flux_namespace: z.ZodOptional<z.ZodString>;
|
|
805
|
+
/** Flux OCIRepository resource name */
|
|
806
|
+
oci_repository_name: z.ZodOptional<z.ZodString>;
|
|
807
|
+
/** Secret name for OCI registry authentication */
|
|
808
|
+
oci_registry_secret_name: z.ZodOptional<z.ZodString>;
|
|
809
|
+
/** Reconciliation interval for Flux resources */
|
|
810
|
+
flux_reconciliation_interval: z.ZodOptional<z.ZodString>;
|
|
811
|
+
/** Timeout for Flux reconciliation */
|
|
812
|
+
flux_reconciliation_timeout: z.ZodOptional<z.ZodString>;
|
|
813
|
+
}, "strip", z.ZodTypeAny, {
|
|
814
|
+
flux_namespace?: string | undefined;
|
|
815
|
+
oci_repository_name?: string | undefined;
|
|
816
|
+
oci_registry_secret_name?: string | undefined;
|
|
817
|
+
flux_reconciliation_interval?: string | undefined;
|
|
818
|
+
flux_reconciliation_timeout?: string | undefined;
|
|
819
|
+
}, {
|
|
820
|
+
flux_namespace?: string | undefined;
|
|
821
|
+
oci_repository_name?: string | undefined;
|
|
822
|
+
oci_registry_secret_name?: string | undefined;
|
|
823
|
+
flux_reconciliation_interval?: string | undefined;
|
|
824
|
+
flux_reconciliation_timeout?: string | undefined;
|
|
825
|
+
}>;
|
|
826
|
+
export type DefaultsConfigType = z.infer<typeof defaults_config_schema>;
|
|
500
827
|
/**
|
|
501
828
|
* Cluster specification.
|
|
829
|
+
*
|
|
830
|
+
* IMPORTANT: Understanding git vs oci configuration:
|
|
831
|
+
* - `git`: Source metadata only (which repo/commit artifacts came from)
|
|
832
|
+
* - `oci`: Deployment mechanism (where Flux watches for artifacts)
|
|
833
|
+
*
|
|
834
|
+
* Deployment flow:
|
|
835
|
+
* 1. You commit changes to git and merge to main
|
|
836
|
+
* 2. Run `kustodian apply` to push artifacts to OCI with git metadata
|
|
837
|
+
* 3. Flux watches the OCI registry and deploys the artifacts
|
|
838
|
+
*
|
|
839
|
+
* The git branch is NOT watched by Flux - only the OCI registry is.
|
|
502
840
|
*/
|
|
503
841
|
export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
504
842
|
code: z.ZodOptional<z.ZodString>;
|
|
505
|
-
domain: z.ZodString;
|
|
506
843
|
git: z.ZodOptional<z.ZodObject<{
|
|
507
844
|
owner: z.ZodString;
|
|
508
845
|
repository: z.ZodString;
|
|
@@ -557,6 +894,130 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
557
894
|
organization: string;
|
|
558
895
|
branch?: string | undefined;
|
|
559
896
|
}>>;
|
|
897
|
+
flux: z.ZodOptional<z.ZodObject<{
|
|
898
|
+
controllers: z.ZodOptional<z.ZodObject<{
|
|
899
|
+
concurrent: z.ZodOptional<z.ZodNumber>;
|
|
900
|
+
requeue_dependency: z.ZodOptional<z.ZodString>;
|
|
901
|
+
kustomize_controller: z.ZodOptional<z.ZodObject<{
|
|
902
|
+
concurrent: z.ZodOptional<z.ZodNumber>;
|
|
903
|
+
requeue_dependency: z.ZodOptional<z.ZodString>;
|
|
904
|
+
}, "strip", z.ZodTypeAny, {
|
|
905
|
+
concurrent?: number | undefined;
|
|
906
|
+
requeue_dependency?: string | undefined;
|
|
907
|
+
}, {
|
|
908
|
+
concurrent?: number | undefined;
|
|
909
|
+
requeue_dependency?: string | undefined;
|
|
910
|
+
}>>;
|
|
911
|
+
helm_controller: z.ZodOptional<z.ZodObject<{
|
|
912
|
+
concurrent: z.ZodOptional<z.ZodNumber>;
|
|
913
|
+
requeue_dependency: z.ZodOptional<z.ZodString>;
|
|
914
|
+
}, "strip", z.ZodTypeAny, {
|
|
915
|
+
concurrent?: number | undefined;
|
|
916
|
+
requeue_dependency?: string | undefined;
|
|
917
|
+
}, {
|
|
918
|
+
concurrent?: number | undefined;
|
|
919
|
+
requeue_dependency?: string | undefined;
|
|
920
|
+
}>>;
|
|
921
|
+
source_controller: z.ZodOptional<z.ZodObject<{
|
|
922
|
+
concurrent: z.ZodOptional<z.ZodNumber>;
|
|
923
|
+
requeue_dependency: z.ZodOptional<z.ZodString>;
|
|
924
|
+
}, "strip", z.ZodTypeAny, {
|
|
925
|
+
concurrent?: number | undefined;
|
|
926
|
+
requeue_dependency?: string | undefined;
|
|
927
|
+
}, {
|
|
928
|
+
concurrent?: number | undefined;
|
|
929
|
+
requeue_dependency?: string | undefined;
|
|
930
|
+
}>>;
|
|
931
|
+
}, "strip", z.ZodTypeAny, {
|
|
932
|
+
concurrent?: number | undefined;
|
|
933
|
+
requeue_dependency?: string | undefined;
|
|
934
|
+
kustomize_controller?: {
|
|
935
|
+
concurrent?: number | undefined;
|
|
936
|
+
requeue_dependency?: string | undefined;
|
|
937
|
+
} | undefined;
|
|
938
|
+
helm_controller?: {
|
|
939
|
+
concurrent?: number | undefined;
|
|
940
|
+
requeue_dependency?: string | undefined;
|
|
941
|
+
} | undefined;
|
|
942
|
+
source_controller?: {
|
|
943
|
+
concurrent?: number | undefined;
|
|
944
|
+
requeue_dependency?: string | undefined;
|
|
945
|
+
} | undefined;
|
|
946
|
+
}, {
|
|
947
|
+
concurrent?: number | undefined;
|
|
948
|
+
requeue_dependency?: string | undefined;
|
|
949
|
+
kustomize_controller?: {
|
|
950
|
+
concurrent?: number | undefined;
|
|
951
|
+
requeue_dependency?: string | undefined;
|
|
952
|
+
} | undefined;
|
|
953
|
+
helm_controller?: {
|
|
954
|
+
concurrent?: number | undefined;
|
|
955
|
+
requeue_dependency?: string | undefined;
|
|
956
|
+
} | undefined;
|
|
957
|
+
source_controller?: {
|
|
958
|
+
concurrent?: number | undefined;
|
|
959
|
+
requeue_dependency?: string | undefined;
|
|
960
|
+
} | undefined;
|
|
961
|
+
}>>;
|
|
962
|
+
}, "strip", z.ZodTypeAny, {
|
|
963
|
+
controllers?: {
|
|
964
|
+
concurrent?: number | undefined;
|
|
965
|
+
requeue_dependency?: string | undefined;
|
|
966
|
+
kustomize_controller?: {
|
|
967
|
+
concurrent?: number | undefined;
|
|
968
|
+
requeue_dependency?: string | undefined;
|
|
969
|
+
} | undefined;
|
|
970
|
+
helm_controller?: {
|
|
971
|
+
concurrent?: number | undefined;
|
|
972
|
+
requeue_dependency?: string | undefined;
|
|
973
|
+
} | undefined;
|
|
974
|
+
source_controller?: {
|
|
975
|
+
concurrent?: number | undefined;
|
|
976
|
+
requeue_dependency?: string | undefined;
|
|
977
|
+
} | undefined;
|
|
978
|
+
} | undefined;
|
|
979
|
+
}, {
|
|
980
|
+
controllers?: {
|
|
981
|
+
concurrent?: number | undefined;
|
|
982
|
+
requeue_dependency?: string | undefined;
|
|
983
|
+
kustomize_controller?: {
|
|
984
|
+
concurrent?: number | undefined;
|
|
985
|
+
requeue_dependency?: string | undefined;
|
|
986
|
+
} | undefined;
|
|
987
|
+
helm_controller?: {
|
|
988
|
+
concurrent?: number | undefined;
|
|
989
|
+
requeue_dependency?: string | undefined;
|
|
990
|
+
} | undefined;
|
|
991
|
+
source_controller?: {
|
|
992
|
+
concurrent?: number | undefined;
|
|
993
|
+
requeue_dependency?: string | undefined;
|
|
994
|
+
} | undefined;
|
|
995
|
+
} | undefined;
|
|
996
|
+
}>>;
|
|
997
|
+
defaults: z.ZodOptional<z.ZodObject<{
|
|
998
|
+
/** Flux system namespace where Flux controllers run */
|
|
999
|
+
flux_namespace: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
/** Flux OCIRepository resource name */
|
|
1001
|
+
oci_repository_name: z.ZodOptional<z.ZodString>;
|
|
1002
|
+
/** Secret name for OCI registry authentication */
|
|
1003
|
+
oci_registry_secret_name: z.ZodOptional<z.ZodString>;
|
|
1004
|
+
/** Reconciliation interval for Flux resources */
|
|
1005
|
+
flux_reconciliation_interval: z.ZodOptional<z.ZodString>;
|
|
1006
|
+
/** Timeout for Flux reconciliation */
|
|
1007
|
+
flux_reconciliation_timeout: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
}, "strip", z.ZodTypeAny, {
|
|
1009
|
+
flux_namespace?: string | undefined;
|
|
1010
|
+
oci_repository_name?: string | undefined;
|
|
1011
|
+
oci_registry_secret_name?: string | undefined;
|
|
1012
|
+
flux_reconciliation_interval?: string | undefined;
|
|
1013
|
+
flux_reconciliation_timeout?: string | undefined;
|
|
1014
|
+
}, {
|
|
1015
|
+
flux_namespace?: string | undefined;
|
|
1016
|
+
oci_repository_name?: string | undefined;
|
|
1017
|
+
oci_registry_secret_name?: string | undefined;
|
|
1018
|
+
flux_reconciliation_interval?: string | undefined;
|
|
1019
|
+
flux_reconciliation_timeout?: string | undefined;
|
|
1020
|
+
}>>;
|
|
560
1021
|
templates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
561
1022
|
name: z.ZodString;
|
|
562
1023
|
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -649,8 +1110,8 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
649
1110
|
nodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
650
1111
|
secrets: z.ZodOptional<z.ZodObject<{
|
|
651
1112
|
doppler: z.ZodOptional<z.ZodObject<{
|
|
652
|
-
project: z.ZodString
|
|
653
|
-
config: z.ZodString
|
|
1113
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1114
|
+
config: z.ZodOptional<z.ZodString>;
|
|
654
1115
|
service_token: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
655
1116
|
type: z.ZodLiteral<"1password">;
|
|
656
1117
|
ref: z.ZodString;
|
|
@@ -676,9 +1137,25 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
676
1137
|
project: string;
|
|
677
1138
|
config: string;
|
|
678
1139
|
}>]>>;
|
|
1140
|
+
cluster_secret: z.ZodOptional<z.ZodObject<{
|
|
1141
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1142
|
+
namespace: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1143
|
+
name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1144
|
+
key: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1145
|
+
}, "strip", z.ZodTypeAny, {
|
|
1146
|
+
name: string;
|
|
1147
|
+
namespace: string;
|
|
1148
|
+
key: string;
|
|
1149
|
+
enabled: boolean;
|
|
1150
|
+
}, {
|
|
1151
|
+
name?: string | undefined;
|
|
1152
|
+
namespace?: string | undefined;
|
|
1153
|
+
key?: string | undefined;
|
|
1154
|
+
enabled?: boolean | undefined;
|
|
1155
|
+
}>>;
|
|
679
1156
|
}, "strip", z.ZodTypeAny, {
|
|
680
|
-
project
|
|
681
|
-
config
|
|
1157
|
+
project?: string | undefined;
|
|
1158
|
+
config?: string | undefined;
|
|
682
1159
|
service_token?: {
|
|
683
1160
|
type: "1password";
|
|
684
1161
|
ref: string;
|
|
@@ -688,9 +1165,15 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
688
1165
|
project: string;
|
|
689
1166
|
config: string;
|
|
690
1167
|
} | undefined;
|
|
1168
|
+
cluster_secret?: {
|
|
1169
|
+
name: string;
|
|
1170
|
+
namespace: string;
|
|
1171
|
+
key: string;
|
|
1172
|
+
enabled: boolean;
|
|
1173
|
+
} | undefined;
|
|
691
1174
|
}, {
|
|
692
|
-
project
|
|
693
|
-
config
|
|
1175
|
+
project?: string | undefined;
|
|
1176
|
+
config?: string | undefined;
|
|
694
1177
|
service_token?: {
|
|
695
1178
|
type: "1password";
|
|
696
1179
|
ref: string;
|
|
@@ -700,6 +1183,12 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
700
1183
|
project: string;
|
|
701
1184
|
config: string;
|
|
702
1185
|
} | undefined;
|
|
1186
|
+
cluster_secret?: {
|
|
1187
|
+
name?: string | undefined;
|
|
1188
|
+
namespace?: string | undefined;
|
|
1189
|
+
key?: string | undefined;
|
|
1190
|
+
enabled?: boolean | undefined;
|
|
1191
|
+
} | undefined;
|
|
703
1192
|
}>>;
|
|
704
1193
|
onepassword: z.ZodOptional<z.ZodObject<{
|
|
705
1194
|
vault: z.ZodString;
|
|
@@ -753,8 +1242,8 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
753
1242
|
}>>;
|
|
754
1243
|
}, "strip", z.ZodTypeAny, {
|
|
755
1244
|
doppler?: {
|
|
756
|
-
project
|
|
757
|
-
config
|
|
1245
|
+
project?: string | undefined;
|
|
1246
|
+
config?: string | undefined;
|
|
758
1247
|
service_token?: {
|
|
759
1248
|
type: "1password";
|
|
760
1249
|
ref: string;
|
|
@@ -764,6 +1253,12 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
764
1253
|
project: string;
|
|
765
1254
|
config: string;
|
|
766
1255
|
} | undefined;
|
|
1256
|
+
cluster_secret?: {
|
|
1257
|
+
name: string;
|
|
1258
|
+
namespace: string;
|
|
1259
|
+
key: string;
|
|
1260
|
+
enabled: boolean;
|
|
1261
|
+
} | undefined;
|
|
767
1262
|
} | undefined;
|
|
768
1263
|
onepassword?: {
|
|
769
1264
|
vault: string;
|
|
@@ -779,8 +1274,8 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
779
1274
|
} | undefined;
|
|
780
1275
|
}, {
|
|
781
1276
|
doppler?: {
|
|
782
|
-
project
|
|
783
|
-
config
|
|
1277
|
+
project?: string | undefined;
|
|
1278
|
+
config?: string | undefined;
|
|
784
1279
|
service_token?: {
|
|
785
1280
|
type: "1password";
|
|
786
1281
|
ref: string;
|
|
@@ -790,6 +1285,12 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
790
1285
|
project: string;
|
|
791
1286
|
config: string;
|
|
792
1287
|
} | undefined;
|
|
1288
|
+
cluster_secret?: {
|
|
1289
|
+
name?: string | undefined;
|
|
1290
|
+
namespace?: string | undefined;
|
|
1291
|
+
key?: string | undefined;
|
|
1292
|
+
enabled?: boolean | undefined;
|
|
1293
|
+
} | undefined;
|
|
793
1294
|
} | undefined;
|
|
794
1295
|
onepassword?: {
|
|
795
1296
|
vault: string;
|
|
@@ -805,7 +1306,6 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
805
1306
|
} | undefined;
|
|
806
1307
|
}>>;
|
|
807
1308
|
}, "strip", z.ZodTypeAny, {
|
|
808
|
-
domain: string;
|
|
809
1309
|
code?: string | undefined;
|
|
810
1310
|
oci?: {
|
|
811
1311
|
repository: string;
|
|
@@ -827,6 +1327,31 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
827
1327
|
branch: string;
|
|
828
1328
|
organization: string;
|
|
829
1329
|
} | undefined;
|
|
1330
|
+
flux?: {
|
|
1331
|
+
controllers?: {
|
|
1332
|
+
concurrent?: number | undefined;
|
|
1333
|
+
requeue_dependency?: string | undefined;
|
|
1334
|
+
kustomize_controller?: {
|
|
1335
|
+
concurrent?: number | undefined;
|
|
1336
|
+
requeue_dependency?: string | undefined;
|
|
1337
|
+
} | undefined;
|
|
1338
|
+
helm_controller?: {
|
|
1339
|
+
concurrent?: number | undefined;
|
|
1340
|
+
requeue_dependency?: string | undefined;
|
|
1341
|
+
} | undefined;
|
|
1342
|
+
source_controller?: {
|
|
1343
|
+
concurrent?: number | undefined;
|
|
1344
|
+
requeue_dependency?: string | undefined;
|
|
1345
|
+
} | undefined;
|
|
1346
|
+
} | undefined;
|
|
1347
|
+
} | undefined;
|
|
1348
|
+
defaults?: {
|
|
1349
|
+
flux_namespace?: string | undefined;
|
|
1350
|
+
oci_repository_name?: string | undefined;
|
|
1351
|
+
oci_registry_secret_name?: string | undefined;
|
|
1352
|
+
flux_reconciliation_interval?: string | undefined;
|
|
1353
|
+
flux_reconciliation_timeout?: string | undefined;
|
|
1354
|
+
} | undefined;
|
|
830
1355
|
templates?: {
|
|
831
1356
|
name: string;
|
|
832
1357
|
values?: Record<string, string> | undefined;
|
|
@@ -853,8 +1378,8 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
853
1378
|
nodes?: string[] | undefined;
|
|
854
1379
|
secrets?: {
|
|
855
1380
|
doppler?: {
|
|
856
|
-
project
|
|
857
|
-
config
|
|
1381
|
+
project?: string | undefined;
|
|
1382
|
+
config?: string | undefined;
|
|
858
1383
|
service_token?: {
|
|
859
1384
|
type: "1password";
|
|
860
1385
|
ref: string;
|
|
@@ -864,6 +1389,12 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
864
1389
|
project: string;
|
|
865
1390
|
config: string;
|
|
866
1391
|
} | undefined;
|
|
1392
|
+
cluster_secret?: {
|
|
1393
|
+
name: string;
|
|
1394
|
+
namespace: string;
|
|
1395
|
+
key: string;
|
|
1396
|
+
enabled: boolean;
|
|
1397
|
+
} | undefined;
|
|
867
1398
|
} | undefined;
|
|
868
1399
|
onepassword?: {
|
|
869
1400
|
vault: string;
|
|
@@ -879,7 +1410,6 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
879
1410
|
} | undefined;
|
|
880
1411
|
} | undefined;
|
|
881
1412
|
}, {
|
|
882
|
-
domain: string;
|
|
883
1413
|
code?: string | undefined;
|
|
884
1414
|
oci?: {
|
|
885
1415
|
repository: string;
|
|
@@ -901,6 +1431,31 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
901
1431
|
organization: string;
|
|
902
1432
|
branch?: string | undefined;
|
|
903
1433
|
} | undefined;
|
|
1434
|
+
flux?: {
|
|
1435
|
+
controllers?: {
|
|
1436
|
+
concurrent?: number | undefined;
|
|
1437
|
+
requeue_dependency?: string | undefined;
|
|
1438
|
+
kustomize_controller?: {
|
|
1439
|
+
concurrent?: number | undefined;
|
|
1440
|
+
requeue_dependency?: string | undefined;
|
|
1441
|
+
} | undefined;
|
|
1442
|
+
helm_controller?: {
|
|
1443
|
+
concurrent?: number | undefined;
|
|
1444
|
+
requeue_dependency?: string | undefined;
|
|
1445
|
+
} | undefined;
|
|
1446
|
+
source_controller?: {
|
|
1447
|
+
concurrent?: number | undefined;
|
|
1448
|
+
requeue_dependency?: string | undefined;
|
|
1449
|
+
} | undefined;
|
|
1450
|
+
} | undefined;
|
|
1451
|
+
} | undefined;
|
|
1452
|
+
defaults?: {
|
|
1453
|
+
flux_namespace?: string | undefined;
|
|
1454
|
+
oci_repository_name?: string | undefined;
|
|
1455
|
+
oci_registry_secret_name?: string | undefined;
|
|
1456
|
+
flux_reconciliation_interval?: string | undefined;
|
|
1457
|
+
flux_reconciliation_timeout?: string | undefined;
|
|
1458
|
+
} | undefined;
|
|
904
1459
|
templates?: {
|
|
905
1460
|
name: string;
|
|
906
1461
|
values?: Record<string, string> | undefined;
|
|
@@ -927,8 +1482,8 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
927
1482
|
nodes?: string[] | undefined;
|
|
928
1483
|
secrets?: {
|
|
929
1484
|
doppler?: {
|
|
930
|
-
project
|
|
931
|
-
config
|
|
1485
|
+
project?: string | undefined;
|
|
1486
|
+
config?: string | undefined;
|
|
932
1487
|
service_token?: {
|
|
933
1488
|
type: "1password";
|
|
934
1489
|
ref: string;
|
|
@@ -938,6 +1493,12 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
938
1493
|
project: string;
|
|
939
1494
|
config: string;
|
|
940
1495
|
} | undefined;
|
|
1496
|
+
cluster_secret?: {
|
|
1497
|
+
name?: string | undefined;
|
|
1498
|
+
namespace?: string | undefined;
|
|
1499
|
+
key?: string | undefined;
|
|
1500
|
+
enabled?: boolean | undefined;
|
|
1501
|
+
} | undefined;
|
|
941
1502
|
} | undefined;
|
|
942
1503
|
onepassword?: {
|
|
943
1504
|
vault: string;
|
|
@@ -953,7 +1514,6 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
953
1514
|
} | undefined;
|
|
954
1515
|
} | undefined;
|
|
955
1516
|
}>, {
|
|
956
|
-
domain: string;
|
|
957
1517
|
code?: string | undefined;
|
|
958
1518
|
oci?: {
|
|
959
1519
|
repository: string;
|
|
@@ -975,6 +1535,31 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
975
1535
|
branch: string;
|
|
976
1536
|
organization: string;
|
|
977
1537
|
} | undefined;
|
|
1538
|
+
flux?: {
|
|
1539
|
+
controllers?: {
|
|
1540
|
+
concurrent?: number | undefined;
|
|
1541
|
+
requeue_dependency?: string | undefined;
|
|
1542
|
+
kustomize_controller?: {
|
|
1543
|
+
concurrent?: number | undefined;
|
|
1544
|
+
requeue_dependency?: string | undefined;
|
|
1545
|
+
} | undefined;
|
|
1546
|
+
helm_controller?: {
|
|
1547
|
+
concurrent?: number | undefined;
|
|
1548
|
+
requeue_dependency?: string | undefined;
|
|
1549
|
+
} | undefined;
|
|
1550
|
+
source_controller?: {
|
|
1551
|
+
concurrent?: number | undefined;
|
|
1552
|
+
requeue_dependency?: string | undefined;
|
|
1553
|
+
} | undefined;
|
|
1554
|
+
} | undefined;
|
|
1555
|
+
} | undefined;
|
|
1556
|
+
defaults?: {
|
|
1557
|
+
flux_namespace?: string | undefined;
|
|
1558
|
+
oci_repository_name?: string | undefined;
|
|
1559
|
+
oci_registry_secret_name?: string | undefined;
|
|
1560
|
+
flux_reconciliation_interval?: string | undefined;
|
|
1561
|
+
flux_reconciliation_timeout?: string | undefined;
|
|
1562
|
+
} | undefined;
|
|
978
1563
|
templates?: {
|
|
979
1564
|
name: string;
|
|
980
1565
|
values?: Record<string, string> | undefined;
|
|
@@ -1001,8 +1586,8 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
1001
1586
|
nodes?: string[] | undefined;
|
|
1002
1587
|
secrets?: {
|
|
1003
1588
|
doppler?: {
|
|
1004
|
-
project
|
|
1005
|
-
config
|
|
1589
|
+
project?: string | undefined;
|
|
1590
|
+
config?: string | undefined;
|
|
1006
1591
|
service_token?: {
|
|
1007
1592
|
type: "1password";
|
|
1008
1593
|
ref: string;
|
|
@@ -1012,6 +1597,12 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
1012
1597
|
project: string;
|
|
1013
1598
|
config: string;
|
|
1014
1599
|
} | undefined;
|
|
1600
|
+
cluster_secret?: {
|
|
1601
|
+
name: string;
|
|
1602
|
+
namespace: string;
|
|
1603
|
+
key: string;
|
|
1604
|
+
enabled: boolean;
|
|
1605
|
+
} | undefined;
|
|
1015
1606
|
} | undefined;
|
|
1016
1607
|
onepassword?: {
|
|
1017
1608
|
vault: string;
|
|
@@ -1027,7 +1618,6 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
1027
1618
|
} | undefined;
|
|
1028
1619
|
} | undefined;
|
|
1029
1620
|
}, {
|
|
1030
|
-
domain: string;
|
|
1031
1621
|
code?: string | undefined;
|
|
1032
1622
|
oci?: {
|
|
1033
1623
|
repository: string;
|
|
@@ -1049,6 +1639,31 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
1049
1639
|
organization: string;
|
|
1050
1640
|
branch?: string | undefined;
|
|
1051
1641
|
} | undefined;
|
|
1642
|
+
flux?: {
|
|
1643
|
+
controllers?: {
|
|
1644
|
+
concurrent?: number | undefined;
|
|
1645
|
+
requeue_dependency?: string | undefined;
|
|
1646
|
+
kustomize_controller?: {
|
|
1647
|
+
concurrent?: number | undefined;
|
|
1648
|
+
requeue_dependency?: string | undefined;
|
|
1649
|
+
} | undefined;
|
|
1650
|
+
helm_controller?: {
|
|
1651
|
+
concurrent?: number | undefined;
|
|
1652
|
+
requeue_dependency?: string | undefined;
|
|
1653
|
+
} | undefined;
|
|
1654
|
+
source_controller?: {
|
|
1655
|
+
concurrent?: number | undefined;
|
|
1656
|
+
requeue_dependency?: string | undefined;
|
|
1657
|
+
} | undefined;
|
|
1658
|
+
} | undefined;
|
|
1659
|
+
} | undefined;
|
|
1660
|
+
defaults?: {
|
|
1661
|
+
flux_namespace?: string | undefined;
|
|
1662
|
+
oci_repository_name?: string | undefined;
|
|
1663
|
+
oci_registry_secret_name?: string | undefined;
|
|
1664
|
+
flux_reconciliation_interval?: string | undefined;
|
|
1665
|
+
flux_reconciliation_timeout?: string | undefined;
|
|
1666
|
+
} | undefined;
|
|
1052
1667
|
templates?: {
|
|
1053
1668
|
name: string;
|
|
1054
1669
|
values?: Record<string, string> | undefined;
|
|
@@ -1075,8 +1690,8 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
1075
1690
|
nodes?: string[] | undefined;
|
|
1076
1691
|
secrets?: {
|
|
1077
1692
|
doppler?: {
|
|
1078
|
-
project
|
|
1079
|
-
config
|
|
1693
|
+
project?: string | undefined;
|
|
1694
|
+
config?: string | undefined;
|
|
1080
1695
|
service_token?: {
|
|
1081
1696
|
type: "1password";
|
|
1082
1697
|
ref: string;
|
|
@@ -1086,6 +1701,12 @@ export declare const cluster_spec_schema: z.ZodEffects<z.ZodObject<{
|
|
|
1086
1701
|
project: string;
|
|
1087
1702
|
config: string;
|
|
1088
1703
|
} | undefined;
|
|
1704
|
+
cluster_secret?: {
|
|
1705
|
+
name?: string | undefined;
|
|
1706
|
+
namespace?: string | undefined;
|
|
1707
|
+
key?: string | undefined;
|
|
1708
|
+
enabled?: boolean | undefined;
|
|
1709
|
+
} | undefined;
|
|
1089
1710
|
} | undefined;
|
|
1090
1711
|
onepassword?: {
|
|
1091
1712
|
vault: string;
|
|
@@ -1117,7 +1738,6 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1117
1738
|
}>;
|
|
1118
1739
|
spec: z.ZodEffects<z.ZodObject<{
|
|
1119
1740
|
code: z.ZodOptional<z.ZodString>;
|
|
1120
|
-
domain: z.ZodString;
|
|
1121
1741
|
git: z.ZodOptional<z.ZodObject<{
|
|
1122
1742
|
owner: z.ZodString;
|
|
1123
1743
|
repository: z.ZodString;
|
|
@@ -1172,6 +1792,130 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1172
1792
|
organization: string;
|
|
1173
1793
|
branch?: string | undefined;
|
|
1174
1794
|
}>>;
|
|
1795
|
+
flux: z.ZodOptional<z.ZodObject<{
|
|
1796
|
+
controllers: z.ZodOptional<z.ZodObject<{
|
|
1797
|
+
concurrent: z.ZodOptional<z.ZodNumber>;
|
|
1798
|
+
requeue_dependency: z.ZodOptional<z.ZodString>;
|
|
1799
|
+
kustomize_controller: z.ZodOptional<z.ZodObject<{
|
|
1800
|
+
concurrent: z.ZodOptional<z.ZodNumber>;
|
|
1801
|
+
requeue_dependency: z.ZodOptional<z.ZodString>;
|
|
1802
|
+
}, "strip", z.ZodTypeAny, {
|
|
1803
|
+
concurrent?: number | undefined;
|
|
1804
|
+
requeue_dependency?: string | undefined;
|
|
1805
|
+
}, {
|
|
1806
|
+
concurrent?: number | undefined;
|
|
1807
|
+
requeue_dependency?: string | undefined;
|
|
1808
|
+
}>>;
|
|
1809
|
+
helm_controller: z.ZodOptional<z.ZodObject<{
|
|
1810
|
+
concurrent: z.ZodOptional<z.ZodNumber>;
|
|
1811
|
+
requeue_dependency: z.ZodOptional<z.ZodString>;
|
|
1812
|
+
}, "strip", z.ZodTypeAny, {
|
|
1813
|
+
concurrent?: number | undefined;
|
|
1814
|
+
requeue_dependency?: string | undefined;
|
|
1815
|
+
}, {
|
|
1816
|
+
concurrent?: number | undefined;
|
|
1817
|
+
requeue_dependency?: string | undefined;
|
|
1818
|
+
}>>;
|
|
1819
|
+
source_controller: z.ZodOptional<z.ZodObject<{
|
|
1820
|
+
concurrent: z.ZodOptional<z.ZodNumber>;
|
|
1821
|
+
requeue_dependency: z.ZodOptional<z.ZodString>;
|
|
1822
|
+
}, "strip", z.ZodTypeAny, {
|
|
1823
|
+
concurrent?: number | undefined;
|
|
1824
|
+
requeue_dependency?: string | undefined;
|
|
1825
|
+
}, {
|
|
1826
|
+
concurrent?: number | undefined;
|
|
1827
|
+
requeue_dependency?: string | undefined;
|
|
1828
|
+
}>>;
|
|
1829
|
+
}, "strip", z.ZodTypeAny, {
|
|
1830
|
+
concurrent?: number | undefined;
|
|
1831
|
+
requeue_dependency?: string | undefined;
|
|
1832
|
+
kustomize_controller?: {
|
|
1833
|
+
concurrent?: number | undefined;
|
|
1834
|
+
requeue_dependency?: string | undefined;
|
|
1835
|
+
} | undefined;
|
|
1836
|
+
helm_controller?: {
|
|
1837
|
+
concurrent?: number | undefined;
|
|
1838
|
+
requeue_dependency?: string | undefined;
|
|
1839
|
+
} | undefined;
|
|
1840
|
+
source_controller?: {
|
|
1841
|
+
concurrent?: number | undefined;
|
|
1842
|
+
requeue_dependency?: string | undefined;
|
|
1843
|
+
} | undefined;
|
|
1844
|
+
}, {
|
|
1845
|
+
concurrent?: number | undefined;
|
|
1846
|
+
requeue_dependency?: string | undefined;
|
|
1847
|
+
kustomize_controller?: {
|
|
1848
|
+
concurrent?: number | undefined;
|
|
1849
|
+
requeue_dependency?: string | undefined;
|
|
1850
|
+
} | undefined;
|
|
1851
|
+
helm_controller?: {
|
|
1852
|
+
concurrent?: number | undefined;
|
|
1853
|
+
requeue_dependency?: string | undefined;
|
|
1854
|
+
} | undefined;
|
|
1855
|
+
source_controller?: {
|
|
1856
|
+
concurrent?: number | undefined;
|
|
1857
|
+
requeue_dependency?: string | undefined;
|
|
1858
|
+
} | undefined;
|
|
1859
|
+
}>>;
|
|
1860
|
+
}, "strip", z.ZodTypeAny, {
|
|
1861
|
+
controllers?: {
|
|
1862
|
+
concurrent?: number | undefined;
|
|
1863
|
+
requeue_dependency?: string | undefined;
|
|
1864
|
+
kustomize_controller?: {
|
|
1865
|
+
concurrent?: number | undefined;
|
|
1866
|
+
requeue_dependency?: string | undefined;
|
|
1867
|
+
} | undefined;
|
|
1868
|
+
helm_controller?: {
|
|
1869
|
+
concurrent?: number | undefined;
|
|
1870
|
+
requeue_dependency?: string | undefined;
|
|
1871
|
+
} | undefined;
|
|
1872
|
+
source_controller?: {
|
|
1873
|
+
concurrent?: number | undefined;
|
|
1874
|
+
requeue_dependency?: string | undefined;
|
|
1875
|
+
} | undefined;
|
|
1876
|
+
} | undefined;
|
|
1877
|
+
}, {
|
|
1878
|
+
controllers?: {
|
|
1879
|
+
concurrent?: number | undefined;
|
|
1880
|
+
requeue_dependency?: string | undefined;
|
|
1881
|
+
kustomize_controller?: {
|
|
1882
|
+
concurrent?: number | undefined;
|
|
1883
|
+
requeue_dependency?: string | undefined;
|
|
1884
|
+
} | undefined;
|
|
1885
|
+
helm_controller?: {
|
|
1886
|
+
concurrent?: number | undefined;
|
|
1887
|
+
requeue_dependency?: string | undefined;
|
|
1888
|
+
} | undefined;
|
|
1889
|
+
source_controller?: {
|
|
1890
|
+
concurrent?: number | undefined;
|
|
1891
|
+
requeue_dependency?: string | undefined;
|
|
1892
|
+
} | undefined;
|
|
1893
|
+
} | undefined;
|
|
1894
|
+
}>>;
|
|
1895
|
+
defaults: z.ZodOptional<z.ZodObject<{
|
|
1896
|
+
/** Flux system namespace where Flux controllers run */
|
|
1897
|
+
flux_namespace: z.ZodOptional<z.ZodString>;
|
|
1898
|
+
/** Flux OCIRepository resource name */
|
|
1899
|
+
oci_repository_name: z.ZodOptional<z.ZodString>;
|
|
1900
|
+
/** Secret name for OCI registry authentication */
|
|
1901
|
+
oci_registry_secret_name: z.ZodOptional<z.ZodString>;
|
|
1902
|
+
/** Reconciliation interval for Flux resources */
|
|
1903
|
+
flux_reconciliation_interval: z.ZodOptional<z.ZodString>;
|
|
1904
|
+
/** Timeout for Flux reconciliation */
|
|
1905
|
+
flux_reconciliation_timeout: z.ZodOptional<z.ZodString>;
|
|
1906
|
+
}, "strip", z.ZodTypeAny, {
|
|
1907
|
+
flux_namespace?: string | undefined;
|
|
1908
|
+
oci_repository_name?: string | undefined;
|
|
1909
|
+
oci_registry_secret_name?: string | undefined;
|
|
1910
|
+
flux_reconciliation_interval?: string | undefined;
|
|
1911
|
+
flux_reconciliation_timeout?: string | undefined;
|
|
1912
|
+
}, {
|
|
1913
|
+
flux_namespace?: string | undefined;
|
|
1914
|
+
oci_repository_name?: string | undefined;
|
|
1915
|
+
oci_registry_secret_name?: string | undefined;
|
|
1916
|
+
flux_reconciliation_interval?: string | undefined;
|
|
1917
|
+
flux_reconciliation_timeout?: string | undefined;
|
|
1918
|
+
}>>;
|
|
1175
1919
|
templates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1176
1920
|
name: z.ZodString;
|
|
1177
1921
|
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1264,8 +2008,8 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1264
2008
|
nodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1265
2009
|
secrets: z.ZodOptional<z.ZodObject<{
|
|
1266
2010
|
doppler: z.ZodOptional<z.ZodObject<{
|
|
1267
|
-
project: z.ZodString
|
|
1268
|
-
config: z.ZodString
|
|
2011
|
+
project: z.ZodOptional<z.ZodString>;
|
|
2012
|
+
config: z.ZodOptional<z.ZodString>;
|
|
1269
2013
|
service_token: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1270
2014
|
type: z.ZodLiteral<"1password">;
|
|
1271
2015
|
ref: z.ZodString;
|
|
@@ -1291,9 +2035,25 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1291
2035
|
project: string;
|
|
1292
2036
|
config: string;
|
|
1293
2037
|
}>]>>;
|
|
2038
|
+
cluster_secret: z.ZodOptional<z.ZodObject<{
|
|
2039
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2040
|
+
namespace: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2041
|
+
name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2042
|
+
key: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2043
|
+
}, "strip", z.ZodTypeAny, {
|
|
2044
|
+
name: string;
|
|
2045
|
+
namespace: string;
|
|
2046
|
+
key: string;
|
|
2047
|
+
enabled: boolean;
|
|
2048
|
+
}, {
|
|
2049
|
+
name?: string | undefined;
|
|
2050
|
+
namespace?: string | undefined;
|
|
2051
|
+
key?: string | undefined;
|
|
2052
|
+
enabled?: boolean | undefined;
|
|
2053
|
+
}>>;
|
|
1294
2054
|
}, "strip", z.ZodTypeAny, {
|
|
1295
|
-
project
|
|
1296
|
-
config
|
|
2055
|
+
project?: string | undefined;
|
|
2056
|
+
config?: string | undefined;
|
|
1297
2057
|
service_token?: {
|
|
1298
2058
|
type: "1password";
|
|
1299
2059
|
ref: string;
|
|
@@ -1303,9 +2063,15 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1303
2063
|
project: string;
|
|
1304
2064
|
config: string;
|
|
1305
2065
|
} | undefined;
|
|
2066
|
+
cluster_secret?: {
|
|
2067
|
+
name: string;
|
|
2068
|
+
namespace: string;
|
|
2069
|
+
key: string;
|
|
2070
|
+
enabled: boolean;
|
|
2071
|
+
} | undefined;
|
|
1306
2072
|
}, {
|
|
1307
|
-
project
|
|
1308
|
-
config
|
|
2073
|
+
project?: string | undefined;
|
|
2074
|
+
config?: string | undefined;
|
|
1309
2075
|
service_token?: {
|
|
1310
2076
|
type: "1password";
|
|
1311
2077
|
ref: string;
|
|
@@ -1315,6 +2081,12 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1315
2081
|
project: string;
|
|
1316
2082
|
config: string;
|
|
1317
2083
|
} | undefined;
|
|
2084
|
+
cluster_secret?: {
|
|
2085
|
+
name?: string | undefined;
|
|
2086
|
+
namespace?: string | undefined;
|
|
2087
|
+
key?: string | undefined;
|
|
2088
|
+
enabled?: boolean | undefined;
|
|
2089
|
+
} | undefined;
|
|
1318
2090
|
}>>;
|
|
1319
2091
|
onepassword: z.ZodOptional<z.ZodObject<{
|
|
1320
2092
|
vault: z.ZodString;
|
|
@@ -1368,8 +2140,8 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1368
2140
|
}>>;
|
|
1369
2141
|
}, "strip", z.ZodTypeAny, {
|
|
1370
2142
|
doppler?: {
|
|
1371
|
-
project
|
|
1372
|
-
config
|
|
2143
|
+
project?: string | undefined;
|
|
2144
|
+
config?: string | undefined;
|
|
1373
2145
|
service_token?: {
|
|
1374
2146
|
type: "1password";
|
|
1375
2147
|
ref: string;
|
|
@@ -1379,6 +2151,12 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1379
2151
|
project: string;
|
|
1380
2152
|
config: string;
|
|
1381
2153
|
} | undefined;
|
|
2154
|
+
cluster_secret?: {
|
|
2155
|
+
name: string;
|
|
2156
|
+
namespace: string;
|
|
2157
|
+
key: string;
|
|
2158
|
+
enabled: boolean;
|
|
2159
|
+
} | undefined;
|
|
1382
2160
|
} | undefined;
|
|
1383
2161
|
onepassword?: {
|
|
1384
2162
|
vault: string;
|
|
@@ -1394,8 +2172,8 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1394
2172
|
} | undefined;
|
|
1395
2173
|
}, {
|
|
1396
2174
|
doppler?: {
|
|
1397
|
-
project
|
|
1398
|
-
config
|
|
2175
|
+
project?: string | undefined;
|
|
2176
|
+
config?: string | undefined;
|
|
1399
2177
|
service_token?: {
|
|
1400
2178
|
type: "1password";
|
|
1401
2179
|
ref: string;
|
|
@@ -1405,6 +2183,12 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1405
2183
|
project: string;
|
|
1406
2184
|
config: string;
|
|
1407
2185
|
} | undefined;
|
|
2186
|
+
cluster_secret?: {
|
|
2187
|
+
name?: string | undefined;
|
|
2188
|
+
namespace?: string | undefined;
|
|
2189
|
+
key?: string | undefined;
|
|
2190
|
+
enabled?: boolean | undefined;
|
|
2191
|
+
} | undefined;
|
|
1408
2192
|
} | undefined;
|
|
1409
2193
|
onepassword?: {
|
|
1410
2194
|
vault: string;
|
|
@@ -1420,7 +2204,6 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1420
2204
|
} | undefined;
|
|
1421
2205
|
}>>;
|
|
1422
2206
|
}, "strip", z.ZodTypeAny, {
|
|
1423
|
-
domain: string;
|
|
1424
2207
|
code?: string | undefined;
|
|
1425
2208
|
oci?: {
|
|
1426
2209
|
repository: string;
|
|
@@ -1442,6 +2225,31 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1442
2225
|
branch: string;
|
|
1443
2226
|
organization: string;
|
|
1444
2227
|
} | undefined;
|
|
2228
|
+
flux?: {
|
|
2229
|
+
controllers?: {
|
|
2230
|
+
concurrent?: number | undefined;
|
|
2231
|
+
requeue_dependency?: string | undefined;
|
|
2232
|
+
kustomize_controller?: {
|
|
2233
|
+
concurrent?: number | undefined;
|
|
2234
|
+
requeue_dependency?: string | undefined;
|
|
2235
|
+
} | undefined;
|
|
2236
|
+
helm_controller?: {
|
|
2237
|
+
concurrent?: number | undefined;
|
|
2238
|
+
requeue_dependency?: string | undefined;
|
|
2239
|
+
} | undefined;
|
|
2240
|
+
source_controller?: {
|
|
2241
|
+
concurrent?: number | undefined;
|
|
2242
|
+
requeue_dependency?: string | undefined;
|
|
2243
|
+
} | undefined;
|
|
2244
|
+
} | undefined;
|
|
2245
|
+
} | undefined;
|
|
2246
|
+
defaults?: {
|
|
2247
|
+
flux_namespace?: string | undefined;
|
|
2248
|
+
oci_repository_name?: string | undefined;
|
|
2249
|
+
oci_registry_secret_name?: string | undefined;
|
|
2250
|
+
flux_reconciliation_interval?: string | undefined;
|
|
2251
|
+
flux_reconciliation_timeout?: string | undefined;
|
|
2252
|
+
} | undefined;
|
|
1445
2253
|
templates?: {
|
|
1446
2254
|
name: string;
|
|
1447
2255
|
values?: Record<string, string> | undefined;
|
|
@@ -1468,8 +2276,8 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1468
2276
|
nodes?: string[] | undefined;
|
|
1469
2277
|
secrets?: {
|
|
1470
2278
|
doppler?: {
|
|
1471
|
-
project
|
|
1472
|
-
config
|
|
2279
|
+
project?: string | undefined;
|
|
2280
|
+
config?: string | undefined;
|
|
1473
2281
|
service_token?: {
|
|
1474
2282
|
type: "1password";
|
|
1475
2283
|
ref: string;
|
|
@@ -1479,6 +2287,12 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1479
2287
|
project: string;
|
|
1480
2288
|
config: string;
|
|
1481
2289
|
} | undefined;
|
|
2290
|
+
cluster_secret?: {
|
|
2291
|
+
name: string;
|
|
2292
|
+
namespace: string;
|
|
2293
|
+
key: string;
|
|
2294
|
+
enabled: boolean;
|
|
2295
|
+
} | undefined;
|
|
1482
2296
|
} | undefined;
|
|
1483
2297
|
onepassword?: {
|
|
1484
2298
|
vault: string;
|
|
@@ -1494,7 +2308,6 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1494
2308
|
} | undefined;
|
|
1495
2309
|
} | undefined;
|
|
1496
2310
|
}, {
|
|
1497
|
-
domain: string;
|
|
1498
2311
|
code?: string | undefined;
|
|
1499
2312
|
oci?: {
|
|
1500
2313
|
repository: string;
|
|
@@ -1516,6 +2329,31 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1516
2329
|
organization: string;
|
|
1517
2330
|
branch?: string | undefined;
|
|
1518
2331
|
} | undefined;
|
|
2332
|
+
flux?: {
|
|
2333
|
+
controllers?: {
|
|
2334
|
+
concurrent?: number | undefined;
|
|
2335
|
+
requeue_dependency?: string | undefined;
|
|
2336
|
+
kustomize_controller?: {
|
|
2337
|
+
concurrent?: number | undefined;
|
|
2338
|
+
requeue_dependency?: string | undefined;
|
|
2339
|
+
} | undefined;
|
|
2340
|
+
helm_controller?: {
|
|
2341
|
+
concurrent?: number | undefined;
|
|
2342
|
+
requeue_dependency?: string | undefined;
|
|
2343
|
+
} | undefined;
|
|
2344
|
+
source_controller?: {
|
|
2345
|
+
concurrent?: number | undefined;
|
|
2346
|
+
requeue_dependency?: string | undefined;
|
|
2347
|
+
} | undefined;
|
|
2348
|
+
} | undefined;
|
|
2349
|
+
} | undefined;
|
|
2350
|
+
defaults?: {
|
|
2351
|
+
flux_namespace?: string | undefined;
|
|
2352
|
+
oci_repository_name?: string | undefined;
|
|
2353
|
+
oci_registry_secret_name?: string | undefined;
|
|
2354
|
+
flux_reconciliation_interval?: string | undefined;
|
|
2355
|
+
flux_reconciliation_timeout?: string | undefined;
|
|
2356
|
+
} | undefined;
|
|
1519
2357
|
templates?: {
|
|
1520
2358
|
name: string;
|
|
1521
2359
|
values?: Record<string, string> | undefined;
|
|
@@ -1542,8 +2380,8 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1542
2380
|
nodes?: string[] | undefined;
|
|
1543
2381
|
secrets?: {
|
|
1544
2382
|
doppler?: {
|
|
1545
|
-
project
|
|
1546
|
-
config
|
|
2383
|
+
project?: string | undefined;
|
|
2384
|
+
config?: string | undefined;
|
|
1547
2385
|
service_token?: {
|
|
1548
2386
|
type: "1password";
|
|
1549
2387
|
ref: string;
|
|
@@ -1553,6 +2391,12 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1553
2391
|
project: string;
|
|
1554
2392
|
config: string;
|
|
1555
2393
|
} | undefined;
|
|
2394
|
+
cluster_secret?: {
|
|
2395
|
+
name?: string | undefined;
|
|
2396
|
+
namespace?: string | undefined;
|
|
2397
|
+
key?: string | undefined;
|
|
2398
|
+
enabled?: boolean | undefined;
|
|
2399
|
+
} | undefined;
|
|
1556
2400
|
} | undefined;
|
|
1557
2401
|
onepassword?: {
|
|
1558
2402
|
vault: string;
|
|
@@ -1568,7 +2412,6 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1568
2412
|
} | undefined;
|
|
1569
2413
|
} | undefined;
|
|
1570
2414
|
}>, {
|
|
1571
|
-
domain: string;
|
|
1572
2415
|
code?: string | undefined;
|
|
1573
2416
|
oci?: {
|
|
1574
2417
|
repository: string;
|
|
@@ -1590,6 +2433,31 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1590
2433
|
branch: string;
|
|
1591
2434
|
organization: string;
|
|
1592
2435
|
} | undefined;
|
|
2436
|
+
flux?: {
|
|
2437
|
+
controllers?: {
|
|
2438
|
+
concurrent?: number | undefined;
|
|
2439
|
+
requeue_dependency?: string | undefined;
|
|
2440
|
+
kustomize_controller?: {
|
|
2441
|
+
concurrent?: number | undefined;
|
|
2442
|
+
requeue_dependency?: string | undefined;
|
|
2443
|
+
} | undefined;
|
|
2444
|
+
helm_controller?: {
|
|
2445
|
+
concurrent?: number | undefined;
|
|
2446
|
+
requeue_dependency?: string | undefined;
|
|
2447
|
+
} | undefined;
|
|
2448
|
+
source_controller?: {
|
|
2449
|
+
concurrent?: number | undefined;
|
|
2450
|
+
requeue_dependency?: string | undefined;
|
|
2451
|
+
} | undefined;
|
|
2452
|
+
} | undefined;
|
|
2453
|
+
} | undefined;
|
|
2454
|
+
defaults?: {
|
|
2455
|
+
flux_namespace?: string | undefined;
|
|
2456
|
+
oci_repository_name?: string | undefined;
|
|
2457
|
+
oci_registry_secret_name?: string | undefined;
|
|
2458
|
+
flux_reconciliation_interval?: string | undefined;
|
|
2459
|
+
flux_reconciliation_timeout?: string | undefined;
|
|
2460
|
+
} | undefined;
|
|
1593
2461
|
templates?: {
|
|
1594
2462
|
name: string;
|
|
1595
2463
|
values?: Record<string, string> | undefined;
|
|
@@ -1616,8 +2484,8 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1616
2484
|
nodes?: string[] | undefined;
|
|
1617
2485
|
secrets?: {
|
|
1618
2486
|
doppler?: {
|
|
1619
|
-
project
|
|
1620
|
-
config
|
|
2487
|
+
project?: string | undefined;
|
|
2488
|
+
config?: string | undefined;
|
|
1621
2489
|
service_token?: {
|
|
1622
2490
|
type: "1password";
|
|
1623
2491
|
ref: string;
|
|
@@ -1627,6 +2495,12 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1627
2495
|
project: string;
|
|
1628
2496
|
config: string;
|
|
1629
2497
|
} | undefined;
|
|
2498
|
+
cluster_secret?: {
|
|
2499
|
+
name: string;
|
|
2500
|
+
namespace: string;
|
|
2501
|
+
key: string;
|
|
2502
|
+
enabled: boolean;
|
|
2503
|
+
} | undefined;
|
|
1630
2504
|
} | undefined;
|
|
1631
2505
|
onepassword?: {
|
|
1632
2506
|
vault: string;
|
|
@@ -1642,7 +2516,6 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1642
2516
|
} | undefined;
|
|
1643
2517
|
} | undefined;
|
|
1644
2518
|
}, {
|
|
1645
|
-
domain: string;
|
|
1646
2519
|
code?: string | undefined;
|
|
1647
2520
|
oci?: {
|
|
1648
2521
|
repository: string;
|
|
@@ -1664,6 +2537,31 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1664
2537
|
organization: string;
|
|
1665
2538
|
branch?: string | undefined;
|
|
1666
2539
|
} | undefined;
|
|
2540
|
+
flux?: {
|
|
2541
|
+
controllers?: {
|
|
2542
|
+
concurrent?: number | undefined;
|
|
2543
|
+
requeue_dependency?: string | undefined;
|
|
2544
|
+
kustomize_controller?: {
|
|
2545
|
+
concurrent?: number | undefined;
|
|
2546
|
+
requeue_dependency?: string | undefined;
|
|
2547
|
+
} | undefined;
|
|
2548
|
+
helm_controller?: {
|
|
2549
|
+
concurrent?: number | undefined;
|
|
2550
|
+
requeue_dependency?: string | undefined;
|
|
2551
|
+
} | undefined;
|
|
2552
|
+
source_controller?: {
|
|
2553
|
+
concurrent?: number | undefined;
|
|
2554
|
+
requeue_dependency?: string | undefined;
|
|
2555
|
+
} | undefined;
|
|
2556
|
+
} | undefined;
|
|
2557
|
+
} | undefined;
|
|
2558
|
+
defaults?: {
|
|
2559
|
+
flux_namespace?: string | undefined;
|
|
2560
|
+
oci_repository_name?: string | undefined;
|
|
2561
|
+
oci_registry_secret_name?: string | undefined;
|
|
2562
|
+
flux_reconciliation_interval?: string | undefined;
|
|
2563
|
+
flux_reconciliation_timeout?: string | undefined;
|
|
2564
|
+
} | undefined;
|
|
1667
2565
|
templates?: {
|
|
1668
2566
|
name: string;
|
|
1669
2567
|
values?: Record<string, string> | undefined;
|
|
@@ -1690,8 +2588,8 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1690
2588
|
nodes?: string[] | undefined;
|
|
1691
2589
|
secrets?: {
|
|
1692
2590
|
doppler?: {
|
|
1693
|
-
project
|
|
1694
|
-
config
|
|
2591
|
+
project?: string | undefined;
|
|
2592
|
+
config?: string | undefined;
|
|
1695
2593
|
service_token?: {
|
|
1696
2594
|
type: "1password";
|
|
1697
2595
|
ref: string;
|
|
@@ -1701,6 +2599,12 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1701
2599
|
project: string;
|
|
1702
2600
|
config: string;
|
|
1703
2601
|
} | undefined;
|
|
2602
|
+
cluster_secret?: {
|
|
2603
|
+
name?: string | undefined;
|
|
2604
|
+
namespace?: string | undefined;
|
|
2605
|
+
key?: string | undefined;
|
|
2606
|
+
enabled?: boolean | undefined;
|
|
2607
|
+
} | undefined;
|
|
1704
2608
|
} | undefined;
|
|
1705
2609
|
onepassword?: {
|
|
1706
2610
|
vault: string;
|
|
@@ -1723,7 +2627,6 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1723
2627
|
name: string;
|
|
1724
2628
|
};
|
|
1725
2629
|
spec: {
|
|
1726
|
-
domain: string;
|
|
1727
2630
|
code?: string | undefined;
|
|
1728
2631
|
oci?: {
|
|
1729
2632
|
repository: string;
|
|
@@ -1745,6 +2648,31 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1745
2648
|
branch: string;
|
|
1746
2649
|
organization: string;
|
|
1747
2650
|
} | undefined;
|
|
2651
|
+
flux?: {
|
|
2652
|
+
controllers?: {
|
|
2653
|
+
concurrent?: number | undefined;
|
|
2654
|
+
requeue_dependency?: string | undefined;
|
|
2655
|
+
kustomize_controller?: {
|
|
2656
|
+
concurrent?: number | undefined;
|
|
2657
|
+
requeue_dependency?: string | undefined;
|
|
2658
|
+
} | undefined;
|
|
2659
|
+
helm_controller?: {
|
|
2660
|
+
concurrent?: number | undefined;
|
|
2661
|
+
requeue_dependency?: string | undefined;
|
|
2662
|
+
} | undefined;
|
|
2663
|
+
source_controller?: {
|
|
2664
|
+
concurrent?: number | undefined;
|
|
2665
|
+
requeue_dependency?: string | undefined;
|
|
2666
|
+
} | undefined;
|
|
2667
|
+
} | undefined;
|
|
2668
|
+
} | undefined;
|
|
2669
|
+
defaults?: {
|
|
2670
|
+
flux_namespace?: string | undefined;
|
|
2671
|
+
oci_repository_name?: string | undefined;
|
|
2672
|
+
oci_registry_secret_name?: string | undefined;
|
|
2673
|
+
flux_reconciliation_interval?: string | undefined;
|
|
2674
|
+
flux_reconciliation_timeout?: string | undefined;
|
|
2675
|
+
} | undefined;
|
|
1748
2676
|
templates?: {
|
|
1749
2677
|
name: string;
|
|
1750
2678
|
values?: Record<string, string> | undefined;
|
|
@@ -1771,8 +2699,8 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1771
2699
|
nodes?: string[] | undefined;
|
|
1772
2700
|
secrets?: {
|
|
1773
2701
|
doppler?: {
|
|
1774
|
-
project
|
|
1775
|
-
config
|
|
2702
|
+
project?: string | undefined;
|
|
2703
|
+
config?: string | undefined;
|
|
1776
2704
|
service_token?: {
|
|
1777
2705
|
type: "1password";
|
|
1778
2706
|
ref: string;
|
|
@@ -1782,6 +2710,12 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1782
2710
|
project: string;
|
|
1783
2711
|
config: string;
|
|
1784
2712
|
} | undefined;
|
|
2713
|
+
cluster_secret?: {
|
|
2714
|
+
name: string;
|
|
2715
|
+
namespace: string;
|
|
2716
|
+
key: string;
|
|
2717
|
+
enabled: boolean;
|
|
2718
|
+
} | undefined;
|
|
1785
2719
|
} | undefined;
|
|
1786
2720
|
onepassword?: {
|
|
1787
2721
|
vault: string;
|
|
@@ -1804,7 +2738,6 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1804
2738
|
name: string;
|
|
1805
2739
|
};
|
|
1806
2740
|
spec: {
|
|
1807
|
-
domain: string;
|
|
1808
2741
|
code?: string | undefined;
|
|
1809
2742
|
oci?: {
|
|
1810
2743
|
repository: string;
|
|
@@ -1826,6 +2759,31 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1826
2759
|
organization: string;
|
|
1827
2760
|
branch?: string | undefined;
|
|
1828
2761
|
} | undefined;
|
|
2762
|
+
flux?: {
|
|
2763
|
+
controllers?: {
|
|
2764
|
+
concurrent?: number | undefined;
|
|
2765
|
+
requeue_dependency?: string | undefined;
|
|
2766
|
+
kustomize_controller?: {
|
|
2767
|
+
concurrent?: number | undefined;
|
|
2768
|
+
requeue_dependency?: string | undefined;
|
|
2769
|
+
} | undefined;
|
|
2770
|
+
helm_controller?: {
|
|
2771
|
+
concurrent?: number | undefined;
|
|
2772
|
+
requeue_dependency?: string | undefined;
|
|
2773
|
+
} | undefined;
|
|
2774
|
+
source_controller?: {
|
|
2775
|
+
concurrent?: number | undefined;
|
|
2776
|
+
requeue_dependency?: string | undefined;
|
|
2777
|
+
} | undefined;
|
|
2778
|
+
} | undefined;
|
|
2779
|
+
} | undefined;
|
|
2780
|
+
defaults?: {
|
|
2781
|
+
flux_namespace?: string | undefined;
|
|
2782
|
+
oci_repository_name?: string | undefined;
|
|
2783
|
+
oci_registry_secret_name?: string | undefined;
|
|
2784
|
+
flux_reconciliation_interval?: string | undefined;
|
|
2785
|
+
flux_reconciliation_timeout?: string | undefined;
|
|
2786
|
+
} | undefined;
|
|
1829
2787
|
templates?: {
|
|
1830
2788
|
name: string;
|
|
1831
2789
|
values?: Record<string, string> | undefined;
|
|
@@ -1852,8 +2810,8 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1852
2810
|
nodes?: string[] | undefined;
|
|
1853
2811
|
secrets?: {
|
|
1854
2812
|
doppler?: {
|
|
1855
|
-
project
|
|
1856
|
-
config
|
|
2813
|
+
project?: string | undefined;
|
|
2814
|
+
config?: string | undefined;
|
|
1857
2815
|
service_token?: {
|
|
1858
2816
|
type: "1password";
|
|
1859
2817
|
ref: string;
|
|
@@ -1863,6 +2821,12 @@ export declare const cluster_schema: z.ZodObject<{
|
|
|
1863
2821
|
project: string;
|
|
1864
2822
|
config: string;
|
|
1865
2823
|
} | undefined;
|
|
2824
|
+
cluster_secret?: {
|
|
2825
|
+
name?: string | undefined;
|
|
2826
|
+
namespace?: string | undefined;
|
|
2827
|
+
key?: string | undefined;
|
|
2828
|
+
enabled?: boolean | undefined;
|
|
2829
|
+
} | undefined;
|
|
1866
2830
|
} | undefined;
|
|
1867
2831
|
onepassword?: {
|
|
1868
2832
|
vault: string;
|