@kustodian/schema 1.3.0 → 2.0.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.
@@ -0,0 +1,2630 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Raw dependency reference to an external Flux Kustomization.
4
+ * Used for dependencies outside the kustodian-generated system.
5
+ */
6
+ export declare const raw_dependency_ref_schema: z.ZodObject<{
7
+ raw: z.ZodObject<{
8
+ name: z.ZodString;
9
+ namespace: z.ZodString;
10
+ }, "strip", z.ZodTypeAny, {
11
+ name: string;
12
+ namespace: string;
13
+ }, {
14
+ name: string;
15
+ namespace: string;
16
+ }>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ raw: {
19
+ name: string;
20
+ namespace: string;
21
+ };
22
+ }, {
23
+ raw: {
24
+ name: string;
25
+ namespace: string;
26
+ };
27
+ }>;
28
+ export type RawDependencyRefType = z.infer<typeof raw_dependency_ref_schema>;
29
+ /**
30
+ * Dependency reference - either a string or a raw reference object.
31
+ *
32
+ * Supports three formats:
33
+ * - Within-template: `database`
34
+ * - Cross-template: `secrets/doppler`
35
+ * - Raw external: `{ raw: { name: 'legacy-infrastructure', namespace: 'gitops-system' } }`
36
+ */
37
+ export declare const dependency_ref_schema: z.ZodUnion<[z.ZodString, z.ZodObject<{
38
+ raw: z.ZodObject<{
39
+ name: z.ZodString;
40
+ namespace: z.ZodString;
41
+ }, "strip", z.ZodTypeAny, {
42
+ name: string;
43
+ namespace: string;
44
+ }, {
45
+ name: string;
46
+ namespace: string;
47
+ }>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ raw: {
50
+ name: string;
51
+ namespace: string;
52
+ };
53
+ }, {
54
+ raw: {
55
+ name: string;
56
+ namespace: string;
57
+ };
58
+ }>]>;
59
+ export type DependencyRefType = z.infer<typeof dependency_ref_schema>;
60
+ /**
61
+ * Preservation mode for disabled kustomizations.
62
+ *
63
+ * - none: Delete all resources when disabled
64
+ * - stateful: Keep PVCs, Secrets, and ConfigMaps (default, safe)
65
+ * - custom: Keep only specified resource types
66
+ */
67
+ export declare const preservation_mode_schema: z.ZodEnum<["none", "stateful", "custom"]>;
68
+ export type PreservationModeType = z.infer<typeof preservation_mode_schema>;
69
+ /**
70
+ * Preservation policy for a kustomization when disabled.
71
+ */
72
+ export declare const preservation_policy_schema: z.ZodObject<{
73
+ mode: z.ZodDefault<z.ZodEnum<["none", "stateful", "custom"]>>;
74
+ keep_resources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
75
+ }, "strip", z.ZodTypeAny, {
76
+ mode: "custom" | "none" | "stateful";
77
+ keep_resources?: string[] | undefined;
78
+ }, {
79
+ mode?: "custom" | "none" | "stateful" | undefined;
80
+ keep_resources?: string[] | undefined;
81
+ }>;
82
+ export type PreservationPolicyType = z.infer<typeof preservation_policy_schema>;
83
+ /**
84
+ * A single kustomization within a template.
85
+ * Maps to a Flux Kustomization resource.
86
+ */
87
+ export declare const kustomization_schema: z.ZodObject<{
88
+ name: z.ZodString;
89
+ path: z.ZodString;
90
+ namespace: z.ZodOptional<z.ZodObject<{
91
+ default: z.ZodString;
92
+ create: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ default: string;
95
+ create: boolean;
96
+ }, {
97
+ default: string;
98
+ create?: boolean | undefined;
99
+ }>>;
100
+ depends_on: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
101
+ raw: z.ZodObject<{
102
+ name: z.ZodString;
103
+ namespace: z.ZodString;
104
+ }, "strip", z.ZodTypeAny, {
105
+ name: string;
106
+ namespace: string;
107
+ }, {
108
+ name: string;
109
+ namespace: string;
110
+ }>;
111
+ }, "strip", z.ZodTypeAny, {
112
+ raw: {
113
+ name: string;
114
+ namespace: string;
115
+ };
116
+ }, {
117
+ raw: {
118
+ name: string;
119
+ namespace: string;
120
+ };
121
+ }>]>, "many">>;
122
+ substitutions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
123
+ type: z.ZodLiteral<"version">;
124
+ name: z.ZodString;
125
+ default: z.ZodOptional<z.ZodString>;
126
+ constraint: z.ZodOptional<z.ZodString>;
127
+ registry: z.ZodOptional<z.ZodObject<{
128
+ image: z.ZodString;
129
+ type: z.ZodOptional<z.ZodEnum<["dockerhub", "ghcr"]>>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ image: string;
132
+ type?: "dockerhub" | "ghcr" | undefined;
133
+ }, {
134
+ image: string;
135
+ type?: "dockerhub" | "ghcr" | undefined;
136
+ }>>;
137
+ tag_pattern: z.ZodOptional<z.ZodString>;
138
+ exclude_prerelease: z.ZodOptional<z.ZodBoolean>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ name: string;
141
+ type: "version";
142
+ default?: string | undefined;
143
+ constraint?: string | undefined;
144
+ tag_pattern?: string | undefined;
145
+ exclude_prerelease?: boolean | undefined;
146
+ registry?: {
147
+ image: string;
148
+ type?: "dockerhub" | "ghcr" | undefined;
149
+ } | undefined;
150
+ }, {
151
+ name: string;
152
+ type: "version";
153
+ default?: string | undefined;
154
+ constraint?: string | undefined;
155
+ tag_pattern?: string | undefined;
156
+ exclude_prerelease?: boolean | undefined;
157
+ registry?: {
158
+ image: string;
159
+ type?: "dockerhub" | "ghcr" | undefined;
160
+ } | undefined;
161
+ }>, z.ZodObject<{
162
+ type: z.ZodLiteral<"helm">;
163
+ name: z.ZodString;
164
+ default: z.ZodOptional<z.ZodString>;
165
+ constraint: z.ZodOptional<z.ZodString>;
166
+ helm: z.ZodOptional<z.ZodEffects<z.ZodObject<{
167
+ repository: z.ZodOptional<z.ZodString>;
168
+ oci: z.ZodOptional<z.ZodString>;
169
+ chart: z.ZodString;
170
+ }, "strip", z.ZodTypeAny, {
171
+ chart: string;
172
+ repository?: string | undefined;
173
+ oci?: string | undefined;
174
+ }, {
175
+ chart: string;
176
+ repository?: string | undefined;
177
+ oci?: string | undefined;
178
+ }>, {
179
+ chart: string;
180
+ repository?: string | undefined;
181
+ oci?: string | undefined;
182
+ }, {
183
+ chart: string;
184
+ repository?: string | undefined;
185
+ oci?: string | undefined;
186
+ }>>;
187
+ tag_pattern: z.ZodOptional<z.ZodString>;
188
+ exclude_prerelease: z.ZodOptional<z.ZodBoolean>;
189
+ }, "strip", z.ZodTypeAny, {
190
+ name: string;
191
+ type: "helm";
192
+ default?: string | undefined;
193
+ constraint?: string | undefined;
194
+ tag_pattern?: string | undefined;
195
+ exclude_prerelease?: boolean | undefined;
196
+ helm?: {
197
+ chart: string;
198
+ repository?: string | undefined;
199
+ oci?: string | undefined;
200
+ } | undefined;
201
+ }, {
202
+ name: string;
203
+ type: "helm";
204
+ default?: string | undefined;
205
+ constraint?: string | undefined;
206
+ tag_pattern?: string | undefined;
207
+ exclude_prerelease?: boolean | undefined;
208
+ helm?: {
209
+ chart: string;
210
+ repository?: string | undefined;
211
+ oci?: string | undefined;
212
+ } | undefined;
213
+ }>, z.ZodObject<{
214
+ type: z.ZodLiteral<"namespace">;
215
+ name: z.ZodString;
216
+ default: z.ZodOptional<z.ZodString>;
217
+ }, "strip", z.ZodTypeAny, {
218
+ name: string;
219
+ type: "namespace";
220
+ default?: string | undefined;
221
+ }, {
222
+ name: string;
223
+ type: "namespace";
224
+ default?: string | undefined;
225
+ }>, z.ZodEffects<z.ZodObject<{
226
+ type: z.ZodLiteral<"1password">;
227
+ name: z.ZodString;
228
+ ref: z.ZodOptional<z.ZodString>;
229
+ item: z.ZodOptional<z.ZodString>;
230
+ field: z.ZodOptional<z.ZodString>;
231
+ section: z.ZodOptional<z.ZodString>;
232
+ default: z.ZodOptional<z.ZodString>;
233
+ }, "strip", z.ZodTypeAny, {
234
+ name: string;
235
+ type: "1password";
236
+ default?: string | undefined;
237
+ ref?: string | undefined;
238
+ item?: string | undefined;
239
+ field?: string | undefined;
240
+ section?: string | undefined;
241
+ }, {
242
+ name: string;
243
+ type: "1password";
244
+ default?: string | undefined;
245
+ ref?: string | undefined;
246
+ item?: string | undefined;
247
+ field?: string | undefined;
248
+ section?: string | undefined;
249
+ }>, {
250
+ name: string;
251
+ type: "1password";
252
+ default?: string | undefined;
253
+ ref?: string | undefined;
254
+ item?: string | undefined;
255
+ field?: string | undefined;
256
+ section?: string | undefined;
257
+ }, {
258
+ name: string;
259
+ type: "1password";
260
+ default?: string | undefined;
261
+ ref?: string | undefined;
262
+ item?: string | undefined;
263
+ field?: string | undefined;
264
+ section?: string | undefined;
265
+ }>, z.ZodObject<{
266
+ type: z.ZodLiteral<"doppler">;
267
+ name: z.ZodString;
268
+ project: z.ZodOptional<z.ZodString>;
269
+ config: z.ZodOptional<z.ZodString>;
270
+ secret: z.ZodString;
271
+ default: z.ZodOptional<z.ZodString>;
272
+ }, "strip", z.ZodTypeAny, {
273
+ name: string;
274
+ type: "doppler";
275
+ secret: string;
276
+ default?: string | undefined;
277
+ project?: string | undefined;
278
+ config?: string | undefined;
279
+ }, {
280
+ name: string;
281
+ type: "doppler";
282
+ secret: string;
283
+ default?: string | undefined;
284
+ project?: string | undefined;
285
+ config?: string | undefined;
286
+ }>, z.ZodObject<{
287
+ type: z.ZodOptional<z.ZodLiteral<"generic">>;
288
+ name: z.ZodString;
289
+ default: z.ZodOptional<z.ZodString>;
290
+ secret: z.ZodOptional<z.ZodString>;
291
+ preserve_case: z.ZodOptional<z.ZodBoolean>;
292
+ }, "strip", z.ZodTypeAny, {
293
+ name: string;
294
+ type?: "generic" | undefined;
295
+ default?: string | undefined;
296
+ secret?: string | undefined;
297
+ preserve_case?: boolean | undefined;
298
+ }, {
299
+ name: string;
300
+ type?: "generic" | undefined;
301
+ default?: string | undefined;
302
+ secret?: string | undefined;
303
+ preserve_case?: boolean | undefined;
304
+ }>]>, "many">>;
305
+ health_checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
306
+ kind: z.ZodString;
307
+ name: z.ZodString;
308
+ namespace: z.ZodOptional<z.ZodString>;
309
+ api_version: z.ZodOptional<z.ZodString>;
310
+ }, "strip", z.ZodTypeAny, {
311
+ name: string;
312
+ kind: string;
313
+ namespace?: string | undefined;
314
+ api_version?: string | undefined;
315
+ }, {
316
+ name: string;
317
+ kind: string;
318
+ namespace?: string | undefined;
319
+ api_version?: string | undefined;
320
+ }>, "many">>;
321
+ health_check_exprs: z.ZodOptional<z.ZodArray<z.ZodObject<{
322
+ api_version: z.ZodString;
323
+ kind: z.ZodString;
324
+ namespace: z.ZodOptional<z.ZodString>;
325
+ current: z.ZodOptional<z.ZodString>;
326
+ failed: z.ZodOptional<z.ZodString>;
327
+ }, "strip", z.ZodTypeAny, {
328
+ kind: string;
329
+ api_version: string;
330
+ namespace?: string | undefined;
331
+ current?: string | undefined;
332
+ failed?: string | undefined;
333
+ }, {
334
+ kind: string;
335
+ api_version: string;
336
+ namespace?: string | undefined;
337
+ current?: string | undefined;
338
+ failed?: string | undefined;
339
+ }>, "many">>;
340
+ prune: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
341
+ wait: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
342
+ timeout: z.ZodOptional<z.ZodString>;
343
+ retry_interval: z.ZodOptional<z.ZodString>;
344
+ preservation: z.ZodOptional<z.ZodObject<{
345
+ mode: z.ZodDefault<z.ZodEnum<["none", "stateful", "custom"]>>;
346
+ keep_resources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
347
+ }, "strip", z.ZodTypeAny, {
348
+ mode: "custom" | "none" | "stateful";
349
+ keep_resources?: string[] | undefined;
350
+ }, {
351
+ mode?: "custom" | "none" | "stateful" | undefined;
352
+ keep_resources?: string[] | undefined;
353
+ }>>;
354
+ /** Auth configuration for SSO integration (processed by auth plugins) */
355
+ auth: z.ZodOptional<z.ZodObject<{
356
+ provider: z.ZodString;
357
+ type: z.ZodString;
358
+ app_name: z.ZodString;
359
+ app_display_name: z.ZodOptional<z.ZodString>;
360
+ app_description: z.ZodOptional<z.ZodString>;
361
+ app_icon: z.ZodOptional<z.ZodString>;
362
+ app_group: z.ZodOptional<z.ZodString>;
363
+ app_launch_url: z.ZodOptional<z.ZodString>;
364
+ external_host: z.ZodOptional<z.ZodString>;
365
+ internal_host: z.ZodOptional<z.ZodString>;
366
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
367
+ }, "strip", z.ZodTypeAny, {
368
+ type: string;
369
+ provider: string;
370
+ app_name: string;
371
+ config?: Record<string, unknown> | undefined;
372
+ app_display_name?: string | undefined;
373
+ app_description?: string | undefined;
374
+ app_icon?: string | undefined;
375
+ app_group?: string | undefined;
376
+ app_launch_url?: string | undefined;
377
+ external_host?: string | undefined;
378
+ internal_host?: string | undefined;
379
+ }, {
380
+ type: string;
381
+ provider: string;
382
+ app_name: string;
383
+ config?: Record<string, unknown> | undefined;
384
+ app_display_name?: string | undefined;
385
+ app_description?: string | undefined;
386
+ app_icon?: string | undefined;
387
+ app_group?: string | undefined;
388
+ app_launch_url?: string | undefined;
389
+ external_host?: string | undefined;
390
+ internal_host?: string | undefined;
391
+ }>>;
392
+ }, "strip", z.ZodTypeAny, {
393
+ name: string;
394
+ path: string;
395
+ prune: boolean;
396
+ wait: boolean;
397
+ namespace?: {
398
+ default: string;
399
+ create: boolean;
400
+ } | undefined;
401
+ depends_on?: (string | {
402
+ raw: {
403
+ name: string;
404
+ namespace: string;
405
+ };
406
+ })[] | undefined;
407
+ substitutions?: ({
408
+ name: string;
409
+ type?: "generic" | undefined;
410
+ default?: string | undefined;
411
+ secret?: string | undefined;
412
+ preserve_case?: boolean | undefined;
413
+ } | {
414
+ name: string;
415
+ type: "version";
416
+ default?: string | undefined;
417
+ constraint?: string | undefined;
418
+ tag_pattern?: string | undefined;
419
+ exclude_prerelease?: boolean | undefined;
420
+ registry?: {
421
+ image: string;
422
+ type?: "dockerhub" | "ghcr" | undefined;
423
+ } | undefined;
424
+ } | {
425
+ name: string;
426
+ type: "helm";
427
+ default?: string | undefined;
428
+ constraint?: string | undefined;
429
+ tag_pattern?: string | undefined;
430
+ exclude_prerelease?: boolean | undefined;
431
+ helm?: {
432
+ chart: string;
433
+ repository?: string | undefined;
434
+ oci?: string | undefined;
435
+ } | undefined;
436
+ } | {
437
+ name: string;
438
+ type: "namespace";
439
+ default?: string | undefined;
440
+ } | {
441
+ name: string;
442
+ type: "1password";
443
+ default?: string | undefined;
444
+ ref?: string | undefined;
445
+ item?: string | undefined;
446
+ field?: string | undefined;
447
+ section?: string | undefined;
448
+ } | {
449
+ name: string;
450
+ type: "doppler";
451
+ secret: string;
452
+ default?: string | undefined;
453
+ project?: string | undefined;
454
+ config?: string | undefined;
455
+ })[] | undefined;
456
+ health_checks?: {
457
+ name: string;
458
+ kind: string;
459
+ namespace?: string | undefined;
460
+ api_version?: string | undefined;
461
+ }[] | undefined;
462
+ health_check_exprs?: {
463
+ kind: string;
464
+ api_version: string;
465
+ namespace?: string | undefined;
466
+ current?: string | undefined;
467
+ failed?: string | undefined;
468
+ }[] | undefined;
469
+ timeout?: string | undefined;
470
+ retry_interval?: string | undefined;
471
+ preservation?: {
472
+ mode: "custom" | "none" | "stateful";
473
+ keep_resources?: string[] | undefined;
474
+ } | undefined;
475
+ auth?: {
476
+ type: string;
477
+ provider: string;
478
+ app_name: string;
479
+ config?: Record<string, unknown> | undefined;
480
+ app_display_name?: string | undefined;
481
+ app_description?: string | undefined;
482
+ app_icon?: string | undefined;
483
+ app_group?: string | undefined;
484
+ app_launch_url?: string | undefined;
485
+ external_host?: string | undefined;
486
+ internal_host?: string | undefined;
487
+ } | undefined;
488
+ }, {
489
+ name: string;
490
+ path: string;
491
+ namespace?: {
492
+ default: string;
493
+ create?: boolean | undefined;
494
+ } | undefined;
495
+ depends_on?: (string | {
496
+ raw: {
497
+ name: string;
498
+ namespace: string;
499
+ };
500
+ })[] | undefined;
501
+ substitutions?: ({
502
+ name: string;
503
+ type?: "generic" | undefined;
504
+ default?: string | undefined;
505
+ secret?: string | undefined;
506
+ preserve_case?: boolean | undefined;
507
+ } | {
508
+ name: string;
509
+ type: "version";
510
+ default?: string | undefined;
511
+ constraint?: string | undefined;
512
+ tag_pattern?: string | undefined;
513
+ exclude_prerelease?: boolean | undefined;
514
+ registry?: {
515
+ image: string;
516
+ type?: "dockerhub" | "ghcr" | undefined;
517
+ } | undefined;
518
+ } | {
519
+ name: string;
520
+ type: "helm";
521
+ default?: string | undefined;
522
+ constraint?: string | undefined;
523
+ tag_pattern?: string | undefined;
524
+ exclude_prerelease?: boolean | undefined;
525
+ helm?: {
526
+ chart: string;
527
+ repository?: string | undefined;
528
+ oci?: string | undefined;
529
+ } | undefined;
530
+ } | {
531
+ name: string;
532
+ type: "namespace";
533
+ default?: string | undefined;
534
+ } | {
535
+ name: string;
536
+ type: "1password";
537
+ default?: string | undefined;
538
+ ref?: string | undefined;
539
+ item?: string | undefined;
540
+ field?: string | undefined;
541
+ section?: string | undefined;
542
+ } | {
543
+ name: string;
544
+ type: "doppler";
545
+ secret: string;
546
+ default?: string | undefined;
547
+ project?: string | undefined;
548
+ config?: string | undefined;
549
+ })[] | undefined;
550
+ health_checks?: {
551
+ name: string;
552
+ kind: string;
553
+ namespace?: string | undefined;
554
+ api_version?: string | undefined;
555
+ }[] | undefined;
556
+ health_check_exprs?: {
557
+ kind: string;
558
+ api_version: string;
559
+ namespace?: string | undefined;
560
+ current?: string | undefined;
561
+ failed?: string | undefined;
562
+ }[] | undefined;
563
+ prune?: boolean | undefined;
564
+ wait?: boolean | undefined;
565
+ timeout?: string | undefined;
566
+ retry_interval?: string | undefined;
567
+ preservation?: {
568
+ mode?: "custom" | "none" | "stateful" | undefined;
569
+ keep_resources?: string[] | undefined;
570
+ } | undefined;
571
+ auth?: {
572
+ type: string;
573
+ provider: string;
574
+ app_name: string;
575
+ config?: Record<string, unknown> | undefined;
576
+ app_display_name?: string | undefined;
577
+ app_description?: string | undefined;
578
+ app_icon?: string | undefined;
579
+ app_group?: string | undefined;
580
+ app_launch_url?: string | undefined;
581
+ external_host?: string | undefined;
582
+ internal_host?: string | undefined;
583
+ } | undefined;
584
+ }>;
585
+ export type KustomizationType = z.infer<typeof kustomization_schema>;
586
+ /**
587
+ * Node label requirement - requires specific labels to be present on cluster nodes.
588
+ */
589
+ export declare const node_label_requirement_schema: z.ZodObject<{
590
+ type: z.ZodLiteral<"nodeLabel">;
591
+ key: z.ZodString;
592
+ value: z.ZodOptional<z.ZodString>;
593
+ atLeast: z.ZodDefault<z.ZodNumber>;
594
+ }, "strip", z.ZodTypeAny, {
595
+ type: "nodeLabel";
596
+ key: string;
597
+ atLeast: number;
598
+ value?: string | undefined;
599
+ }, {
600
+ type: "nodeLabel";
601
+ key: string;
602
+ value?: string | undefined;
603
+ atLeast?: number | undefined;
604
+ }>;
605
+ export type NodeLabelRequirementType = z.infer<typeof node_label_requirement_schema>;
606
+ /**
607
+ * Template requirement - validates cluster prerequisites before deployment.
608
+ * Currently supports node label requirements, extensible for future types.
609
+ */
610
+ export declare const template_requirement_schema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
611
+ type: z.ZodLiteral<"nodeLabel">;
612
+ key: z.ZodString;
613
+ value: z.ZodOptional<z.ZodString>;
614
+ atLeast: z.ZodDefault<z.ZodNumber>;
615
+ }, "strip", z.ZodTypeAny, {
616
+ type: "nodeLabel";
617
+ key: string;
618
+ atLeast: number;
619
+ value?: string | undefined;
620
+ }, {
621
+ type: "nodeLabel";
622
+ key: string;
623
+ value?: string | undefined;
624
+ atLeast?: number | undefined;
625
+ }>]>;
626
+ export type TemplateRequirementType = z.infer<typeof template_requirement_schema>;
627
+ /**
628
+ * Template specification containing kustomizations.
629
+ */
630
+ export declare const template_spec_schema: z.ZodObject<{
631
+ requirements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
632
+ type: z.ZodLiteral<"nodeLabel">;
633
+ key: z.ZodString;
634
+ value: z.ZodOptional<z.ZodString>;
635
+ atLeast: z.ZodDefault<z.ZodNumber>;
636
+ }, "strip", z.ZodTypeAny, {
637
+ type: "nodeLabel";
638
+ key: string;
639
+ atLeast: number;
640
+ value?: string | undefined;
641
+ }, {
642
+ type: "nodeLabel";
643
+ key: string;
644
+ value?: string | undefined;
645
+ atLeast?: number | undefined;
646
+ }>]>, "many">>;
647
+ /** Template-level version tracking, shared across all kustomizations */
648
+ versions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
649
+ name: z.ZodString;
650
+ default: z.ZodOptional<z.ZodString>;
651
+ constraint: z.ZodOptional<z.ZodString>;
652
+ tag_pattern: z.ZodOptional<z.ZodString>;
653
+ exclude_prerelease: z.ZodOptional<z.ZodBoolean>;
654
+ } & {
655
+ registry: z.ZodObject<{
656
+ image: z.ZodString;
657
+ type: z.ZodOptional<z.ZodEnum<["dockerhub", "ghcr"]>>;
658
+ }, "strip", z.ZodTypeAny, {
659
+ image: string;
660
+ type?: "dockerhub" | "ghcr" | undefined;
661
+ }, {
662
+ image: string;
663
+ type?: "dockerhub" | "ghcr" | undefined;
664
+ }>;
665
+ }, "strip", z.ZodTypeAny, {
666
+ name: string;
667
+ registry: {
668
+ image: string;
669
+ type?: "dockerhub" | "ghcr" | undefined;
670
+ };
671
+ default?: string | undefined;
672
+ constraint?: string | undefined;
673
+ tag_pattern?: string | undefined;
674
+ exclude_prerelease?: boolean | undefined;
675
+ }, {
676
+ name: string;
677
+ registry: {
678
+ image: string;
679
+ type?: "dockerhub" | "ghcr" | undefined;
680
+ };
681
+ default?: string | undefined;
682
+ constraint?: string | undefined;
683
+ tag_pattern?: string | undefined;
684
+ exclude_prerelease?: boolean | undefined;
685
+ }>, z.ZodObject<{
686
+ name: z.ZodString;
687
+ default: z.ZodOptional<z.ZodString>;
688
+ constraint: z.ZodOptional<z.ZodString>;
689
+ tag_pattern: z.ZodOptional<z.ZodString>;
690
+ exclude_prerelease: z.ZodOptional<z.ZodBoolean>;
691
+ } & {
692
+ helm: z.ZodEffects<z.ZodObject<{
693
+ repository: z.ZodOptional<z.ZodString>;
694
+ oci: z.ZodOptional<z.ZodString>;
695
+ chart: z.ZodString;
696
+ }, "strip", z.ZodTypeAny, {
697
+ chart: string;
698
+ repository?: string | undefined;
699
+ oci?: string | undefined;
700
+ }, {
701
+ chart: string;
702
+ repository?: string | undefined;
703
+ oci?: string | undefined;
704
+ }>, {
705
+ chart: string;
706
+ repository?: string | undefined;
707
+ oci?: string | undefined;
708
+ }, {
709
+ chart: string;
710
+ repository?: string | undefined;
711
+ oci?: string | undefined;
712
+ }>;
713
+ }, "strip", z.ZodTypeAny, {
714
+ name: string;
715
+ helm: {
716
+ chart: string;
717
+ repository?: string | undefined;
718
+ oci?: string | undefined;
719
+ };
720
+ default?: string | undefined;
721
+ constraint?: string | undefined;
722
+ tag_pattern?: string | undefined;
723
+ exclude_prerelease?: boolean | undefined;
724
+ }, {
725
+ name: string;
726
+ helm: {
727
+ chart: string;
728
+ repository?: string | undefined;
729
+ oci?: string | undefined;
730
+ };
731
+ default?: string | undefined;
732
+ constraint?: string | undefined;
733
+ tag_pattern?: string | undefined;
734
+ exclude_prerelease?: boolean | undefined;
735
+ }>]>, "many">>;
736
+ kustomizations: z.ZodArray<z.ZodObject<{
737
+ name: z.ZodString;
738
+ path: z.ZodString;
739
+ namespace: z.ZodOptional<z.ZodObject<{
740
+ default: z.ZodString;
741
+ create: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
742
+ }, "strip", z.ZodTypeAny, {
743
+ default: string;
744
+ create: boolean;
745
+ }, {
746
+ default: string;
747
+ create?: boolean | undefined;
748
+ }>>;
749
+ depends_on: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
750
+ raw: z.ZodObject<{
751
+ name: z.ZodString;
752
+ namespace: z.ZodString;
753
+ }, "strip", z.ZodTypeAny, {
754
+ name: string;
755
+ namespace: string;
756
+ }, {
757
+ name: string;
758
+ namespace: string;
759
+ }>;
760
+ }, "strip", z.ZodTypeAny, {
761
+ raw: {
762
+ name: string;
763
+ namespace: string;
764
+ };
765
+ }, {
766
+ raw: {
767
+ name: string;
768
+ namespace: string;
769
+ };
770
+ }>]>, "many">>;
771
+ substitutions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
772
+ type: z.ZodLiteral<"version">;
773
+ name: z.ZodString;
774
+ default: z.ZodOptional<z.ZodString>;
775
+ constraint: z.ZodOptional<z.ZodString>;
776
+ registry: z.ZodOptional<z.ZodObject<{
777
+ image: z.ZodString;
778
+ type: z.ZodOptional<z.ZodEnum<["dockerhub", "ghcr"]>>;
779
+ }, "strip", z.ZodTypeAny, {
780
+ image: string;
781
+ type?: "dockerhub" | "ghcr" | undefined;
782
+ }, {
783
+ image: string;
784
+ type?: "dockerhub" | "ghcr" | undefined;
785
+ }>>;
786
+ tag_pattern: z.ZodOptional<z.ZodString>;
787
+ exclude_prerelease: z.ZodOptional<z.ZodBoolean>;
788
+ }, "strip", z.ZodTypeAny, {
789
+ name: string;
790
+ type: "version";
791
+ default?: string | undefined;
792
+ constraint?: string | undefined;
793
+ tag_pattern?: string | undefined;
794
+ exclude_prerelease?: boolean | undefined;
795
+ registry?: {
796
+ image: string;
797
+ type?: "dockerhub" | "ghcr" | undefined;
798
+ } | undefined;
799
+ }, {
800
+ name: string;
801
+ type: "version";
802
+ default?: string | undefined;
803
+ constraint?: string | undefined;
804
+ tag_pattern?: string | undefined;
805
+ exclude_prerelease?: boolean | undefined;
806
+ registry?: {
807
+ image: string;
808
+ type?: "dockerhub" | "ghcr" | undefined;
809
+ } | undefined;
810
+ }>, z.ZodObject<{
811
+ type: z.ZodLiteral<"helm">;
812
+ name: z.ZodString;
813
+ default: z.ZodOptional<z.ZodString>;
814
+ constraint: z.ZodOptional<z.ZodString>;
815
+ helm: z.ZodOptional<z.ZodEffects<z.ZodObject<{
816
+ repository: z.ZodOptional<z.ZodString>;
817
+ oci: z.ZodOptional<z.ZodString>;
818
+ chart: z.ZodString;
819
+ }, "strip", z.ZodTypeAny, {
820
+ chart: string;
821
+ repository?: string | undefined;
822
+ oci?: string | undefined;
823
+ }, {
824
+ chart: string;
825
+ repository?: string | undefined;
826
+ oci?: string | undefined;
827
+ }>, {
828
+ chart: string;
829
+ repository?: string | undefined;
830
+ oci?: string | undefined;
831
+ }, {
832
+ chart: string;
833
+ repository?: string | undefined;
834
+ oci?: string | undefined;
835
+ }>>;
836
+ tag_pattern: z.ZodOptional<z.ZodString>;
837
+ exclude_prerelease: z.ZodOptional<z.ZodBoolean>;
838
+ }, "strip", z.ZodTypeAny, {
839
+ name: string;
840
+ type: "helm";
841
+ default?: string | undefined;
842
+ constraint?: string | undefined;
843
+ tag_pattern?: string | undefined;
844
+ exclude_prerelease?: boolean | undefined;
845
+ helm?: {
846
+ chart: string;
847
+ repository?: string | undefined;
848
+ oci?: string | undefined;
849
+ } | undefined;
850
+ }, {
851
+ name: string;
852
+ type: "helm";
853
+ default?: string | undefined;
854
+ constraint?: string | undefined;
855
+ tag_pattern?: string | undefined;
856
+ exclude_prerelease?: boolean | undefined;
857
+ helm?: {
858
+ chart: string;
859
+ repository?: string | undefined;
860
+ oci?: string | undefined;
861
+ } | undefined;
862
+ }>, z.ZodObject<{
863
+ type: z.ZodLiteral<"namespace">;
864
+ name: z.ZodString;
865
+ default: z.ZodOptional<z.ZodString>;
866
+ }, "strip", z.ZodTypeAny, {
867
+ name: string;
868
+ type: "namespace";
869
+ default?: string | undefined;
870
+ }, {
871
+ name: string;
872
+ type: "namespace";
873
+ default?: string | undefined;
874
+ }>, z.ZodEffects<z.ZodObject<{
875
+ type: z.ZodLiteral<"1password">;
876
+ name: z.ZodString;
877
+ ref: z.ZodOptional<z.ZodString>;
878
+ item: z.ZodOptional<z.ZodString>;
879
+ field: z.ZodOptional<z.ZodString>;
880
+ section: z.ZodOptional<z.ZodString>;
881
+ default: z.ZodOptional<z.ZodString>;
882
+ }, "strip", z.ZodTypeAny, {
883
+ name: string;
884
+ type: "1password";
885
+ default?: string | undefined;
886
+ ref?: string | undefined;
887
+ item?: string | undefined;
888
+ field?: string | undefined;
889
+ section?: string | undefined;
890
+ }, {
891
+ name: string;
892
+ type: "1password";
893
+ default?: string | undefined;
894
+ ref?: string | undefined;
895
+ item?: string | undefined;
896
+ field?: string | undefined;
897
+ section?: string | undefined;
898
+ }>, {
899
+ name: string;
900
+ type: "1password";
901
+ default?: string | undefined;
902
+ ref?: string | undefined;
903
+ item?: string | undefined;
904
+ field?: string | undefined;
905
+ section?: string | undefined;
906
+ }, {
907
+ name: string;
908
+ type: "1password";
909
+ default?: string | undefined;
910
+ ref?: string | undefined;
911
+ item?: string | undefined;
912
+ field?: string | undefined;
913
+ section?: string | undefined;
914
+ }>, z.ZodObject<{
915
+ type: z.ZodLiteral<"doppler">;
916
+ name: z.ZodString;
917
+ project: z.ZodOptional<z.ZodString>;
918
+ config: z.ZodOptional<z.ZodString>;
919
+ secret: z.ZodString;
920
+ default: z.ZodOptional<z.ZodString>;
921
+ }, "strip", z.ZodTypeAny, {
922
+ name: string;
923
+ type: "doppler";
924
+ secret: string;
925
+ default?: string | undefined;
926
+ project?: string | undefined;
927
+ config?: string | undefined;
928
+ }, {
929
+ name: string;
930
+ type: "doppler";
931
+ secret: string;
932
+ default?: string | undefined;
933
+ project?: string | undefined;
934
+ config?: string | undefined;
935
+ }>, z.ZodObject<{
936
+ type: z.ZodOptional<z.ZodLiteral<"generic">>;
937
+ name: z.ZodString;
938
+ default: z.ZodOptional<z.ZodString>;
939
+ secret: z.ZodOptional<z.ZodString>;
940
+ preserve_case: z.ZodOptional<z.ZodBoolean>;
941
+ }, "strip", z.ZodTypeAny, {
942
+ name: string;
943
+ type?: "generic" | undefined;
944
+ default?: string | undefined;
945
+ secret?: string | undefined;
946
+ preserve_case?: boolean | undefined;
947
+ }, {
948
+ name: string;
949
+ type?: "generic" | undefined;
950
+ default?: string | undefined;
951
+ secret?: string | undefined;
952
+ preserve_case?: boolean | undefined;
953
+ }>]>, "many">>;
954
+ health_checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
955
+ kind: z.ZodString;
956
+ name: z.ZodString;
957
+ namespace: z.ZodOptional<z.ZodString>;
958
+ api_version: z.ZodOptional<z.ZodString>;
959
+ }, "strip", z.ZodTypeAny, {
960
+ name: string;
961
+ kind: string;
962
+ namespace?: string | undefined;
963
+ api_version?: string | undefined;
964
+ }, {
965
+ name: string;
966
+ kind: string;
967
+ namespace?: string | undefined;
968
+ api_version?: string | undefined;
969
+ }>, "many">>;
970
+ health_check_exprs: z.ZodOptional<z.ZodArray<z.ZodObject<{
971
+ api_version: z.ZodString;
972
+ kind: z.ZodString;
973
+ namespace: z.ZodOptional<z.ZodString>;
974
+ current: z.ZodOptional<z.ZodString>;
975
+ failed: z.ZodOptional<z.ZodString>;
976
+ }, "strip", z.ZodTypeAny, {
977
+ kind: string;
978
+ api_version: string;
979
+ namespace?: string | undefined;
980
+ current?: string | undefined;
981
+ failed?: string | undefined;
982
+ }, {
983
+ kind: string;
984
+ api_version: string;
985
+ namespace?: string | undefined;
986
+ current?: string | undefined;
987
+ failed?: string | undefined;
988
+ }>, "many">>;
989
+ prune: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
990
+ wait: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
991
+ timeout: z.ZodOptional<z.ZodString>;
992
+ retry_interval: z.ZodOptional<z.ZodString>;
993
+ preservation: z.ZodOptional<z.ZodObject<{
994
+ mode: z.ZodDefault<z.ZodEnum<["none", "stateful", "custom"]>>;
995
+ keep_resources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
996
+ }, "strip", z.ZodTypeAny, {
997
+ mode: "custom" | "none" | "stateful";
998
+ keep_resources?: string[] | undefined;
999
+ }, {
1000
+ mode?: "custom" | "none" | "stateful" | undefined;
1001
+ keep_resources?: string[] | undefined;
1002
+ }>>;
1003
+ /** Auth configuration for SSO integration (processed by auth plugins) */
1004
+ auth: z.ZodOptional<z.ZodObject<{
1005
+ provider: z.ZodString;
1006
+ type: z.ZodString;
1007
+ app_name: z.ZodString;
1008
+ app_display_name: z.ZodOptional<z.ZodString>;
1009
+ app_description: z.ZodOptional<z.ZodString>;
1010
+ app_icon: z.ZodOptional<z.ZodString>;
1011
+ app_group: z.ZodOptional<z.ZodString>;
1012
+ app_launch_url: z.ZodOptional<z.ZodString>;
1013
+ external_host: z.ZodOptional<z.ZodString>;
1014
+ internal_host: z.ZodOptional<z.ZodString>;
1015
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1016
+ }, "strip", z.ZodTypeAny, {
1017
+ type: string;
1018
+ provider: string;
1019
+ app_name: string;
1020
+ config?: Record<string, unknown> | undefined;
1021
+ app_display_name?: string | undefined;
1022
+ app_description?: string | undefined;
1023
+ app_icon?: string | undefined;
1024
+ app_group?: string | undefined;
1025
+ app_launch_url?: string | undefined;
1026
+ external_host?: string | undefined;
1027
+ internal_host?: string | undefined;
1028
+ }, {
1029
+ type: string;
1030
+ provider: string;
1031
+ app_name: string;
1032
+ config?: Record<string, unknown> | undefined;
1033
+ app_display_name?: string | undefined;
1034
+ app_description?: string | undefined;
1035
+ app_icon?: string | undefined;
1036
+ app_group?: string | undefined;
1037
+ app_launch_url?: string | undefined;
1038
+ external_host?: string | undefined;
1039
+ internal_host?: string | undefined;
1040
+ }>>;
1041
+ }, "strip", z.ZodTypeAny, {
1042
+ name: string;
1043
+ path: string;
1044
+ prune: boolean;
1045
+ wait: boolean;
1046
+ namespace?: {
1047
+ default: string;
1048
+ create: boolean;
1049
+ } | undefined;
1050
+ depends_on?: (string | {
1051
+ raw: {
1052
+ name: string;
1053
+ namespace: string;
1054
+ };
1055
+ })[] | undefined;
1056
+ substitutions?: ({
1057
+ name: string;
1058
+ type?: "generic" | undefined;
1059
+ default?: string | undefined;
1060
+ secret?: string | undefined;
1061
+ preserve_case?: boolean | undefined;
1062
+ } | {
1063
+ name: string;
1064
+ type: "version";
1065
+ default?: string | undefined;
1066
+ constraint?: string | undefined;
1067
+ tag_pattern?: string | undefined;
1068
+ exclude_prerelease?: boolean | undefined;
1069
+ registry?: {
1070
+ image: string;
1071
+ type?: "dockerhub" | "ghcr" | undefined;
1072
+ } | undefined;
1073
+ } | {
1074
+ name: string;
1075
+ type: "helm";
1076
+ default?: string | undefined;
1077
+ constraint?: string | undefined;
1078
+ tag_pattern?: string | undefined;
1079
+ exclude_prerelease?: boolean | undefined;
1080
+ helm?: {
1081
+ chart: string;
1082
+ repository?: string | undefined;
1083
+ oci?: string | undefined;
1084
+ } | undefined;
1085
+ } | {
1086
+ name: string;
1087
+ type: "namespace";
1088
+ default?: string | undefined;
1089
+ } | {
1090
+ name: string;
1091
+ type: "1password";
1092
+ default?: string | undefined;
1093
+ ref?: string | undefined;
1094
+ item?: string | undefined;
1095
+ field?: string | undefined;
1096
+ section?: string | undefined;
1097
+ } | {
1098
+ name: string;
1099
+ type: "doppler";
1100
+ secret: string;
1101
+ default?: string | undefined;
1102
+ project?: string | undefined;
1103
+ config?: string | undefined;
1104
+ })[] | undefined;
1105
+ health_checks?: {
1106
+ name: string;
1107
+ kind: string;
1108
+ namespace?: string | undefined;
1109
+ api_version?: string | undefined;
1110
+ }[] | undefined;
1111
+ health_check_exprs?: {
1112
+ kind: string;
1113
+ api_version: string;
1114
+ namespace?: string | undefined;
1115
+ current?: string | undefined;
1116
+ failed?: string | undefined;
1117
+ }[] | undefined;
1118
+ timeout?: string | undefined;
1119
+ retry_interval?: string | undefined;
1120
+ preservation?: {
1121
+ mode: "custom" | "none" | "stateful";
1122
+ keep_resources?: string[] | undefined;
1123
+ } | undefined;
1124
+ auth?: {
1125
+ type: string;
1126
+ provider: string;
1127
+ app_name: string;
1128
+ config?: Record<string, unknown> | undefined;
1129
+ app_display_name?: string | undefined;
1130
+ app_description?: string | undefined;
1131
+ app_icon?: string | undefined;
1132
+ app_group?: string | undefined;
1133
+ app_launch_url?: string | undefined;
1134
+ external_host?: string | undefined;
1135
+ internal_host?: string | undefined;
1136
+ } | undefined;
1137
+ }, {
1138
+ name: string;
1139
+ path: string;
1140
+ namespace?: {
1141
+ default: string;
1142
+ create?: boolean | undefined;
1143
+ } | undefined;
1144
+ depends_on?: (string | {
1145
+ raw: {
1146
+ name: string;
1147
+ namespace: string;
1148
+ };
1149
+ })[] | undefined;
1150
+ substitutions?: ({
1151
+ name: string;
1152
+ type?: "generic" | undefined;
1153
+ default?: string | undefined;
1154
+ secret?: string | undefined;
1155
+ preserve_case?: boolean | undefined;
1156
+ } | {
1157
+ name: string;
1158
+ type: "version";
1159
+ default?: string | undefined;
1160
+ constraint?: string | undefined;
1161
+ tag_pattern?: string | undefined;
1162
+ exclude_prerelease?: boolean | undefined;
1163
+ registry?: {
1164
+ image: string;
1165
+ type?: "dockerhub" | "ghcr" | undefined;
1166
+ } | undefined;
1167
+ } | {
1168
+ name: string;
1169
+ type: "helm";
1170
+ default?: string | undefined;
1171
+ constraint?: string | undefined;
1172
+ tag_pattern?: string | undefined;
1173
+ exclude_prerelease?: boolean | undefined;
1174
+ helm?: {
1175
+ chart: string;
1176
+ repository?: string | undefined;
1177
+ oci?: string | undefined;
1178
+ } | undefined;
1179
+ } | {
1180
+ name: string;
1181
+ type: "namespace";
1182
+ default?: string | undefined;
1183
+ } | {
1184
+ name: string;
1185
+ type: "1password";
1186
+ default?: string | undefined;
1187
+ ref?: string | undefined;
1188
+ item?: string | undefined;
1189
+ field?: string | undefined;
1190
+ section?: string | undefined;
1191
+ } | {
1192
+ name: string;
1193
+ type: "doppler";
1194
+ secret: string;
1195
+ default?: string | undefined;
1196
+ project?: string | undefined;
1197
+ config?: string | undefined;
1198
+ })[] | undefined;
1199
+ health_checks?: {
1200
+ name: string;
1201
+ kind: string;
1202
+ namespace?: string | undefined;
1203
+ api_version?: string | undefined;
1204
+ }[] | undefined;
1205
+ health_check_exprs?: {
1206
+ kind: string;
1207
+ api_version: string;
1208
+ namespace?: string | undefined;
1209
+ current?: string | undefined;
1210
+ failed?: string | undefined;
1211
+ }[] | undefined;
1212
+ prune?: boolean | undefined;
1213
+ wait?: boolean | undefined;
1214
+ timeout?: string | undefined;
1215
+ retry_interval?: string | undefined;
1216
+ preservation?: {
1217
+ mode?: "custom" | "none" | "stateful" | undefined;
1218
+ keep_resources?: string[] | undefined;
1219
+ } | undefined;
1220
+ auth?: {
1221
+ type: string;
1222
+ provider: string;
1223
+ app_name: string;
1224
+ config?: Record<string, unknown> | undefined;
1225
+ app_display_name?: string | undefined;
1226
+ app_description?: string | undefined;
1227
+ app_icon?: string | undefined;
1228
+ app_group?: string | undefined;
1229
+ app_launch_url?: string | undefined;
1230
+ external_host?: string | undefined;
1231
+ internal_host?: string | undefined;
1232
+ } | undefined;
1233
+ }>, "many">;
1234
+ }, "strip", z.ZodTypeAny, {
1235
+ kustomizations: {
1236
+ name: string;
1237
+ path: string;
1238
+ prune: boolean;
1239
+ wait: boolean;
1240
+ namespace?: {
1241
+ default: string;
1242
+ create: boolean;
1243
+ } | undefined;
1244
+ depends_on?: (string | {
1245
+ raw: {
1246
+ name: string;
1247
+ namespace: string;
1248
+ };
1249
+ })[] | undefined;
1250
+ substitutions?: ({
1251
+ name: string;
1252
+ type?: "generic" | undefined;
1253
+ default?: string | undefined;
1254
+ secret?: string | undefined;
1255
+ preserve_case?: boolean | undefined;
1256
+ } | {
1257
+ name: string;
1258
+ type: "version";
1259
+ default?: string | undefined;
1260
+ constraint?: string | undefined;
1261
+ tag_pattern?: string | undefined;
1262
+ exclude_prerelease?: boolean | undefined;
1263
+ registry?: {
1264
+ image: string;
1265
+ type?: "dockerhub" | "ghcr" | undefined;
1266
+ } | undefined;
1267
+ } | {
1268
+ name: string;
1269
+ type: "helm";
1270
+ default?: string | undefined;
1271
+ constraint?: string | undefined;
1272
+ tag_pattern?: string | undefined;
1273
+ exclude_prerelease?: boolean | undefined;
1274
+ helm?: {
1275
+ chart: string;
1276
+ repository?: string | undefined;
1277
+ oci?: string | undefined;
1278
+ } | undefined;
1279
+ } | {
1280
+ name: string;
1281
+ type: "namespace";
1282
+ default?: string | undefined;
1283
+ } | {
1284
+ name: string;
1285
+ type: "1password";
1286
+ default?: string | undefined;
1287
+ ref?: string | undefined;
1288
+ item?: string | undefined;
1289
+ field?: string | undefined;
1290
+ section?: string | undefined;
1291
+ } | {
1292
+ name: string;
1293
+ type: "doppler";
1294
+ secret: string;
1295
+ default?: string | undefined;
1296
+ project?: string | undefined;
1297
+ config?: string | undefined;
1298
+ })[] | undefined;
1299
+ health_checks?: {
1300
+ name: string;
1301
+ kind: string;
1302
+ namespace?: string | undefined;
1303
+ api_version?: string | undefined;
1304
+ }[] | undefined;
1305
+ health_check_exprs?: {
1306
+ kind: string;
1307
+ api_version: string;
1308
+ namespace?: string | undefined;
1309
+ current?: string | undefined;
1310
+ failed?: string | undefined;
1311
+ }[] | undefined;
1312
+ timeout?: string | undefined;
1313
+ retry_interval?: string | undefined;
1314
+ preservation?: {
1315
+ mode: "custom" | "none" | "stateful";
1316
+ keep_resources?: string[] | undefined;
1317
+ } | undefined;
1318
+ auth?: {
1319
+ type: string;
1320
+ provider: string;
1321
+ app_name: string;
1322
+ config?: Record<string, unknown> | undefined;
1323
+ app_display_name?: string | undefined;
1324
+ app_description?: string | undefined;
1325
+ app_icon?: string | undefined;
1326
+ app_group?: string | undefined;
1327
+ app_launch_url?: string | undefined;
1328
+ external_host?: string | undefined;
1329
+ internal_host?: string | undefined;
1330
+ } | undefined;
1331
+ }[];
1332
+ requirements?: {
1333
+ type: "nodeLabel";
1334
+ key: string;
1335
+ atLeast: number;
1336
+ value?: string | undefined;
1337
+ }[] | undefined;
1338
+ versions?: ({
1339
+ name: string;
1340
+ registry: {
1341
+ image: string;
1342
+ type?: "dockerhub" | "ghcr" | undefined;
1343
+ };
1344
+ default?: string | undefined;
1345
+ constraint?: string | undefined;
1346
+ tag_pattern?: string | undefined;
1347
+ exclude_prerelease?: boolean | undefined;
1348
+ } | {
1349
+ name: string;
1350
+ helm: {
1351
+ chart: string;
1352
+ repository?: string | undefined;
1353
+ oci?: string | undefined;
1354
+ };
1355
+ default?: string | undefined;
1356
+ constraint?: string | undefined;
1357
+ tag_pattern?: string | undefined;
1358
+ exclude_prerelease?: boolean | undefined;
1359
+ })[] | undefined;
1360
+ }, {
1361
+ kustomizations: {
1362
+ name: string;
1363
+ path: string;
1364
+ namespace?: {
1365
+ default: string;
1366
+ create?: boolean | undefined;
1367
+ } | undefined;
1368
+ depends_on?: (string | {
1369
+ raw: {
1370
+ name: string;
1371
+ namespace: string;
1372
+ };
1373
+ })[] | undefined;
1374
+ substitutions?: ({
1375
+ name: string;
1376
+ type?: "generic" | undefined;
1377
+ default?: string | undefined;
1378
+ secret?: string | undefined;
1379
+ preserve_case?: boolean | undefined;
1380
+ } | {
1381
+ name: string;
1382
+ type: "version";
1383
+ default?: string | undefined;
1384
+ constraint?: string | undefined;
1385
+ tag_pattern?: string | undefined;
1386
+ exclude_prerelease?: boolean | undefined;
1387
+ registry?: {
1388
+ image: string;
1389
+ type?: "dockerhub" | "ghcr" | undefined;
1390
+ } | undefined;
1391
+ } | {
1392
+ name: string;
1393
+ type: "helm";
1394
+ default?: string | undefined;
1395
+ constraint?: string | undefined;
1396
+ tag_pattern?: string | undefined;
1397
+ exclude_prerelease?: boolean | undefined;
1398
+ helm?: {
1399
+ chart: string;
1400
+ repository?: string | undefined;
1401
+ oci?: string | undefined;
1402
+ } | undefined;
1403
+ } | {
1404
+ name: string;
1405
+ type: "namespace";
1406
+ default?: string | undefined;
1407
+ } | {
1408
+ name: string;
1409
+ type: "1password";
1410
+ default?: string | undefined;
1411
+ ref?: string | undefined;
1412
+ item?: string | undefined;
1413
+ field?: string | undefined;
1414
+ section?: string | undefined;
1415
+ } | {
1416
+ name: string;
1417
+ type: "doppler";
1418
+ secret: string;
1419
+ default?: string | undefined;
1420
+ project?: string | undefined;
1421
+ config?: string | undefined;
1422
+ })[] | undefined;
1423
+ health_checks?: {
1424
+ name: string;
1425
+ kind: string;
1426
+ namespace?: string | undefined;
1427
+ api_version?: string | undefined;
1428
+ }[] | undefined;
1429
+ health_check_exprs?: {
1430
+ kind: string;
1431
+ api_version: string;
1432
+ namespace?: string | undefined;
1433
+ current?: string | undefined;
1434
+ failed?: string | undefined;
1435
+ }[] | undefined;
1436
+ prune?: boolean | undefined;
1437
+ wait?: boolean | undefined;
1438
+ timeout?: string | undefined;
1439
+ retry_interval?: string | undefined;
1440
+ preservation?: {
1441
+ mode?: "custom" | "none" | "stateful" | undefined;
1442
+ keep_resources?: string[] | undefined;
1443
+ } | undefined;
1444
+ auth?: {
1445
+ type: string;
1446
+ provider: string;
1447
+ app_name: string;
1448
+ config?: Record<string, unknown> | undefined;
1449
+ app_display_name?: string | undefined;
1450
+ app_description?: string | undefined;
1451
+ app_icon?: string | undefined;
1452
+ app_group?: string | undefined;
1453
+ app_launch_url?: string | undefined;
1454
+ external_host?: string | undefined;
1455
+ internal_host?: string | undefined;
1456
+ } | undefined;
1457
+ }[];
1458
+ requirements?: {
1459
+ type: "nodeLabel";
1460
+ key: string;
1461
+ value?: string | undefined;
1462
+ atLeast?: number | undefined;
1463
+ }[] | undefined;
1464
+ versions?: ({
1465
+ name: string;
1466
+ registry: {
1467
+ image: string;
1468
+ type?: "dockerhub" | "ghcr" | undefined;
1469
+ };
1470
+ default?: string | undefined;
1471
+ constraint?: string | undefined;
1472
+ tag_pattern?: string | undefined;
1473
+ exclude_prerelease?: boolean | undefined;
1474
+ } | {
1475
+ name: string;
1476
+ helm: {
1477
+ chart: string;
1478
+ repository?: string | undefined;
1479
+ oci?: string | undefined;
1480
+ };
1481
+ default?: string | undefined;
1482
+ constraint?: string | undefined;
1483
+ tag_pattern?: string | undefined;
1484
+ exclude_prerelease?: boolean | undefined;
1485
+ })[] | undefined;
1486
+ }>;
1487
+ export type TemplateSpecType = z.infer<typeof template_spec_schema>;
1488
+ /**
1489
+ * Complete Template resource definition.
1490
+ */
1491
+ export declare const template_schema: z.ZodObject<{
1492
+ apiVersion: z.ZodLiteral<"kustodian.io/v1">;
1493
+ kind: z.ZodLiteral<"Template">;
1494
+ metadata: z.ZodObject<{
1495
+ name: z.ZodString;
1496
+ }, "strip", z.ZodTypeAny, {
1497
+ name: string;
1498
+ }, {
1499
+ name: string;
1500
+ }>;
1501
+ spec: z.ZodObject<{
1502
+ requirements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1503
+ type: z.ZodLiteral<"nodeLabel">;
1504
+ key: z.ZodString;
1505
+ value: z.ZodOptional<z.ZodString>;
1506
+ atLeast: z.ZodDefault<z.ZodNumber>;
1507
+ }, "strip", z.ZodTypeAny, {
1508
+ type: "nodeLabel";
1509
+ key: string;
1510
+ atLeast: number;
1511
+ value?: string | undefined;
1512
+ }, {
1513
+ type: "nodeLabel";
1514
+ key: string;
1515
+ value?: string | undefined;
1516
+ atLeast?: number | undefined;
1517
+ }>]>, "many">>;
1518
+ /** Template-level version tracking, shared across all kustomizations */
1519
+ versions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1520
+ name: z.ZodString;
1521
+ default: z.ZodOptional<z.ZodString>;
1522
+ constraint: z.ZodOptional<z.ZodString>;
1523
+ tag_pattern: z.ZodOptional<z.ZodString>;
1524
+ exclude_prerelease: z.ZodOptional<z.ZodBoolean>;
1525
+ } & {
1526
+ registry: z.ZodObject<{
1527
+ image: z.ZodString;
1528
+ type: z.ZodOptional<z.ZodEnum<["dockerhub", "ghcr"]>>;
1529
+ }, "strip", z.ZodTypeAny, {
1530
+ image: string;
1531
+ type?: "dockerhub" | "ghcr" | undefined;
1532
+ }, {
1533
+ image: string;
1534
+ type?: "dockerhub" | "ghcr" | undefined;
1535
+ }>;
1536
+ }, "strip", z.ZodTypeAny, {
1537
+ name: string;
1538
+ registry: {
1539
+ image: string;
1540
+ type?: "dockerhub" | "ghcr" | undefined;
1541
+ };
1542
+ default?: string | undefined;
1543
+ constraint?: string | undefined;
1544
+ tag_pattern?: string | undefined;
1545
+ exclude_prerelease?: boolean | undefined;
1546
+ }, {
1547
+ name: string;
1548
+ registry: {
1549
+ image: string;
1550
+ type?: "dockerhub" | "ghcr" | undefined;
1551
+ };
1552
+ default?: string | undefined;
1553
+ constraint?: string | undefined;
1554
+ tag_pattern?: string | undefined;
1555
+ exclude_prerelease?: boolean | undefined;
1556
+ }>, z.ZodObject<{
1557
+ name: z.ZodString;
1558
+ default: z.ZodOptional<z.ZodString>;
1559
+ constraint: z.ZodOptional<z.ZodString>;
1560
+ tag_pattern: z.ZodOptional<z.ZodString>;
1561
+ exclude_prerelease: z.ZodOptional<z.ZodBoolean>;
1562
+ } & {
1563
+ helm: z.ZodEffects<z.ZodObject<{
1564
+ repository: z.ZodOptional<z.ZodString>;
1565
+ oci: z.ZodOptional<z.ZodString>;
1566
+ chart: z.ZodString;
1567
+ }, "strip", z.ZodTypeAny, {
1568
+ chart: string;
1569
+ repository?: string | undefined;
1570
+ oci?: string | undefined;
1571
+ }, {
1572
+ chart: string;
1573
+ repository?: string | undefined;
1574
+ oci?: string | undefined;
1575
+ }>, {
1576
+ chart: string;
1577
+ repository?: string | undefined;
1578
+ oci?: string | undefined;
1579
+ }, {
1580
+ chart: string;
1581
+ repository?: string | undefined;
1582
+ oci?: string | undefined;
1583
+ }>;
1584
+ }, "strip", z.ZodTypeAny, {
1585
+ name: string;
1586
+ helm: {
1587
+ chart: string;
1588
+ repository?: string | undefined;
1589
+ oci?: string | undefined;
1590
+ };
1591
+ default?: string | undefined;
1592
+ constraint?: string | undefined;
1593
+ tag_pattern?: string | undefined;
1594
+ exclude_prerelease?: boolean | undefined;
1595
+ }, {
1596
+ name: string;
1597
+ helm: {
1598
+ chart: string;
1599
+ repository?: string | undefined;
1600
+ oci?: string | undefined;
1601
+ };
1602
+ default?: string | undefined;
1603
+ constraint?: string | undefined;
1604
+ tag_pattern?: string | undefined;
1605
+ exclude_prerelease?: boolean | undefined;
1606
+ }>]>, "many">>;
1607
+ kustomizations: z.ZodArray<z.ZodObject<{
1608
+ name: z.ZodString;
1609
+ path: z.ZodString;
1610
+ namespace: z.ZodOptional<z.ZodObject<{
1611
+ default: z.ZodString;
1612
+ create: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1613
+ }, "strip", z.ZodTypeAny, {
1614
+ default: string;
1615
+ create: boolean;
1616
+ }, {
1617
+ default: string;
1618
+ create?: boolean | undefined;
1619
+ }>>;
1620
+ depends_on: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1621
+ raw: z.ZodObject<{
1622
+ name: z.ZodString;
1623
+ namespace: z.ZodString;
1624
+ }, "strip", z.ZodTypeAny, {
1625
+ name: string;
1626
+ namespace: string;
1627
+ }, {
1628
+ name: string;
1629
+ namespace: string;
1630
+ }>;
1631
+ }, "strip", z.ZodTypeAny, {
1632
+ raw: {
1633
+ name: string;
1634
+ namespace: string;
1635
+ };
1636
+ }, {
1637
+ raw: {
1638
+ name: string;
1639
+ namespace: string;
1640
+ };
1641
+ }>]>, "many">>;
1642
+ substitutions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1643
+ type: z.ZodLiteral<"version">;
1644
+ name: z.ZodString;
1645
+ default: z.ZodOptional<z.ZodString>;
1646
+ constraint: z.ZodOptional<z.ZodString>;
1647
+ registry: z.ZodOptional<z.ZodObject<{
1648
+ image: z.ZodString;
1649
+ type: z.ZodOptional<z.ZodEnum<["dockerhub", "ghcr"]>>;
1650
+ }, "strip", z.ZodTypeAny, {
1651
+ image: string;
1652
+ type?: "dockerhub" | "ghcr" | undefined;
1653
+ }, {
1654
+ image: string;
1655
+ type?: "dockerhub" | "ghcr" | undefined;
1656
+ }>>;
1657
+ tag_pattern: z.ZodOptional<z.ZodString>;
1658
+ exclude_prerelease: z.ZodOptional<z.ZodBoolean>;
1659
+ }, "strip", z.ZodTypeAny, {
1660
+ name: string;
1661
+ type: "version";
1662
+ default?: string | undefined;
1663
+ constraint?: string | undefined;
1664
+ tag_pattern?: string | undefined;
1665
+ exclude_prerelease?: boolean | undefined;
1666
+ registry?: {
1667
+ image: string;
1668
+ type?: "dockerhub" | "ghcr" | undefined;
1669
+ } | undefined;
1670
+ }, {
1671
+ name: string;
1672
+ type: "version";
1673
+ default?: string | undefined;
1674
+ constraint?: string | undefined;
1675
+ tag_pattern?: string | undefined;
1676
+ exclude_prerelease?: boolean | undefined;
1677
+ registry?: {
1678
+ image: string;
1679
+ type?: "dockerhub" | "ghcr" | undefined;
1680
+ } | undefined;
1681
+ }>, z.ZodObject<{
1682
+ type: z.ZodLiteral<"helm">;
1683
+ name: z.ZodString;
1684
+ default: z.ZodOptional<z.ZodString>;
1685
+ constraint: z.ZodOptional<z.ZodString>;
1686
+ helm: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1687
+ repository: z.ZodOptional<z.ZodString>;
1688
+ oci: z.ZodOptional<z.ZodString>;
1689
+ chart: z.ZodString;
1690
+ }, "strip", z.ZodTypeAny, {
1691
+ chart: string;
1692
+ repository?: string | undefined;
1693
+ oci?: string | undefined;
1694
+ }, {
1695
+ chart: string;
1696
+ repository?: string | undefined;
1697
+ oci?: string | undefined;
1698
+ }>, {
1699
+ chart: string;
1700
+ repository?: string | undefined;
1701
+ oci?: string | undefined;
1702
+ }, {
1703
+ chart: string;
1704
+ repository?: string | undefined;
1705
+ oci?: string | undefined;
1706
+ }>>;
1707
+ tag_pattern: z.ZodOptional<z.ZodString>;
1708
+ exclude_prerelease: z.ZodOptional<z.ZodBoolean>;
1709
+ }, "strip", z.ZodTypeAny, {
1710
+ name: string;
1711
+ type: "helm";
1712
+ default?: string | undefined;
1713
+ constraint?: string | undefined;
1714
+ tag_pattern?: string | undefined;
1715
+ exclude_prerelease?: boolean | undefined;
1716
+ helm?: {
1717
+ chart: string;
1718
+ repository?: string | undefined;
1719
+ oci?: string | undefined;
1720
+ } | undefined;
1721
+ }, {
1722
+ name: string;
1723
+ type: "helm";
1724
+ default?: string | undefined;
1725
+ constraint?: string | undefined;
1726
+ tag_pattern?: string | undefined;
1727
+ exclude_prerelease?: boolean | undefined;
1728
+ helm?: {
1729
+ chart: string;
1730
+ repository?: string | undefined;
1731
+ oci?: string | undefined;
1732
+ } | undefined;
1733
+ }>, z.ZodObject<{
1734
+ type: z.ZodLiteral<"namespace">;
1735
+ name: z.ZodString;
1736
+ default: z.ZodOptional<z.ZodString>;
1737
+ }, "strip", z.ZodTypeAny, {
1738
+ name: string;
1739
+ type: "namespace";
1740
+ default?: string | undefined;
1741
+ }, {
1742
+ name: string;
1743
+ type: "namespace";
1744
+ default?: string | undefined;
1745
+ }>, z.ZodEffects<z.ZodObject<{
1746
+ type: z.ZodLiteral<"1password">;
1747
+ name: z.ZodString;
1748
+ ref: z.ZodOptional<z.ZodString>;
1749
+ item: z.ZodOptional<z.ZodString>;
1750
+ field: z.ZodOptional<z.ZodString>;
1751
+ section: z.ZodOptional<z.ZodString>;
1752
+ default: z.ZodOptional<z.ZodString>;
1753
+ }, "strip", z.ZodTypeAny, {
1754
+ name: string;
1755
+ type: "1password";
1756
+ default?: string | undefined;
1757
+ ref?: string | undefined;
1758
+ item?: string | undefined;
1759
+ field?: string | undefined;
1760
+ section?: string | undefined;
1761
+ }, {
1762
+ name: string;
1763
+ type: "1password";
1764
+ default?: string | undefined;
1765
+ ref?: string | undefined;
1766
+ item?: string | undefined;
1767
+ field?: string | undefined;
1768
+ section?: string | undefined;
1769
+ }>, {
1770
+ name: string;
1771
+ type: "1password";
1772
+ default?: string | undefined;
1773
+ ref?: string | undefined;
1774
+ item?: string | undefined;
1775
+ field?: string | undefined;
1776
+ section?: string | undefined;
1777
+ }, {
1778
+ name: string;
1779
+ type: "1password";
1780
+ default?: string | undefined;
1781
+ ref?: string | undefined;
1782
+ item?: string | undefined;
1783
+ field?: string | undefined;
1784
+ section?: string | undefined;
1785
+ }>, z.ZodObject<{
1786
+ type: z.ZodLiteral<"doppler">;
1787
+ name: z.ZodString;
1788
+ project: z.ZodOptional<z.ZodString>;
1789
+ config: z.ZodOptional<z.ZodString>;
1790
+ secret: z.ZodString;
1791
+ default: z.ZodOptional<z.ZodString>;
1792
+ }, "strip", z.ZodTypeAny, {
1793
+ name: string;
1794
+ type: "doppler";
1795
+ secret: string;
1796
+ default?: string | undefined;
1797
+ project?: string | undefined;
1798
+ config?: string | undefined;
1799
+ }, {
1800
+ name: string;
1801
+ type: "doppler";
1802
+ secret: string;
1803
+ default?: string | undefined;
1804
+ project?: string | undefined;
1805
+ config?: string | undefined;
1806
+ }>, z.ZodObject<{
1807
+ type: z.ZodOptional<z.ZodLiteral<"generic">>;
1808
+ name: z.ZodString;
1809
+ default: z.ZodOptional<z.ZodString>;
1810
+ secret: z.ZodOptional<z.ZodString>;
1811
+ preserve_case: z.ZodOptional<z.ZodBoolean>;
1812
+ }, "strip", z.ZodTypeAny, {
1813
+ name: string;
1814
+ type?: "generic" | undefined;
1815
+ default?: string | undefined;
1816
+ secret?: string | undefined;
1817
+ preserve_case?: boolean | undefined;
1818
+ }, {
1819
+ name: string;
1820
+ type?: "generic" | undefined;
1821
+ default?: string | undefined;
1822
+ secret?: string | undefined;
1823
+ preserve_case?: boolean | undefined;
1824
+ }>]>, "many">>;
1825
+ health_checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1826
+ kind: z.ZodString;
1827
+ name: z.ZodString;
1828
+ namespace: z.ZodOptional<z.ZodString>;
1829
+ api_version: z.ZodOptional<z.ZodString>;
1830
+ }, "strip", z.ZodTypeAny, {
1831
+ name: string;
1832
+ kind: string;
1833
+ namespace?: string | undefined;
1834
+ api_version?: string | undefined;
1835
+ }, {
1836
+ name: string;
1837
+ kind: string;
1838
+ namespace?: string | undefined;
1839
+ api_version?: string | undefined;
1840
+ }>, "many">>;
1841
+ health_check_exprs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1842
+ api_version: z.ZodString;
1843
+ kind: z.ZodString;
1844
+ namespace: z.ZodOptional<z.ZodString>;
1845
+ current: z.ZodOptional<z.ZodString>;
1846
+ failed: z.ZodOptional<z.ZodString>;
1847
+ }, "strip", z.ZodTypeAny, {
1848
+ kind: string;
1849
+ api_version: string;
1850
+ namespace?: string | undefined;
1851
+ current?: string | undefined;
1852
+ failed?: string | undefined;
1853
+ }, {
1854
+ kind: string;
1855
+ api_version: string;
1856
+ namespace?: string | undefined;
1857
+ current?: string | undefined;
1858
+ failed?: string | undefined;
1859
+ }>, "many">>;
1860
+ prune: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1861
+ wait: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1862
+ timeout: z.ZodOptional<z.ZodString>;
1863
+ retry_interval: z.ZodOptional<z.ZodString>;
1864
+ preservation: z.ZodOptional<z.ZodObject<{
1865
+ mode: z.ZodDefault<z.ZodEnum<["none", "stateful", "custom"]>>;
1866
+ keep_resources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1867
+ }, "strip", z.ZodTypeAny, {
1868
+ mode: "custom" | "none" | "stateful";
1869
+ keep_resources?: string[] | undefined;
1870
+ }, {
1871
+ mode?: "custom" | "none" | "stateful" | undefined;
1872
+ keep_resources?: string[] | undefined;
1873
+ }>>;
1874
+ /** Auth configuration for SSO integration (processed by auth plugins) */
1875
+ auth: z.ZodOptional<z.ZodObject<{
1876
+ provider: z.ZodString;
1877
+ type: z.ZodString;
1878
+ app_name: z.ZodString;
1879
+ app_display_name: z.ZodOptional<z.ZodString>;
1880
+ app_description: z.ZodOptional<z.ZodString>;
1881
+ app_icon: z.ZodOptional<z.ZodString>;
1882
+ app_group: z.ZodOptional<z.ZodString>;
1883
+ app_launch_url: z.ZodOptional<z.ZodString>;
1884
+ external_host: z.ZodOptional<z.ZodString>;
1885
+ internal_host: z.ZodOptional<z.ZodString>;
1886
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1887
+ }, "strip", z.ZodTypeAny, {
1888
+ type: string;
1889
+ provider: string;
1890
+ app_name: string;
1891
+ config?: Record<string, unknown> | undefined;
1892
+ app_display_name?: string | undefined;
1893
+ app_description?: string | undefined;
1894
+ app_icon?: string | undefined;
1895
+ app_group?: string | undefined;
1896
+ app_launch_url?: string | undefined;
1897
+ external_host?: string | undefined;
1898
+ internal_host?: string | undefined;
1899
+ }, {
1900
+ type: string;
1901
+ provider: string;
1902
+ app_name: string;
1903
+ config?: Record<string, unknown> | undefined;
1904
+ app_display_name?: string | undefined;
1905
+ app_description?: string | undefined;
1906
+ app_icon?: string | undefined;
1907
+ app_group?: string | undefined;
1908
+ app_launch_url?: string | undefined;
1909
+ external_host?: string | undefined;
1910
+ internal_host?: string | undefined;
1911
+ }>>;
1912
+ }, "strip", z.ZodTypeAny, {
1913
+ name: string;
1914
+ path: string;
1915
+ prune: boolean;
1916
+ wait: boolean;
1917
+ namespace?: {
1918
+ default: string;
1919
+ create: boolean;
1920
+ } | undefined;
1921
+ depends_on?: (string | {
1922
+ raw: {
1923
+ name: string;
1924
+ namespace: string;
1925
+ };
1926
+ })[] | undefined;
1927
+ substitutions?: ({
1928
+ name: string;
1929
+ type?: "generic" | undefined;
1930
+ default?: string | undefined;
1931
+ secret?: string | undefined;
1932
+ preserve_case?: boolean | undefined;
1933
+ } | {
1934
+ name: string;
1935
+ type: "version";
1936
+ default?: string | undefined;
1937
+ constraint?: string | undefined;
1938
+ tag_pattern?: string | undefined;
1939
+ exclude_prerelease?: boolean | undefined;
1940
+ registry?: {
1941
+ image: string;
1942
+ type?: "dockerhub" | "ghcr" | undefined;
1943
+ } | undefined;
1944
+ } | {
1945
+ name: string;
1946
+ type: "helm";
1947
+ default?: string | undefined;
1948
+ constraint?: string | undefined;
1949
+ tag_pattern?: string | undefined;
1950
+ exclude_prerelease?: boolean | undefined;
1951
+ helm?: {
1952
+ chart: string;
1953
+ repository?: string | undefined;
1954
+ oci?: string | undefined;
1955
+ } | undefined;
1956
+ } | {
1957
+ name: string;
1958
+ type: "namespace";
1959
+ default?: string | undefined;
1960
+ } | {
1961
+ name: string;
1962
+ type: "1password";
1963
+ default?: string | undefined;
1964
+ ref?: string | undefined;
1965
+ item?: string | undefined;
1966
+ field?: string | undefined;
1967
+ section?: string | undefined;
1968
+ } | {
1969
+ name: string;
1970
+ type: "doppler";
1971
+ secret: string;
1972
+ default?: string | undefined;
1973
+ project?: string | undefined;
1974
+ config?: string | undefined;
1975
+ })[] | undefined;
1976
+ health_checks?: {
1977
+ name: string;
1978
+ kind: string;
1979
+ namespace?: string | undefined;
1980
+ api_version?: string | undefined;
1981
+ }[] | undefined;
1982
+ health_check_exprs?: {
1983
+ kind: string;
1984
+ api_version: string;
1985
+ namespace?: string | undefined;
1986
+ current?: string | undefined;
1987
+ failed?: string | undefined;
1988
+ }[] | undefined;
1989
+ timeout?: string | undefined;
1990
+ retry_interval?: string | undefined;
1991
+ preservation?: {
1992
+ mode: "custom" | "none" | "stateful";
1993
+ keep_resources?: string[] | undefined;
1994
+ } | undefined;
1995
+ auth?: {
1996
+ type: string;
1997
+ provider: string;
1998
+ app_name: string;
1999
+ config?: Record<string, unknown> | undefined;
2000
+ app_display_name?: string | undefined;
2001
+ app_description?: string | undefined;
2002
+ app_icon?: string | undefined;
2003
+ app_group?: string | undefined;
2004
+ app_launch_url?: string | undefined;
2005
+ external_host?: string | undefined;
2006
+ internal_host?: string | undefined;
2007
+ } | undefined;
2008
+ }, {
2009
+ name: string;
2010
+ path: string;
2011
+ namespace?: {
2012
+ default: string;
2013
+ create?: boolean | undefined;
2014
+ } | undefined;
2015
+ depends_on?: (string | {
2016
+ raw: {
2017
+ name: string;
2018
+ namespace: string;
2019
+ };
2020
+ })[] | undefined;
2021
+ substitutions?: ({
2022
+ name: string;
2023
+ type?: "generic" | undefined;
2024
+ default?: string | undefined;
2025
+ secret?: string | undefined;
2026
+ preserve_case?: boolean | undefined;
2027
+ } | {
2028
+ name: string;
2029
+ type: "version";
2030
+ default?: string | undefined;
2031
+ constraint?: string | undefined;
2032
+ tag_pattern?: string | undefined;
2033
+ exclude_prerelease?: boolean | undefined;
2034
+ registry?: {
2035
+ image: string;
2036
+ type?: "dockerhub" | "ghcr" | undefined;
2037
+ } | undefined;
2038
+ } | {
2039
+ name: string;
2040
+ type: "helm";
2041
+ default?: string | undefined;
2042
+ constraint?: string | undefined;
2043
+ tag_pattern?: string | undefined;
2044
+ exclude_prerelease?: boolean | undefined;
2045
+ helm?: {
2046
+ chart: string;
2047
+ repository?: string | undefined;
2048
+ oci?: string | undefined;
2049
+ } | undefined;
2050
+ } | {
2051
+ name: string;
2052
+ type: "namespace";
2053
+ default?: string | undefined;
2054
+ } | {
2055
+ name: string;
2056
+ type: "1password";
2057
+ default?: string | undefined;
2058
+ ref?: string | undefined;
2059
+ item?: string | undefined;
2060
+ field?: string | undefined;
2061
+ section?: string | undefined;
2062
+ } | {
2063
+ name: string;
2064
+ type: "doppler";
2065
+ secret: string;
2066
+ default?: string | undefined;
2067
+ project?: string | undefined;
2068
+ config?: string | undefined;
2069
+ })[] | undefined;
2070
+ health_checks?: {
2071
+ name: string;
2072
+ kind: string;
2073
+ namespace?: string | undefined;
2074
+ api_version?: string | undefined;
2075
+ }[] | undefined;
2076
+ health_check_exprs?: {
2077
+ kind: string;
2078
+ api_version: string;
2079
+ namespace?: string | undefined;
2080
+ current?: string | undefined;
2081
+ failed?: string | undefined;
2082
+ }[] | undefined;
2083
+ prune?: boolean | undefined;
2084
+ wait?: boolean | undefined;
2085
+ timeout?: string | undefined;
2086
+ retry_interval?: string | undefined;
2087
+ preservation?: {
2088
+ mode?: "custom" | "none" | "stateful" | undefined;
2089
+ keep_resources?: string[] | undefined;
2090
+ } | undefined;
2091
+ auth?: {
2092
+ type: string;
2093
+ provider: string;
2094
+ app_name: string;
2095
+ config?: Record<string, unknown> | undefined;
2096
+ app_display_name?: string | undefined;
2097
+ app_description?: string | undefined;
2098
+ app_icon?: string | undefined;
2099
+ app_group?: string | undefined;
2100
+ app_launch_url?: string | undefined;
2101
+ external_host?: string | undefined;
2102
+ internal_host?: string | undefined;
2103
+ } | undefined;
2104
+ }>, "many">;
2105
+ }, "strip", z.ZodTypeAny, {
2106
+ kustomizations: {
2107
+ name: string;
2108
+ path: string;
2109
+ prune: boolean;
2110
+ wait: boolean;
2111
+ namespace?: {
2112
+ default: string;
2113
+ create: boolean;
2114
+ } | undefined;
2115
+ depends_on?: (string | {
2116
+ raw: {
2117
+ name: string;
2118
+ namespace: string;
2119
+ };
2120
+ })[] | undefined;
2121
+ substitutions?: ({
2122
+ name: string;
2123
+ type?: "generic" | undefined;
2124
+ default?: string | undefined;
2125
+ secret?: string | undefined;
2126
+ preserve_case?: boolean | undefined;
2127
+ } | {
2128
+ name: string;
2129
+ type: "version";
2130
+ default?: string | undefined;
2131
+ constraint?: string | undefined;
2132
+ tag_pattern?: string | undefined;
2133
+ exclude_prerelease?: boolean | undefined;
2134
+ registry?: {
2135
+ image: string;
2136
+ type?: "dockerhub" | "ghcr" | undefined;
2137
+ } | undefined;
2138
+ } | {
2139
+ name: string;
2140
+ type: "helm";
2141
+ default?: string | undefined;
2142
+ constraint?: string | undefined;
2143
+ tag_pattern?: string | undefined;
2144
+ exclude_prerelease?: boolean | undefined;
2145
+ helm?: {
2146
+ chart: string;
2147
+ repository?: string | undefined;
2148
+ oci?: string | undefined;
2149
+ } | undefined;
2150
+ } | {
2151
+ name: string;
2152
+ type: "namespace";
2153
+ default?: string | undefined;
2154
+ } | {
2155
+ name: string;
2156
+ type: "1password";
2157
+ default?: string | undefined;
2158
+ ref?: string | undefined;
2159
+ item?: string | undefined;
2160
+ field?: string | undefined;
2161
+ section?: string | undefined;
2162
+ } | {
2163
+ name: string;
2164
+ type: "doppler";
2165
+ secret: string;
2166
+ default?: string | undefined;
2167
+ project?: string | undefined;
2168
+ config?: string | undefined;
2169
+ })[] | undefined;
2170
+ health_checks?: {
2171
+ name: string;
2172
+ kind: string;
2173
+ namespace?: string | undefined;
2174
+ api_version?: string | undefined;
2175
+ }[] | undefined;
2176
+ health_check_exprs?: {
2177
+ kind: string;
2178
+ api_version: string;
2179
+ namespace?: string | undefined;
2180
+ current?: string | undefined;
2181
+ failed?: string | undefined;
2182
+ }[] | undefined;
2183
+ timeout?: string | undefined;
2184
+ retry_interval?: string | undefined;
2185
+ preservation?: {
2186
+ mode: "custom" | "none" | "stateful";
2187
+ keep_resources?: string[] | undefined;
2188
+ } | undefined;
2189
+ auth?: {
2190
+ type: string;
2191
+ provider: string;
2192
+ app_name: string;
2193
+ config?: Record<string, unknown> | undefined;
2194
+ app_display_name?: string | undefined;
2195
+ app_description?: string | undefined;
2196
+ app_icon?: string | undefined;
2197
+ app_group?: string | undefined;
2198
+ app_launch_url?: string | undefined;
2199
+ external_host?: string | undefined;
2200
+ internal_host?: string | undefined;
2201
+ } | undefined;
2202
+ }[];
2203
+ requirements?: {
2204
+ type: "nodeLabel";
2205
+ key: string;
2206
+ atLeast: number;
2207
+ value?: string | undefined;
2208
+ }[] | undefined;
2209
+ versions?: ({
2210
+ name: string;
2211
+ registry: {
2212
+ image: string;
2213
+ type?: "dockerhub" | "ghcr" | undefined;
2214
+ };
2215
+ default?: string | undefined;
2216
+ constraint?: string | undefined;
2217
+ tag_pattern?: string | undefined;
2218
+ exclude_prerelease?: boolean | undefined;
2219
+ } | {
2220
+ name: string;
2221
+ helm: {
2222
+ chart: string;
2223
+ repository?: string | undefined;
2224
+ oci?: string | undefined;
2225
+ };
2226
+ default?: string | undefined;
2227
+ constraint?: string | undefined;
2228
+ tag_pattern?: string | undefined;
2229
+ exclude_prerelease?: boolean | undefined;
2230
+ })[] | undefined;
2231
+ }, {
2232
+ kustomizations: {
2233
+ name: string;
2234
+ path: string;
2235
+ namespace?: {
2236
+ default: string;
2237
+ create?: boolean | undefined;
2238
+ } | undefined;
2239
+ depends_on?: (string | {
2240
+ raw: {
2241
+ name: string;
2242
+ namespace: string;
2243
+ };
2244
+ })[] | undefined;
2245
+ substitutions?: ({
2246
+ name: string;
2247
+ type?: "generic" | undefined;
2248
+ default?: string | undefined;
2249
+ secret?: string | undefined;
2250
+ preserve_case?: boolean | undefined;
2251
+ } | {
2252
+ name: string;
2253
+ type: "version";
2254
+ default?: string | undefined;
2255
+ constraint?: string | undefined;
2256
+ tag_pattern?: string | undefined;
2257
+ exclude_prerelease?: boolean | undefined;
2258
+ registry?: {
2259
+ image: string;
2260
+ type?: "dockerhub" | "ghcr" | undefined;
2261
+ } | undefined;
2262
+ } | {
2263
+ name: string;
2264
+ type: "helm";
2265
+ default?: string | undefined;
2266
+ constraint?: string | undefined;
2267
+ tag_pattern?: string | undefined;
2268
+ exclude_prerelease?: boolean | undefined;
2269
+ helm?: {
2270
+ chart: string;
2271
+ repository?: string | undefined;
2272
+ oci?: string | undefined;
2273
+ } | undefined;
2274
+ } | {
2275
+ name: string;
2276
+ type: "namespace";
2277
+ default?: string | undefined;
2278
+ } | {
2279
+ name: string;
2280
+ type: "1password";
2281
+ default?: string | undefined;
2282
+ ref?: string | undefined;
2283
+ item?: string | undefined;
2284
+ field?: string | undefined;
2285
+ section?: string | undefined;
2286
+ } | {
2287
+ name: string;
2288
+ type: "doppler";
2289
+ secret: string;
2290
+ default?: string | undefined;
2291
+ project?: string | undefined;
2292
+ config?: string | undefined;
2293
+ })[] | undefined;
2294
+ health_checks?: {
2295
+ name: string;
2296
+ kind: string;
2297
+ namespace?: string | undefined;
2298
+ api_version?: string | undefined;
2299
+ }[] | undefined;
2300
+ health_check_exprs?: {
2301
+ kind: string;
2302
+ api_version: string;
2303
+ namespace?: string | undefined;
2304
+ current?: string | undefined;
2305
+ failed?: string | undefined;
2306
+ }[] | undefined;
2307
+ prune?: boolean | undefined;
2308
+ wait?: boolean | undefined;
2309
+ timeout?: string | undefined;
2310
+ retry_interval?: string | undefined;
2311
+ preservation?: {
2312
+ mode?: "custom" | "none" | "stateful" | undefined;
2313
+ keep_resources?: string[] | undefined;
2314
+ } | undefined;
2315
+ auth?: {
2316
+ type: string;
2317
+ provider: string;
2318
+ app_name: string;
2319
+ config?: Record<string, unknown> | undefined;
2320
+ app_display_name?: string | undefined;
2321
+ app_description?: string | undefined;
2322
+ app_icon?: string | undefined;
2323
+ app_group?: string | undefined;
2324
+ app_launch_url?: string | undefined;
2325
+ external_host?: string | undefined;
2326
+ internal_host?: string | undefined;
2327
+ } | undefined;
2328
+ }[];
2329
+ requirements?: {
2330
+ type: "nodeLabel";
2331
+ key: string;
2332
+ value?: string | undefined;
2333
+ atLeast?: number | undefined;
2334
+ }[] | undefined;
2335
+ versions?: ({
2336
+ name: string;
2337
+ registry: {
2338
+ image: string;
2339
+ type?: "dockerhub" | "ghcr" | undefined;
2340
+ };
2341
+ default?: string | undefined;
2342
+ constraint?: string | undefined;
2343
+ tag_pattern?: string | undefined;
2344
+ exclude_prerelease?: boolean | undefined;
2345
+ } | {
2346
+ name: string;
2347
+ helm: {
2348
+ chart: string;
2349
+ repository?: string | undefined;
2350
+ oci?: string | undefined;
2351
+ };
2352
+ default?: string | undefined;
2353
+ constraint?: string | undefined;
2354
+ tag_pattern?: string | undefined;
2355
+ exclude_prerelease?: boolean | undefined;
2356
+ })[] | undefined;
2357
+ }>;
2358
+ }, "strip", z.ZodTypeAny, {
2359
+ kind: "Template";
2360
+ apiVersion: "kustodian.io/v1";
2361
+ metadata: {
2362
+ name: string;
2363
+ };
2364
+ spec: {
2365
+ kustomizations: {
2366
+ name: string;
2367
+ path: string;
2368
+ prune: boolean;
2369
+ wait: boolean;
2370
+ namespace?: {
2371
+ default: string;
2372
+ create: boolean;
2373
+ } | undefined;
2374
+ depends_on?: (string | {
2375
+ raw: {
2376
+ name: string;
2377
+ namespace: string;
2378
+ };
2379
+ })[] | undefined;
2380
+ substitutions?: ({
2381
+ name: string;
2382
+ type?: "generic" | undefined;
2383
+ default?: string | undefined;
2384
+ secret?: string | undefined;
2385
+ preserve_case?: boolean | undefined;
2386
+ } | {
2387
+ name: string;
2388
+ type: "version";
2389
+ default?: string | undefined;
2390
+ constraint?: string | undefined;
2391
+ tag_pattern?: string | undefined;
2392
+ exclude_prerelease?: boolean | undefined;
2393
+ registry?: {
2394
+ image: string;
2395
+ type?: "dockerhub" | "ghcr" | undefined;
2396
+ } | undefined;
2397
+ } | {
2398
+ name: string;
2399
+ type: "helm";
2400
+ default?: string | undefined;
2401
+ constraint?: string | undefined;
2402
+ tag_pattern?: string | undefined;
2403
+ exclude_prerelease?: boolean | undefined;
2404
+ helm?: {
2405
+ chart: string;
2406
+ repository?: string | undefined;
2407
+ oci?: string | undefined;
2408
+ } | undefined;
2409
+ } | {
2410
+ name: string;
2411
+ type: "namespace";
2412
+ default?: string | undefined;
2413
+ } | {
2414
+ name: string;
2415
+ type: "1password";
2416
+ default?: string | undefined;
2417
+ ref?: string | undefined;
2418
+ item?: string | undefined;
2419
+ field?: string | undefined;
2420
+ section?: string | undefined;
2421
+ } | {
2422
+ name: string;
2423
+ type: "doppler";
2424
+ secret: string;
2425
+ default?: string | undefined;
2426
+ project?: string | undefined;
2427
+ config?: string | undefined;
2428
+ })[] | undefined;
2429
+ health_checks?: {
2430
+ name: string;
2431
+ kind: string;
2432
+ namespace?: string | undefined;
2433
+ api_version?: string | undefined;
2434
+ }[] | undefined;
2435
+ health_check_exprs?: {
2436
+ kind: string;
2437
+ api_version: string;
2438
+ namespace?: string | undefined;
2439
+ current?: string | undefined;
2440
+ failed?: string | undefined;
2441
+ }[] | undefined;
2442
+ timeout?: string | undefined;
2443
+ retry_interval?: string | undefined;
2444
+ preservation?: {
2445
+ mode: "custom" | "none" | "stateful";
2446
+ keep_resources?: string[] | undefined;
2447
+ } | undefined;
2448
+ auth?: {
2449
+ type: string;
2450
+ provider: string;
2451
+ app_name: string;
2452
+ config?: Record<string, unknown> | undefined;
2453
+ app_display_name?: string | undefined;
2454
+ app_description?: string | undefined;
2455
+ app_icon?: string | undefined;
2456
+ app_group?: string | undefined;
2457
+ app_launch_url?: string | undefined;
2458
+ external_host?: string | undefined;
2459
+ internal_host?: string | undefined;
2460
+ } | undefined;
2461
+ }[];
2462
+ requirements?: {
2463
+ type: "nodeLabel";
2464
+ key: string;
2465
+ atLeast: number;
2466
+ value?: string | undefined;
2467
+ }[] | undefined;
2468
+ versions?: ({
2469
+ name: string;
2470
+ registry: {
2471
+ image: string;
2472
+ type?: "dockerhub" | "ghcr" | undefined;
2473
+ };
2474
+ default?: string | undefined;
2475
+ constraint?: string | undefined;
2476
+ tag_pattern?: string | undefined;
2477
+ exclude_prerelease?: boolean | undefined;
2478
+ } | {
2479
+ name: string;
2480
+ helm: {
2481
+ chart: string;
2482
+ repository?: string | undefined;
2483
+ oci?: string | undefined;
2484
+ };
2485
+ default?: string | undefined;
2486
+ constraint?: string | undefined;
2487
+ tag_pattern?: string | undefined;
2488
+ exclude_prerelease?: boolean | undefined;
2489
+ })[] | undefined;
2490
+ };
2491
+ }, {
2492
+ kind: "Template";
2493
+ apiVersion: "kustodian.io/v1";
2494
+ metadata: {
2495
+ name: string;
2496
+ };
2497
+ spec: {
2498
+ kustomizations: {
2499
+ name: string;
2500
+ path: string;
2501
+ namespace?: {
2502
+ default: string;
2503
+ create?: boolean | undefined;
2504
+ } | undefined;
2505
+ depends_on?: (string | {
2506
+ raw: {
2507
+ name: string;
2508
+ namespace: string;
2509
+ };
2510
+ })[] | undefined;
2511
+ substitutions?: ({
2512
+ name: string;
2513
+ type?: "generic" | undefined;
2514
+ default?: string | undefined;
2515
+ secret?: string | undefined;
2516
+ preserve_case?: boolean | undefined;
2517
+ } | {
2518
+ name: string;
2519
+ type: "version";
2520
+ default?: string | undefined;
2521
+ constraint?: string | undefined;
2522
+ tag_pattern?: string | undefined;
2523
+ exclude_prerelease?: boolean | undefined;
2524
+ registry?: {
2525
+ image: string;
2526
+ type?: "dockerhub" | "ghcr" | undefined;
2527
+ } | undefined;
2528
+ } | {
2529
+ name: string;
2530
+ type: "helm";
2531
+ default?: string | undefined;
2532
+ constraint?: string | undefined;
2533
+ tag_pattern?: string | undefined;
2534
+ exclude_prerelease?: boolean | undefined;
2535
+ helm?: {
2536
+ chart: string;
2537
+ repository?: string | undefined;
2538
+ oci?: string | undefined;
2539
+ } | undefined;
2540
+ } | {
2541
+ name: string;
2542
+ type: "namespace";
2543
+ default?: string | undefined;
2544
+ } | {
2545
+ name: string;
2546
+ type: "1password";
2547
+ default?: string | undefined;
2548
+ ref?: string | undefined;
2549
+ item?: string | undefined;
2550
+ field?: string | undefined;
2551
+ section?: string | undefined;
2552
+ } | {
2553
+ name: string;
2554
+ type: "doppler";
2555
+ secret: string;
2556
+ default?: string | undefined;
2557
+ project?: string | undefined;
2558
+ config?: string | undefined;
2559
+ })[] | undefined;
2560
+ health_checks?: {
2561
+ name: string;
2562
+ kind: string;
2563
+ namespace?: string | undefined;
2564
+ api_version?: string | undefined;
2565
+ }[] | undefined;
2566
+ health_check_exprs?: {
2567
+ kind: string;
2568
+ api_version: string;
2569
+ namespace?: string | undefined;
2570
+ current?: string | undefined;
2571
+ failed?: string | undefined;
2572
+ }[] | undefined;
2573
+ prune?: boolean | undefined;
2574
+ wait?: boolean | undefined;
2575
+ timeout?: string | undefined;
2576
+ retry_interval?: string | undefined;
2577
+ preservation?: {
2578
+ mode?: "custom" | "none" | "stateful" | undefined;
2579
+ keep_resources?: string[] | undefined;
2580
+ } | undefined;
2581
+ auth?: {
2582
+ type: string;
2583
+ provider: string;
2584
+ app_name: string;
2585
+ config?: Record<string, unknown> | undefined;
2586
+ app_display_name?: string | undefined;
2587
+ app_description?: string | undefined;
2588
+ app_icon?: string | undefined;
2589
+ app_group?: string | undefined;
2590
+ app_launch_url?: string | undefined;
2591
+ external_host?: string | undefined;
2592
+ internal_host?: string | undefined;
2593
+ } | undefined;
2594
+ }[];
2595
+ requirements?: {
2596
+ type: "nodeLabel";
2597
+ key: string;
2598
+ value?: string | undefined;
2599
+ atLeast?: number | undefined;
2600
+ }[] | undefined;
2601
+ versions?: ({
2602
+ name: string;
2603
+ registry: {
2604
+ image: string;
2605
+ type?: "dockerhub" | "ghcr" | undefined;
2606
+ };
2607
+ default?: string | undefined;
2608
+ constraint?: string | undefined;
2609
+ tag_pattern?: string | undefined;
2610
+ exclude_prerelease?: boolean | undefined;
2611
+ } | {
2612
+ name: string;
2613
+ helm: {
2614
+ chart: string;
2615
+ repository?: string | undefined;
2616
+ oci?: string | undefined;
2617
+ };
2618
+ default?: string | undefined;
2619
+ constraint?: string | undefined;
2620
+ tag_pattern?: string | undefined;
2621
+ exclude_prerelease?: boolean | undefined;
2622
+ })[] | undefined;
2623
+ };
2624
+ }>;
2625
+ export type TemplateType = z.infer<typeof template_schema>;
2626
+ /**
2627
+ * Validates a template object and returns the result.
2628
+ */
2629
+ export declare function validate_template(data: unknown): z.SafeParseReturnType<unknown, TemplateType>;
2630
+ //# sourceMappingURL=template.d.ts.map