k8ts 0.4.22 → 0.4.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/.imports.tsbuildinfo +1 -1
  2. package/dist/_imports/helm.toolkit.fluxcd.io.d.ts +4894 -0
  3. package/dist/_imports/helm.toolkit.fluxcd.io.d.ts.map +1 -0
  4. package/dist/_imports/helm.toolkit.fluxcd.io.js +2430 -0
  5. package/dist/_imports/helm.toolkit.fluxcd.io.js.map +1 -0
  6. package/dist/_imports/kustomize.toolkit.fluxcd.io.d.ts +2367 -0
  7. package/dist/_imports/kustomize.toolkit.fluxcd.io.d.ts.map +1 -0
  8. package/dist/_imports/kustomize.toolkit.fluxcd.io.js +1285 -0
  9. package/dist/_imports/kustomize.toolkit.fluxcd.io.js.map +1 -0
  10. package/dist/_imports/notification.toolkit.fluxcd.io.d.ts +2005 -0
  11. package/dist/_imports/notification.toolkit.fluxcd.io.d.ts.map +1 -0
  12. package/dist/_imports/notification.toolkit.fluxcd.io.js +1575 -0
  13. package/dist/_imports/notification.toolkit.fluxcd.io.js.map +1 -0
  14. package/dist/_imports/source.toolkit.fluxcd.io.d.ts +4158 -0
  15. package/dist/_imports/source.toolkit.fluxcd.io.d.ts.map +1 -0
  16. package/dist/_imports/source.toolkit.fluxcd.io.js +2739 -0
  17. package/dist/_imports/source.toolkit.fluxcd.io.js.map +1 -0
  18. package/dist/resources/utils/adapters.js +1 -1
  19. package/dist/resources/utils/adapters.js.map +1 -1
  20. package/dist/src.tsbuildinfo +1 -1
  21. package/package.json +3 -3
  22. package/src/_imports/helm.toolkit.fluxcd.io.ts +6748 -0
  23. package/src/_imports/kustomize.toolkit.fluxcd.io.ts +3369 -0
  24. package/src/_imports/notification.toolkit.fluxcd.io.ts +2848 -0
  25. package/src/_imports/source.toolkit.fluxcd.io.ts +6054 -0
  26. package/src/resources/utils/adapters.ts +1 -1
@@ -0,0 +1,2367 @@
1
+ import { ApiObject, ApiObjectMetadata, GroupVersionKind } from 'cdk8s';
2
+ import { Construct } from 'constructs';
3
+ /**
4
+ * Kustomization is the Schema for the kustomizations API.
5
+ *
6
+ * @schema Kustomization
7
+ */
8
+ export declare class Kustomization extends ApiObject {
9
+ /**
10
+ * Returns the apiVersion and kind for "Kustomization"
11
+ */
12
+ static readonly GVK: GroupVersionKind;
13
+ /**
14
+ * Renders a Kubernetes manifest for "Kustomization".
15
+ *
16
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
17
+ *
18
+ * @param props initialization props
19
+ */
20
+ static manifest(props?: KustomizationProps): any;
21
+ /**
22
+ * Defines a "Kustomization" API object
23
+ * @param scope the scope in which to define this object
24
+ * @param id a scope-local name for the object
25
+ * @param props initialization props
26
+ */
27
+ constructor(scope: Construct, id: string, props?: KustomizationProps);
28
+ /**
29
+ * Renders the object to Kubernetes JSON.
30
+ */
31
+ toJson(): any;
32
+ }
33
+ /**
34
+ * Kustomization is the Schema for the kustomizations API.
35
+ *
36
+ * @schema Kustomization
37
+ */
38
+ export interface KustomizationProps {
39
+ /**
40
+ * @schema Kustomization#metadata
41
+ */
42
+ readonly metadata?: ApiObjectMetadata;
43
+ /**
44
+ * KustomizationSpec defines the configuration to calculate the desired state
45
+ * from a Source using Kustomize.
46
+ *
47
+ * @schema Kustomization#spec
48
+ */
49
+ readonly spec?: KustomizationSpec;
50
+ }
51
+ /**
52
+ * Converts an object of type 'KustomizationProps' to JSON representation.
53
+ */
54
+ export declare function toJson_KustomizationProps(obj: KustomizationProps | undefined): Record<string, any> | undefined;
55
+ /**
56
+ * KustomizationSpec defines the configuration to calculate the desired state
57
+ * from a Source using Kustomize.
58
+ *
59
+ * @schema KustomizationSpec
60
+ */
61
+ export interface KustomizationSpec {
62
+ /**
63
+ * CommonMetadata specifies the common labels and annotations that are
64
+ * applied to all resources. Any existing label or annotation will be
65
+ * overridden if its key matches a common one.
66
+ *
67
+ * @schema KustomizationSpec#commonMetadata
68
+ */
69
+ readonly commonMetadata?: KustomizationSpecCommonMetadata;
70
+ /**
71
+ * Components specifies relative paths to specifications of other Components.
72
+ *
73
+ * @schema KustomizationSpec#components
74
+ */
75
+ readonly components?: string[];
76
+ /**
77
+ * Decrypt Kubernetes secrets before applying them on the cluster.
78
+ *
79
+ * @schema KustomizationSpec#decryption
80
+ */
81
+ readonly decryption?: KustomizationSpecDecryption;
82
+ /**
83
+ * DeletionPolicy can be used to control garbage collection when this
84
+ * Kustomization is deleted. Valid values are ('MirrorPrune', 'Delete',
85
+ * 'Orphan'). 'MirrorPrune' mirrors the Prune field (orphan if false,
86
+ * delete if true). Defaults to 'MirrorPrune'.
87
+ *
88
+ * @default MirrorPrune'.
89
+ * @schema KustomizationSpec#deletionPolicy
90
+ */
91
+ readonly deletionPolicy?: KustomizationSpecDeletionPolicy;
92
+ /**
93
+ * DependsOn may contain a meta.NamespacedObjectReference slice
94
+ * with references to Kustomization resources that must be ready before this
95
+ * Kustomization can be reconciled.
96
+ *
97
+ * @schema KustomizationSpec#dependsOn
98
+ */
99
+ readonly dependsOn?: KustomizationSpecDependsOn[];
100
+ /**
101
+ * Force instructs the controller to recreate resources
102
+ * when patching fails due to an immutable field change.
103
+ *
104
+ * @schema KustomizationSpec#force
105
+ */
106
+ readonly force?: boolean;
107
+ /**
108
+ * HealthCheckExprs is a list of healthcheck expressions for evaluating the
109
+ * health of custom resources using Common Expression Language (CEL).
110
+ * The expressions are evaluated only when Wait or HealthChecks are specified.
111
+ *
112
+ * @schema KustomizationSpec#healthCheckExprs
113
+ */
114
+ readonly healthCheckExprs?: KustomizationSpecHealthCheckExprs[];
115
+ /**
116
+ * A list of resources to be included in the health assessment.
117
+ *
118
+ * @schema KustomizationSpec#healthChecks
119
+ */
120
+ readonly healthChecks?: KustomizationSpecHealthChecks[];
121
+ /**
122
+ * Images is a list of (image name, new name, new tag or digest)
123
+ * for changing image names, tags or digests. This can also be achieved with a
124
+ * patch, but this operator is simpler to specify.
125
+ *
126
+ * @schema KustomizationSpec#images
127
+ */
128
+ readonly images?: KustomizationSpecImages[];
129
+ /**
130
+ * The interval at which to reconcile the Kustomization.
131
+ * This interval is approximate and may be subject to jitter to ensure
132
+ * efficient use of resources.
133
+ *
134
+ * @schema KustomizationSpec#interval
135
+ */
136
+ readonly interval: string;
137
+ /**
138
+ * The KubeConfig for reconciling the Kustomization on a remote cluster.
139
+ * When used in combination with KustomizationSpec.ServiceAccountName,
140
+ * forces the controller to act on behalf of that Service Account at the
141
+ * target cluster.
142
+ * If the --default-service-account flag is set, its value will be used as
143
+ * a controller level fallback for when KustomizationSpec.ServiceAccountName
144
+ * is empty.
145
+ *
146
+ * @schema KustomizationSpec#kubeConfig
147
+ */
148
+ readonly kubeConfig?: KustomizationSpecKubeConfig;
149
+ /**
150
+ * NamePrefix will prefix the names of all managed resources.
151
+ *
152
+ * @schema KustomizationSpec#namePrefix
153
+ */
154
+ readonly namePrefix?: string;
155
+ /**
156
+ * NameSuffix will suffix the names of all managed resources.
157
+ *
158
+ * @schema KustomizationSpec#nameSuffix
159
+ */
160
+ readonly nameSuffix?: string;
161
+ /**
162
+ * Strategic merge and JSON patches, defined as inline YAML objects,
163
+ * capable of targeting objects based on kind, label and annotation selectors.
164
+ *
165
+ * @schema KustomizationSpec#patches
166
+ */
167
+ readonly patches?: KustomizationSpecPatches[];
168
+ /**
169
+ * Path to the directory containing the kustomization.yaml file, or the
170
+ * set of plain YAMLs a kustomization.yaml should be generated for.
171
+ * Defaults to 'None', which translates to the root path of the SourceRef.
172
+ *
173
+ * @default None', which translates to the root path of the SourceRef.
174
+ * @schema KustomizationSpec#path
175
+ */
176
+ readonly path?: string;
177
+ /**
178
+ * PostBuild describes which actions to perform on the YAML manifest
179
+ * generated by building the kustomize overlay.
180
+ *
181
+ * @schema KustomizationSpec#postBuild
182
+ */
183
+ readonly postBuild?: KustomizationSpecPostBuild;
184
+ /**
185
+ * Prune enables garbage collection.
186
+ *
187
+ * @schema KustomizationSpec#prune
188
+ */
189
+ readonly prune: boolean;
190
+ /**
191
+ * The interval at which to retry a previously failed reconciliation.
192
+ * When not specified, the controller uses the KustomizationSpec.Interval
193
+ * value to retry failures.
194
+ *
195
+ * @schema KustomizationSpec#retryInterval
196
+ */
197
+ readonly retryInterval?: string;
198
+ /**
199
+ * The name of the Kubernetes service account to impersonate
200
+ * when reconciling this Kustomization.
201
+ *
202
+ * @schema KustomizationSpec#serviceAccountName
203
+ */
204
+ readonly serviceAccountName?: string;
205
+ /**
206
+ * Reference of the source where the kustomization file is.
207
+ *
208
+ * @schema KustomizationSpec#sourceRef
209
+ */
210
+ readonly sourceRef: KustomizationSpecSourceRef;
211
+ /**
212
+ * This flag tells the controller to suspend subsequent kustomize executions,
213
+ * it does not apply to already started executions. Defaults to false.
214
+ *
215
+ * @default false.
216
+ * @schema KustomizationSpec#suspend
217
+ */
218
+ readonly suspend?: boolean;
219
+ /**
220
+ * TargetNamespace sets or overrides the namespace in the
221
+ * kustomization.yaml file.
222
+ *
223
+ * @schema KustomizationSpec#targetNamespace
224
+ */
225
+ readonly targetNamespace?: string;
226
+ /**
227
+ * Timeout for validation, apply and health checking operations.
228
+ * Defaults to 'Interval' duration.
229
+ *
230
+ * @default Interval' duration.
231
+ * @schema KustomizationSpec#timeout
232
+ */
233
+ readonly timeout?: string;
234
+ /**
235
+ * Wait instructs the controller to check the health of all the reconciled
236
+ * resources. When enabled, the HealthChecks are ignored. Defaults to false.
237
+ *
238
+ * @default false.
239
+ * @schema KustomizationSpec#wait
240
+ */
241
+ readonly wait?: boolean;
242
+ }
243
+ /**
244
+ * Converts an object of type 'KustomizationSpec' to JSON representation.
245
+ */
246
+ export declare function toJson_KustomizationSpec(obj: KustomizationSpec | undefined): Record<string, any> | undefined;
247
+ /**
248
+ * CommonMetadata specifies the common labels and annotations that are
249
+ * applied to all resources. Any existing label or annotation will be
250
+ * overridden if its key matches a common one.
251
+ *
252
+ * @schema KustomizationSpecCommonMetadata
253
+ */
254
+ export interface KustomizationSpecCommonMetadata {
255
+ /**
256
+ * Annotations to be added to the object's metadata.
257
+ *
258
+ * @schema KustomizationSpecCommonMetadata#annotations
259
+ */
260
+ readonly annotations?: {
261
+ [key: string]: string;
262
+ };
263
+ /**
264
+ * Labels to be added to the object's metadata.
265
+ *
266
+ * @schema KustomizationSpecCommonMetadata#labels
267
+ */
268
+ readonly labels?: {
269
+ [key: string]: string;
270
+ };
271
+ }
272
+ /**
273
+ * Converts an object of type 'KustomizationSpecCommonMetadata' to JSON representation.
274
+ */
275
+ export declare function toJson_KustomizationSpecCommonMetadata(obj: KustomizationSpecCommonMetadata | undefined): Record<string, any> | undefined;
276
+ /**
277
+ * Decrypt Kubernetes secrets before applying them on the cluster.
278
+ *
279
+ * @schema KustomizationSpecDecryption
280
+ */
281
+ export interface KustomizationSpecDecryption {
282
+ /**
283
+ * Provider is the name of the decryption engine.
284
+ *
285
+ * @schema KustomizationSpecDecryption#provider
286
+ */
287
+ readonly provider: KustomizationSpecDecryptionProvider;
288
+ /**
289
+ * The secret name containing the private OpenPGP keys used for decryption.
290
+ *
291
+ * @schema KustomizationSpecDecryption#secretRef
292
+ */
293
+ readonly secretRef?: KustomizationSpecDecryptionSecretRef;
294
+ }
295
+ /**
296
+ * Converts an object of type 'KustomizationSpecDecryption' to JSON representation.
297
+ */
298
+ export declare function toJson_KustomizationSpecDecryption(obj: KustomizationSpecDecryption | undefined): Record<string, any> | undefined;
299
+ /**
300
+ * DeletionPolicy can be used to control garbage collection when this
301
+ * Kustomization is deleted. Valid values are ('MirrorPrune', 'Delete',
302
+ * 'Orphan'). 'MirrorPrune' mirrors the Prune field (orphan if false,
303
+ * delete if true). Defaults to 'MirrorPrune'.
304
+ *
305
+ * @default MirrorPrune'.
306
+ * @schema KustomizationSpecDeletionPolicy
307
+ */
308
+ export declare enum KustomizationSpecDeletionPolicy {
309
+ /** MirrorPrune */
310
+ MIRROR_PRUNE = "MirrorPrune",
311
+ /** Delete */
312
+ DELETE = "Delete",
313
+ /** Orphan */
314
+ ORPHAN = "Orphan"
315
+ }
316
+ /**
317
+ * NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any
318
+ * namespace.
319
+ *
320
+ * @schema KustomizationSpecDependsOn
321
+ */
322
+ export interface KustomizationSpecDependsOn {
323
+ /**
324
+ * Name of the referent.
325
+ *
326
+ * @schema KustomizationSpecDependsOn#name
327
+ */
328
+ readonly name: string;
329
+ /**
330
+ * Namespace of the referent, when not specified it acts as LocalObjectReference.
331
+ *
332
+ * @schema KustomizationSpecDependsOn#namespace
333
+ */
334
+ readonly namespace?: string;
335
+ }
336
+ /**
337
+ * Converts an object of type 'KustomizationSpecDependsOn' to JSON representation.
338
+ */
339
+ export declare function toJson_KustomizationSpecDependsOn(obj: KustomizationSpecDependsOn | undefined): Record<string, any> | undefined;
340
+ /**
341
+ * CustomHealthCheck defines the health check for custom resources.
342
+ *
343
+ * @schema KustomizationSpecHealthCheckExprs
344
+ */
345
+ export interface KustomizationSpecHealthCheckExprs {
346
+ /**
347
+ * APIVersion of the custom resource under evaluation.
348
+ *
349
+ * @schema KustomizationSpecHealthCheckExprs#apiVersion
350
+ */
351
+ readonly apiVersion: string;
352
+ /**
353
+ * Current is the CEL expression that determines if the status
354
+ * of the custom resource has reached the desired state.
355
+ *
356
+ * @schema KustomizationSpecHealthCheckExprs#current
357
+ */
358
+ readonly current: string;
359
+ /**
360
+ * Failed is the CEL expression that determines if the status
361
+ * of the custom resource has failed to reach the desired state.
362
+ *
363
+ * @schema KustomizationSpecHealthCheckExprs#failed
364
+ */
365
+ readonly failed?: string;
366
+ /**
367
+ * InProgress is the CEL expression that determines if the status
368
+ * of the custom resource has not yet reached the desired state.
369
+ *
370
+ * @schema KustomizationSpecHealthCheckExprs#inProgress
371
+ */
372
+ readonly inProgress?: string;
373
+ /**
374
+ * Kind of the custom resource under evaluation.
375
+ *
376
+ * @schema KustomizationSpecHealthCheckExprs#kind
377
+ */
378
+ readonly kind: string;
379
+ }
380
+ /**
381
+ * Converts an object of type 'KustomizationSpecHealthCheckExprs' to JSON representation.
382
+ */
383
+ export declare function toJson_KustomizationSpecHealthCheckExprs(obj: KustomizationSpecHealthCheckExprs | undefined): Record<string, any> | undefined;
384
+ /**
385
+ * NamespacedObjectKindReference contains enough information to locate the typed referenced Kubernetes resource object
386
+ * in any namespace.
387
+ *
388
+ * @schema KustomizationSpecHealthChecks
389
+ */
390
+ export interface KustomizationSpecHealthChecks {
391
+ /**
392
+ * API version of the referent, if not specified the Kubernetes preferred version will be used.
393
+ *
394
+ * @schema KustomizationSpecHealthChecks#apiVersion
395
+ */
396
+ readonly apiVersion?: string;
397
+ /**
398
+ * Kind of the referent.
399
+ *
400
+ * @schema KustomizationSpecHealthChecks#kind
401
+ */
402
+ readonly kind: string;
403
+ /**
404
+ * Name of the referent.
405
+ *
406
+ * @schema KustomizationSpecHealthChecks#name
407
+ */
408
+ readonly name: string;
409
+ /**
410
+ * Namespace of the referent, when not specified it acts as LocalObjectReference.
411
+ *
412
+ * @schema KustomizationSpecHealthChecks#namespace
413
+ */
414
+ readonly namespace?: string;
415
+ }
416
+ /**
417
+ * Converts an object of type 'KustomizationSpecHealthChecks' to JSON representation.
418
+ */
419
+ export declare function toJson_KustomizationSpecHealthChecks(obj: KustomizationSpecHealthChecks | undefined): Record<string, any> | undefined;
420
+ /**
421
+ * Image contains an image name, a new name, a new tag or digest, which will replace the original name and tag.
422
+ *
423
+ * @schema KustomizationSpecImages
424
+ */
425
+ export interface KustomizationSpecImages {
426
+ /**
427
+ * Digest is the value used to replace the original image tag.
428
+ * If digest is present NewTag value is ignored.
429
+ *
430
+ * @schema KustomizationSpecImages#digest
431
+ */
432
+ readonly digest?: string;
433
+ /**
434
+ * Name is a tag-less image name.
435
+ *
436
+ * @schema KustomizationSpecImages#name
437
+ */
438
+ readonly name: string;
439
+ /**
440
+ * NewName is the value used to replace the original name.
441
+ *
442
+ * @schema KustomizationSpecImages#newName
443
+ */
444
+ readonly newName?: string;
445
+ /**
446
+ * NewTag is the value used to replace the original tag.
447
+ *
448
+ * @schema KustomizationSpecImages#newTag
449
+ */
450
+ readonly newTag?: string;
451
+ }
452
+ /**
453
+ * Converts an object of type 'KustomizationSpecImages' to JSON representation.
454
+ */
455
+ export declare function toJson_KustomizationSpecImages(obj: KustomizationSpecImages | undefined): Record<string, any> | undefined;
456
+ /**
457
+ * The KubeConfig for reconciling the Kustomization on a remote cluster.
458
+ * When used in combination with KustomizationSpec.ServiceAccountName,
459
+ * forces the controller to act on behalf of that Service Account at the
460
+ * target cluster.
461
+ * If the --default-service-account flag is set, its value will be used as
462
+ * a controller level fallback for when KustomizationSpec.ServiceAccountName
463
+ * is empty.
464
+ *
465
+ * @schema KustomizationSpecKubeConfig
466
+ */
467
+ export interface KustomizationSpecKubeConfig {
468
+ /**
469
+ * SecretRef holds the name of a secret that contains a key with
470
+ * the kubeconfig file as the value. If no key is set, the key will default
471
+ * to 'value'.
472
+ * It is recommended that the kubeconfig is self-contained, and the secret
473
+ * is regularly updated if credentials such as a cloud-access-token expire.
474
+ * Cloud specific `cmd-path` auth helpers will not function without adding
475
+ * binaries and credentials to the Pod that is responsible for reconciling
476
+ * Kubernetes resources.
477
+ *
478
+ * @schema KustomizationSpecKubeConfig#secretRef
479
+ */
480
+ readonly secretRef: KustomizationSpecKubeConfigSecretRef;
481
+ }
482
+ /**
483
+ * Converts an object of type 'KustomizationSpecKubeConfig' to JSON representation.
484
+ */
485
+ export declare function toJson_KustomizationSpecKubeConfig(obj: KustomizationSpecKubeConfig | undefined): Record<string, any> | undefined;
486
+ /**
487
+ * Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should
488
+ * be applied to.
489
+ *
490
+ * @schema KustomizationSpecPatches
491
+ */
492
+ export interface KustomizationSpecPatches {
493
+ /**
494
+ * Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with
495
+ * an array of operation objects.
496
+ *
497
+ * @schema KustomizationSpecPatches#patch
498
+ */
499
+ readonly patch: string;
500
+ /**
501
+ * Target points to the resources that the patch document should be applied to.
502
+ *
503
+ * @schema KustomizationSpecPatches#target
504
+ */
505
+ readonly target?: KustomizationSpecPatchesTarget;
506
+ }
507
+ /**
508
+ * Converts an object of type 'KustomizationSpecPatches' to JSON representation.
509
+ */
510
+ export declare function toJson_KustomizationSpecPatches(obj: KustomizationSpecPatches | undefined): Record<string, any> | undefined;
511
+ /**
512
+ * PostBuild describes which actions to perform on the YAML manifest
513
+ * generated by building the kustomize overlay.
514
+ *
515
+ * @schema KustomizationSpecPostBuild
516
+ */
517
+ export interface KustomizationSpecPostBuild {
518
+ /**
519
+ * Substitute holds a map of key/value pairs.
520
+ * The variables defined in your YAML manifests that match any of the keys
521
+ * defined in the map will be substituted with the set value.
522
+ * Includes support for bash string replacement functions
523
+ * e.g. ${var:=default}, ${var:position} and ${var/substring/replacement}.
524
+ *
525
+ * @schema KustomizationSpecPostBuild#substitute
526
+ */
527
+ readonly substitute?: {
528
+ [key: string]: string;
529
+ };
530
+ /**
531
+ * SubstituteFrom holds references to ConfigMaps and Secrets containing
532
+ * the variables and their values to be substituted in the YAML manifests.
533
+ * The ConfigMap and the Secret data keys represent the var names, and they
534
+ * must match the vars declared in the manifests for the substitution to
535
+ * happen.
536
+ *
537
+ * @schema KustomizationSpecPostBuild#substituteFrom
538
+ */
539
+ readonly substituteFrom?: KustomizationSpecPostBuildSubstituteFrom[];
540
+ }
541
+ /**
542
+ * Converts an object of type 'KustomizationSpecPostBuild' to JSON representation.
543
+ */
544
+ export declare function toJson_KustomizationSpecPostBuild(obj: KustomizationSpecPostBuild | undefined): Record<string, any> | undefined;
545
+ /**
546
+ * Reference of the source where the kustomization file is.
547
+ *
548
+ * @schema KustomizationSpecSourceRef
549
+ */
550
+ export interface KustomizationSpecSourceRef {
551
+ /**
552
+ * API version of the referent.
553
+ *
554
+ * @schema KustomizationSpecSourceRef#apiVersion
555
+ */
556
+ readonly apiVersion?: string;
557
+ /**
558
+ * Kind of the referent.
559
+ *
560
+ * @schema KustomizationSpecSourceRef#kind
561
+ */
562
+ readonly kind: KustomizationSpecSourceRefKind;
563
+ /**
564
+ * Name of the referent.
565
+ *
566
+ * @schema KustomizationSpecSourceRef#name
567
+ */
568
+ readonly name: string;
569
+ /**
570
+ * Namespace of the referent, defaults to the namespace of the Kubernetes
571
+ * resource object that contains the reference.
572
+ *
573
+ * @schema KustomizationSpecSourceRef#namespace
574
+ */
575
+ readonly namespace?: string;
576
+ }
577
+ /**
578
+ * Converts an object of type 'KustomizationSpecSourceRef' to JSON representation.
579
+ */
580
+ export declare function toJson_KustomizationSpecSourceRef(obj: KustomizationSpecSourceRef | undefined): Record<string, any> | undefined;
581
+ /**
582
+ * Provider is the name of the decryption engine.
583
+ *
584
+ * @schema KustomizationSpecDecryptionProvider
585
+ */
586
+ export declare enum KustomizationSpecDecryptionProvider {
587
+ /** sops */
588
+ SOPS = "sops"
589
+ }
590
+ /**
591
+ * The secret name containing the private OpenPGP keys used for decryption.
592
+ *
593
+ * @schema KustomizationSpecDecryptionSecretRef
594
+ */
595
+ export interface KustomizationSpecDecryptionSecretRef {
596
+ /**
597
+ * Name of the referent.
598
+ *
599
+ * @schema KustomizationSpecDecryptionSecretRef#name
600
+ */
601
+ readonly name: string;
602
+ }
603
+ /**
604
+ * Converts an object of type 'KustomizationSpecDecryptionSecretRef' to JSON representation.
605
+ */
606
+ export declare function toJson_KustomizationSpecDecryptionSecretRef(obj: KustomizationSpecDecryptionSecretRef | undefined): Record<string, any> | undefined;
607
+ /**
608
+ * SecretRef holds the name of a secret that contains a key with
609
+ * the kubeconfig file as the value. If no key is set, the key will default
610
+ * to 'value'.
611
+ * It is recommended that the kubeconfig is self-contained, and the secret
612
+ * is regularly updated if credentials such as a cloud-access-token expire.
613
+ * Cloud specific `cmd-path` auth helpers will not function without adding
614
+ * binaries and credentials to the Pod that is responsible for reconciling
615
+ * Kubernetes resources.
616
+ *
617
+ * @schema KustomizationSpecKubeConfigSecretRef
618
+ */
619
+ export interface KustomizationSpecKubeConfigSecretRef {
620
+ /**
621
+ * Key in the Secret, when not specified an implementation-specific default key is used.
622
+ *
623
+ * @schema KustomizationSpecKubeConfigSecretRef#key
624
+ */
625
+ readonly key?: string;
626
+ /**
627
+ * Name of the Secret.
628
+ *
629
+ * @schema KustomizationSpecKubeConfigSecretRef#name
630
+ */
631
+ readonly name: string;
632
+ }
633
+ /**
634
+ * Converts an object of type 'KustomizationSpecKubeConfigSecretRef' to JSON representation.
635
+ */
636
+ export declare function toJson_KustomizationSpecKubeConfigSecretRef(obj: KustomizationSpecKubeConfigSecretRef | undefined): Record<string, any> | undefined;
637
+ /**
638
+ * Target points to the resources that the patch document should be applied to.
639
+ *
640
+ * @schema KustomizationSpecPatchesTarget
641
+ */
642
+ export interface KustomizationSpecPatchesTarget {
643
+ /**
644
+ * AnnotationSelector is a string that follows the label selection expression
645
+ * https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
646
+ * It matches with the resource annotations.
647
+ *
648
+ * @schema KustomizationSpecPatchesTarget#annotationSelector
649
+ */
650
+ readonly annotationSelector?: string;
651
+ /**
652
+ * Group is the API group to select resources from.
653
+ * Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
654
+ * https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
655
+ *
656
+ * @schema KustomizationSpecPatchesTarget#group
657
+ */
658
+ readonly group?: string;
659
+ /**
660
+ * Kind of the API Group to select resources from.
661
+ * Together with Group and Version it is capable of unambiguously
662
+ * identifying and/or selecting resources.
663
+ * https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
664
+ *
665
+ * @schema KustomizationSpecPatchesTarget#kind
666
+ */
667
+ readonly kind?: string;
668
+ /**
669
+ * LabelSelector is a string that follows the label selection expression
670
+ * https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
671
+ * It matches with the resource labels.
672
+ *
673
+ * @schema KustomizationSpecPatchesTarget#labelSelector
674
+ */
675
+ readonly labelSelector?: string;
676
+ /**
677
+ * Name to match resources with.
678
+ *
679
+ * @schema KustomizationSpecPatchesTarget#name
680
+ */
681
+ readonly name?: string;
682
+ /**
683
+ * Namespace to select resources from.
684
+ *
685
+ * @schema KustomizationSpecPatchesTarget#namespace
686
+ */
687
+ readonly namespace?: string;
688
+ /**
689
+ * Version of the API Group to select resources from.
690
+ * Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
691
+ * https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
692
+ *
693
+ * @schema KustomizationSpecPatchesTarget#version
694
+ */
695
+ readonly version?: string;
696
+ }
697
+ /**
698
+ * Converts an object of type 'KustomizationSpecPatchesTarget' to JSON representation.
699
+ */
700
+ export declare function toJson_KustomizationSpecPatchesTarget(obj: KustomizationSpecPatchesTarget | undefined): Record<string, any> | undefined;
701
+ /**
702
+ * SubstituteReference contains a reference to a resource containing
703
+ * the variables name and value.
704
+ *
705
+ * @schema KustomizationSpecPostBuildSubstituteFrom
706
+ */
707
+ export interface KustomizationSpecPostBuildSubstituteFrom {
708
+ /**
709
+ * Kind of the values referent, valid values are ('Secret', 'ConfigMap').
710
+ *
711
+ * @schema KustomizationSpecPostBuildSubstituteFrom#kind
712
+ */
713
+ readonly kind: KustomizationSpecPostBuildSubstituteFromKind;
714
+ /**
715
+ * Name of the values referent. Should reside in the same namespace as the
716
+ * referring resource.
717
+ *
718
+ * @schema KustomizationSpecPostBuildSubstituteFrom#name
719
+ */
720
+ readonly name: string;
721
+ /**
722
+ * Optional indicates whether the referenced resource must exist, or whether to
723
+ * tolerate its absence. If true and the referenced resource is absent, proceed
724
+ * as if the resource was present but empty, without any variables defined.
725
+ *
726
+ * @schema KustomizationSpecPostBuildSubstituteFrom#optional
727
+ */
728
+ readonly optional?: boolean;
729
+ }
730
+ /**
731
+ * Converts an object of type 'KustomizationSpecPostBuildSubstituteFrom' to JSON representation.
732
+ */
733
+ export declare function toJson_KustomizationSpecPostBuildSubstituteFrom(obj: KustomizationSpecPostBuildSubstituteFrom | undefined): Record<string, any> | undefined;
734
+ /**
735
+ * Kind of the referent.
736
+ *
737
+ * @schema KustomizationSpecSourceRefKind
738
+ */
739
+ export declare enum KustomizationSpecSourceRefKind {
740
+ /** OCIRepository */
741
+ OCI_REPOSITORY = "OCIRepository",
742
+ /** GitRepository */
743
+ GIT_REPOSITORY = "GitRepository",
744
+ /** Bucket */
745
+ BUCKET = "Bucket"
746
+ }
747
+ /**
748
+ * Kind of the values referent, valid values are ('Secret', 'ConfigMap').
749
+ *
750
+ * @schema KustomizationSpecPostBuildSubstituteFromKind
751
+ */
752
+ export declare enum KustomizationSpecPostBuildSubstituteFromKind {
753
+ /** Secret */
754
+ SECRET = "Secret",
755
+ /** ConfigMap */
756
+ CONFIG_MAP = "ConfigMap"
757
+ }
758
+ /**
759
+ * Kustomization is the Schema for the kustomizations API.
760
+ *
761
+ * @schema KustomizationV1Beta1
762
+ */
763
+ export declare class KustomizationV1Beta1 extends ApiObject {
764
+ /**
765
+ * Returns the apiVersion and kind for "KustomizationV1Beta1"
766
+ */
767
+ static readonly GVK: GroupVersionKind;
768
+ /**
769
+ * Renders a Kubernetes manifest for "KustomizationV1Beta1".
770
+ *
771
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
772
+ *
773
+ * @param props initialization props
774
+ */
775
+ static manifest(props?: KustomizationV1Beta1Props): any;
776
+ /**
777
+ * Defines a "KustomizationV1Beta1" API object
778
+ * @param scope the scope in which to define this object
779
+ * @param id a scope-local name for the object
780
+ * @param props initialization props
781
+ */
782
+ constructor(scope: Construct, id: string, props?: KustomizationV1Beta1Props);
783
+ /**
784
+ * Renders the object to Kubernetes JSON.
785
+ */
786
+ toJson(): any;
787
+ }
788
+ /**
789
+ * Kustomization is the Schema for the kustomizations API.
790
+ *
791
+ * @schema KustomizationV1Beta1
792
+ */
793
+ export interface KustomizationV1Beta1Props {
794
+ /**
795
+ * @schema KustomizationV1Beta1#metadata
796
+ */
797
+ readonly metadata?: ApiObjectMetadata;
798
+ /**
799
+ * KustomizationSpec defines the desired state of a kustomization.
800
+ *
801
+ * @schema KustomizationV1Beta1#spec
802
+ */
803
+ readonly spec?: KustomizationV1Beta1Spec;
804
+ }
805
+ /**
806
+ * Converts an object of type 'KustomizationV1Beta1Props' to JSON representation.
807
+ */
808
+ export declare function toJson_KustomizationV1Beta1Props(obj: KustomizationV1Beta1Props | undefined): Record<string, any> | undefined;
809
+ /**
810
+ * KustomizationSpec defines the desired state of a kustomization.
811
+ *
812
+ * @schema KustomizationV1Beta1Spec
813
+ */
814
+ export interface KustomizationV1Beta1Spec {
815
+ /**
816
+ * Decrypt Kubernetes secrets before applying them on the cluster.
817
+ *
818
+ * @schema KustomizationV1Beta1Spec#decryption
819
+ */
820
+ readonly decryption?: KustomizationV1Beta1SpecDecryption;
821
+ /**
822
+ * DependsOn may contain a meta.NamespacedObjectReference slice
823
+ * with references to Kustomization resources that must be ready before this
824
+ * Kustomization can be reconciled.
825
+ *
826
+ * @schema KustomizationV1Beta1Spec#dependsOn
827
+ */
828
+ readonly dependsOn?: KustomizationV1Beta1SpecDependsOn[];
829
+ /**
830
+ * Force instructs the controller to recreate resources
831
+ * when patching fails due to an immutable field change.
832
+ *
833
+ * @schema KustomizationV1Beta1Spec#force
834
+ */
835
+ readonly force?: boolean;
836
+ /**
837
+ * A list of resources to be included in the health assessment.
838
+ *
839
+ * @schema KustomizationV1Beta1Spec#healthChecks
840
+ */
841
+ readonly healthChecks?: KustomizationV1Beta1SpecHealthChecks[];
842
+ /**
843
+ * Images is a list of (image name, new name, new tag or digest)
844
+ * for changing image names, tags or digests. This can also be achieved with a
845
+ * patch, but this operator is simpler to specify.
846
+ *
847
+ * @schema KustomizationV1Beta1Spec#images
848
+ */
849
+ readonly images?: KustomizationV1Beta1SpecImages[];
850
+ /**
851
+ * The interval at which to reconcile the Kustomization.
852
+ *
853
+ * @schema KustomizationV1Beta1Spec#interval
854
+ */
855
+ readonly interval: string;
856
+ /**
857
+ * The KubeConfig for reconciling the Kustomization on a remote cluster.
858
+ * When specified, KubeConfig takes precedence over ServiceAccountName.
859
+ *
860
+ * @schema KustomizationV1Beta1Spec#kubeConfig
861
+ */
862
+ readonly kubeConfig?: KustomizationV1Beta1SpecKubeConfig;
863
+ /**
864
+ * Strategic merge and JSON patches, defined as inline YAML objects,
865
+ * capable of targeting objects based on kind, label and annotation selectors.
866
+ *
867
+ * @schema KustomizationV1Beta1Spec#patches
868
+ */
869
+ readonly patches?: KustomizationV1Beta1SpecPatches[];
870
+ /**
871
+ * JSON 6902 patches, defined as inline YAML objects.
872
+ *
873
+ * @schema KustomizationV1Beta1Spec#patchesJson6902
874
+ */
875
+ readonly patchesJson6902?: KustomizationV1Beta1SpecPatchesJson6902[];
876
+ /**
877
+ * Strategic merge patches, defined as inline YAML objects.
878
+ *
879
+ * @schema KustomizationV1Beta1Spec#patchesStrategicMerge
880
+ */
881
+ readonly patchesStrategicMerge?: any[];
882
+ /**
883
+ * Path to the directory containing the kustomization.yaml file, or the
884
+ * set of plain YAMLs a kustomization.yaml should be generated for.
885
+ * Defaults to 'None', which translates to the root path of the SourceRef.
886
+ *
887
+ * @default None', which translates to the root path of the SourceRef.
888
+ * @schema KustomizationV1Beta1Spec#path
889
+ */
890
+ readonly path?: string;
891
+ /**
892
+ * PostBuild describes which actions to perform on the YAML manifest
893
+ * generated by building the kustomize overlay.
894
+ *
895
+ * @schema KustomizationV1Beta1Spec#postBuild
896
+ */
897
+ readonly postBuild?: KustomizationV1Beta1SpecPostBuild;
898
+ /**
899
+ * Prune enables garbage collection.
900
+ *
901
+ * @schema KustomizationV1Beta1Spec#prune
902
+ */
903
+ readonly prune: boolean;
904
+ /**
905
+ * The interval at which to retry a previously failed reconciliation.
906
+ * When not specified, the controller uses the KustomizationSpec.Interval
907
+ * value to retry failures.
908
+ *
909
+ * @schema KustomizationV1Beta1Spec#retryInterval
910
+ */
911
+ readonly retryInterval?: string;
912
+ /**
913
+ * The name of the Kubernetes service account to impersonate
914
+ * when reconciling this Kustomization.
915
+ *
916
+ * @schema KustomizationV1Beta1Spec#serviceAccountName
917
+ */
918
+ readonly serviceAccountName?: string;
919
+ /**
920
+ * Reference of the source where the kustomization file is.
921
+ *
922
+ * @schema KustomizationV1Beta1Spec#sourceRef
923
+ */
924
+ readonly sourceRef: KustomizationV1Beta1SpecSourceRef;
925
+ /**
926
+ * This flag tells the controller to suspend subsequent kustomize executions,
927
+ * it does not apply to already started executions. Defaults to false.
928
+ *
929
+ * @default false.
930
+ * @schema KustomizationV1Beta1Spec#suspend
931
+ */
932
+ readonly suspend?: boolean;
933
+ /**
934
+ * TargetNamespace sets or overrides the namespace in the
935
+ * kustomization.yaml file.
936
+ *
937
+ * @schema KustomizationV1Beta1Spec#targetNamespace
938
+ */
939
+ readonly targetNamespace?: string;
940
+ /**
941
+ * Timeout for validation, apply and health checking operations.
942
+ * Defaults to 'Interval' duration.
943
+ *
944
+ * @default Interval' duration.
945
+ * @schema KustomizationV1Beta1Spec#timeout
946
+ */
947
+ readonly timeout?: string;
948
+ /**
949
+ * Validate the Kubernetes objects before applying them on the cluster.
950
+ * The validation strategy can be 'client' (local dry-run), 'server'
951
+ * (APIServer dry-run) or 'none'.
952
+ * When 'Force' is 'true', validation will fallback to 'client' if set to
953
+ * 'server' because server-side validation is not supported in this scenario.
954
+ *
955
+ * @schema KustomizationV1Beta1Spec#validation
956
+ */
957
+ readonly validation?: KustomizationV1Beta1SpecValidation;
958
+ }
959
+ /**
960
+ * Converts an object of type 'KustomizationV1Beta1Spec' to JSON representation.
961
+ */
962
+ export declare function toJson_KustomizationV1Beta1Spec(obj: KustomizationV1Beta1Spec | undefined): Record<string, any> | undefined;
963
+ /**
964
+ * Decrypt Kubernetes secrets before applying them on the cluster.
965
+ *
966
+ * @schema KustomizationV1Beta1SpecDecryption
967
+ */
968
+ export interface KustomizationV1Beta1SpecDecryption {
969
+ /**
970
+ * Provider is the name of the decryption engine.
971
+ *
972
+ * @schema KustomizationV1Beta1SpecDecryption#provider
973
+ */
974
+ readonly provider: KustomizationV1Beta1SpecDecryptionProvider;
975
+ /**
976
+ * The secret name containing the private OpenPGP keys used for decryption.
977
+ *
978
+ * @schema KustomizationV1Beta1SpecDecryption#secretRef
979
+ */
980
+ readonly secretRef?: KustomizationV1Beta1SpecDecryptionSecretRef;
981
+ }
982
+ /**
983
+ * Converts an object of type 'KustomizationV1Beta1SpecDecryption' to JSON representation.
984
+ */
985
+ export declare function toJson_KustomizationV1Beta1SpecDecryption(obj: KustomizationV1Beta1SpecDecryption | undefined): Record<string, any> | undefined;
986
+ /**
987
+ * NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any
988
+ * namespace.
989
+ *
990
+ * @schema KustomizationV1Beta1SpecDependsOn
991
+ */
992
+ export interface KustomizationV1Beta1SpecDependsOn {
993
+ /**
994
+ * Name of the referent.
995
+ *
996
+ * @schema KustomizationV1Beta1SpecDependsOn#name
997
+ */
998
+ readonly name: string;
999
+ /**
1000
+ * Namespace of the referent, when not specified it acts as LocalObjectReference.
1001
+ *
1002
+ * @schema KustomizationV1Beta1SpecDependsOn#namespace
1003
+ */
1004
+ readonly namespace?: string;
1005
+ }
1006
+ /**
1007
+ * Converts an object of type 'KustomizationV1Beta1SpecDependsOn' to JSON representation.
1008
+ */
1009
+ export declare function toJson_KustomizationV1Beta1SpecDependsOn(obj: KustomizationV1Beta1SpecDependsOn | undefined): Record<string, any> | undefined;
1010
+ /**
1011
+ * NamespacedObjectKindReference contains enough information to locate the typed referenced Kubernetes resource object
1012
+ * in any namespace.
1013
+ *
1014
+ * @schema KustomizationV1Beta1SpecHealthChecks
1015
+ */
1016
+ export interface KustomizationV1Beta1SpecHealthChecks {
1017
+ /**
1018
+ * API version of the referent, if not specified the Kubernetes preferred version will be used.
1019
+ *
1020
+ * @schema KustomizationV1Beta1SpecHealthChecks#apiVersion
1021
+ */
1022
+ readonly apiVersion?: string;
1023
+ /**
1024
+ * Kind of the referent.
1025
+ *
1026
+ * @schema KustomizationV1Beta1SpecHealthChecks#kind
1027
+ */
1028
+ readonly kind: string;
1029
+ /**
1030
+ * Name of the referent.
1031
+ *
1032
+ * @schema KustomizationV1Beta1SpecHealthChecks#name
1033
+ */
1034
+ readonly name: string;
1035
+ /**
1036
+ * Namespace of the referent, when not specified it acts as LocalObjectReference.
1037
+ *
1038
+ * @schema KustomizationV1Beta1SpecHealthChecks#namespace
1039
+ */
1040
+ readonly namespace?: string;
1041
+ }
1042
+ /**
1043
+ * Converts an object of type 'KustomizationV1Beta1SpecHealthChecks' to JSON representation.
1044
+ */
1045
+ export declare function toJson_KustomizationV1Beta1SpecHealthChecks(obj: KustomizationV1Beta1SpecHealthChecks | undefined): Record<string, any> | undefined;
1046
+ /**
1047
+ * Image contains an image name, a new name, a new tag or digest, which will replace the original name and tag.
1048
+ *
1049
+ * @schema KustomizationV1Beta1SpecImages
1050
+ */
1051
+ export interface KustomizationV1Beta1SpecImages {
1052
+ /**
1053
+ * Digest is the value used to replace the original image tag.
1054
+ * If digest is present NewTag value is ignored.
1055
+ *
1056
+ * @schema KustomizationV1Beta1SpecImages#digest
1057
+ */
1058
+ readonly digest?: string;
1059
+ /**
1060
+ * Name is a tag-less image name.
1061
+ *
1062
+ * @schema KustomizationV1Beta1SpecImages#name
1063
+ */
1064
+ readonly name: string;
1065
+ /**
1066
+ * NewName is the value used to replace the original name.
1067
+ *
1068
+ * @schema KustomizationV1Beta1SpecImages#newName
1069
+ */
1070
+ readonly newName?: string;
1071
+ /**
1072
+ * NewTag is the value used to replace the original tag.
1073
+ *
1074
+ * @schema KustomizationV1Beta1SpecImages#newTag
1075
+ */
1076
+ readonly newTag?: string;
1077
+ }
1078
+ /**
1079
+ * Converts an object of type 'KustomizationV1Beta1SpecImages' to JSON representation.
1080
+ */
1081
+ export declare function toJson_KustomizationV1Beta1SpecImages(obj: KustomizationV1Beta1SpecImages | undefined): Record<string, any> | undefined;
1082
+ /**
1083
+ * The KubeConfig for reconciling the Kustomization on a remote cluster.
1084
+ * When specified, KubeConfig takes precedence over ServiceAccountName.
1085
+ *
1086
+ * @schema KustomizationV1Beta1SpecKubeConfig
1087
+ */
1088
+ export interface KustomizationV1Beta1SpecKubeConfig {
1089
+ /**
1090
+ * SecretRef holds the name to a secret that contains a 'value' key with
1091
+ * the kubeconfig file as the value. It must be in the same namespace as
1092
+ * the Kustomization.
1093
+ * It is recommended that the kubeconfig is self-contained, and the secret
1094
+ * is regularly updated if credentials such as a cloud-access-token expire.
1095
+ * Cloud specific `cmd-path` auth helpers will not function without adding
1096
+ * binaries and credentials to the Pod that is responsible for reconciling
1097
+ * the Kustomization.
1098
+ *
1099
+ * @schema KustomizationV1Beta1SpecKubeConfig#secretRef
1100
+ */
1101
+ readonly secretRef: KustomizationV1Beta1SpecKubeConfigSecretRef;
1102
+ }
1103
+ /**
1104
+ * Converts an object of type 'KustomizationV1Beta1SpecKubeConfig' to JSON representation.
1105
+ */
1106
+ export declare function toJson_KustomizationV1Beta1SpecKubeConfig(obj: KustomizationV1Beta1SpecKubeConfig | undefined): Record<string, any> | undefined;
1107
+ /**
1108
+ * Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should
1109
+ * be applied to.
1110
+ *
1111
+ * @schema KustomizationV1Beta1SpecPatches
1112
+ */
1113
+ export interface KustomizationV1Beta1SpecPatches {
1114
+ /**
1115
+ * Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with
1116
+ * an array of operation objects.
1117
+ *
1118
+ * @schema KustomizationV1Beta1SpecPatches#patch
1119
+ */
1120
+ readonly patch: string;
1121
+ /**
1122
+ * Target points to the resources that the patch document should be applied to.
1123
+ *
1124
+ * @schema KustomizationV1Beta1SpecPatches#target
1125
+ */
1126
+ readonly target?: KustomizationV1Beta1SpecPatchesTarget;
1127
+ }
1128
+ /**
1129
+ * Converts an object of type 'KustomizationV1Beta1SpecPatches' to JSON representation.
1130
+ */
1131
+ export declare function toJson_KustomizationV1Beta1SpecPatches(obj: KustomizationV1Beta1SpecPatches | undefined): Record<string, any> | undefined;
1132
+ /**
1133
+ * JSON6902Patch contains a JSON6902 patch and the target the patch should be applied to.
1134
+ *
1135
+ * @schema KustomizationV1Beta1SpecPatchesJson6902
1136
+ */
1137
+ export interface KustomizationV1Beta1SpecPatchesJson6902 {
1138
+ /**
1139
+ * Patch contains the JSON6902 patch document with an array of operation objects.
1140
+ *
1141
+ * @schema KustomizationV1Beta1SpecPatchesJson6902#patch
1142
+ */
1143
+ readonly patch: KustomizationV1Beta1SpecPatchesJson6902Patch[];
1144
+ /**
1145
+ * Target points to the resources that the patch document should be applied to.
1146
+ *
1147
+ * @schema KustomizationV1Beta1SpecPatchesJson6902#target
1148
+ */
1149
+ readonly target: KustomizationV1Beta1SpecPatchesJson6902Target;
1150
+ }
1151
+ /**
1152
+ * Converts an object of type 'KustomizationV1Beta1SpecPatchesJson6902' to JSON representation.
1153
+ */
1154
+ export declare function toJson_KustomizationV1Beta1SpecPatchesJson6902(obj: KustomizationV1Beta1SpecPatchesJson6902 | undefined): Record<string, any> | undefined;
1155
+ /**
1156
+ * PostBuild describes which actions to perform on the YAML manifest
1157
+ * generated by building the kustomize overlay.
1158
+ *
1159
+ * @schema KustomizationV1Beta1SpecPostBuild
1160
+ */
1161
+ export interface KustomizationV1Beta1SpecPostBuild {
1162
+ /**
1163
+ * Substitute holds a map of key/value pairs.
1164
+ * The variables defined in your YAML manifests
1165
+ * that match any of the keys defined in the map
1166
+ * will be substituted with the set value.
1167
+ * Includes support for bash string replacement functions
1168
+ * e.g. ${var:=default}, ${var:position} and ${var/substring/replacement}.
1169
+ *
1170
+ * @schema KustomizationV1Beta1SpecPostBuild#substitute
1171
+ */
1172
+ readonly substitute?: {
1173
+ [key: string]: string;
1174
+ };
1175
+ /**
1176
+ * SubstituteFrom holds references to ConfigMaps and Secrets containing
1177
+ * the variables and their values to be substituted in the YAML manifests.
1178
+ * The ConfigMap and the Secret data keys represent the var names and they
1179
+ * must match the vars declared in the manifests for the substitution to happen.
1180
+ *
1181
+ * @schema KustomizationV1Beta1SpecPostBuild#substituteFrom
1182
+ */
1183
+ readonly substituteFrom?: KustomizationV1Beta1SpecPostBuildSubstituteFrom[];
1184
+ }
1185
+ /**
1186
+ * Converts an object of type 'KustomizationV1Beta1SpecPostBuild' to JSON representation.
1187
+ */
1188
+ export declare function toJson_KustomizationV1Beta1SpecPostBuild(obj: KustomizationV1Beta1SpecPostBuild | undefined): Record<string, any> | undefined;
1189
+ /**
1190
+ * Reference of the source where the kustomization file is.
1191
+ *
1192
+ * @schema KustomizationV1Beta1SpecSourceRef
1193
+ */
1194
+ export interface KustomizationV1Beta1SpecSourceRef {
1195
+ /**
1196
+ * API version of the referent
1197
+ *
1198
+ * @schema KustomizationV1Beta1SpecSourceRef#apiVersion
1199
+ */
1200
+ readonly apiVersion?: string;
1201
+ /**
1202
+ * Kind of the referent
1203
+ *
1204
+ * @schema KustomizationV1Beta1SpecSourceRef#kind
1205
+ */
1206
+ readonly kind: KustomizationV1Beta1SpecSourceRefKind;
1207
+ /**
1208
+ * Name of the referent
1209
+ *
1210
+ * @schema KustomizationV1Beta1SpecSourceRef#name
1211
+ */
1212
+ readonly name: string;
1213
+ /**
1214
+ * Namespace of the referent, defaults to the Kustomization namespace
1215
+ *
1216
+ * @schema KustomizationV1Beta1SpecSourceRef#namespace
1217
+ */
1218
+ readonly namespace?: string;
1219
+ }
1220
+ /**
1221
+ * Converts an object of type 'KustomizationV1Beta1SpecSourceRef' to JSON representation.
1222
+ */
1223
+ export declare function toJson_KustomizationV1Beta1SpecSourceRef(obj: KustomizationV1Beta1SpecSourceRef | undefined): Record<string, any> | undefined;
1224
+ /**
1225
+ * Validate the Kubernetes objects before applying them on the cluster.
1226
+ * The validation strategy can be 'client' (local dry-run), 'server'
1227
+ * (APIServer dry-run) or 'none'.
1228
+ * When 'Force' is 'true', validation will fallback to 'client' if set to
1229
+ * 'server' because server-side validation is not supported in this scenario.
1230
+ *
1231
+ * @schema KustomizationV1Beta1SpecValidation
1232
+ */
1233
+ export declare enum KustomizationV1Beta1SpecValidation {
1234
+ /** none */
1235
+ NONE = "none",
1236
+ /** client */
1237
+ CLIENT = "client",
1238
+ /** server */
1239
+ SERVER = "server"
1240
+ }
1241
+ /**
1242
+ * Provider is the name of the decryption engine.
1243
+ *
1244
+ * @schema KustomizationV1Beta1SpecDecryptionProvider
1245
+ */
1246
+ export declare enum KustomizationV1Beta1SpecDecryptionProvider {
1247
+ /** sops */
1248
+ SOPS = "sops"
1249
+ }
1250
+ /**
1251
+ * The secret name containing the private OpenPGP keys used for decryption.
1252
+ *
1253
+ * @schema KustomizationV1Beta1SpecDecryptionSecretRef
1254
+ */
1255
+ export interface KustomizationV1Beta1SpecDecryptionSecretRef {
1256
+ /**
1257
+ * Name of the referent.
1258
+ *
1259
+ * @schema KustomizationV1Beta1SpecDecryptionSecretRef#name
1260
+ */
1261
+ readonly name: string;
1262
+ }
1263
+ /**
1264
+ * Converts an object of type 'KustomizationV1Beta1SpecDecryptionSecretRef' to JSON representation.
1265
+ */
1266
+ export declare function toJson_KustomizationV1Beta1SpecDecryptionSecretRef(obj: KustomizationV1Beta1SpecDecryptionSecretRef | undefined): Record<string, any> | undefined;
1267
+ /**
1268
+ * SecretRef holds the name to a secret that contains a 'value' key with
1269
+ * the kubeconfig file as the value. It must be in the same namespace as
1270
+ * the Kustomization.
1271
+ * It is recommended that the kubeconfig is self-contained, and the secret
1272
+ * is regularly updated if credentials such as a cloud-access-token expire.
1273
+ * Cloud specific `cmd-path` auth helpers will not function without adding
1274
+ * binaries and credentials to the Pod that is responsible for reconciling
1275
+ * the Kustomization.
1276
+ *
1277
+ * @schema KustomizationV1Beta1SpecKubeConfigSecretRef
1278
+ */
1279
+ export interface KustomizationV1Beta1SpecKubeConfigSecretRef {
1280
+ /**
1281
+ * Name of the referent.
1282
+ *
1283
+ * @schema KustomizationV1Beta1SpecKubeConfigSecretRef#name
1284
+ */
1285
+ readonly name: string;
1286
+ }
1287
+ /**
1288
+ * Converts an object of type 'KustomizationV1Beta1SpecKubeConfigSecretRef' to JSON representation.
1289
+ */
1290
+ export declare function toJson_KustomizationV1Beta1SpecKubeConfigSecretRef(obj: KustomizationV1Beta1SpecKubeConfigSecretRef | undefined): Record<string, any> | undefined;
1291
+ /**
1292
+ * Target points to the resources that the patch document should be applied to.
1293
+ *
1294
+ * @schema KustomizationV1Beta1SpecPatchesTarget
1295
+ */
1296
+ export interface KustomizationV1Beta1SpecPatchesTarget {
1297
+ /**
1298
+ * AnnotationSelector is a string that follows the label selection expression
1299
+ * https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
1300
+ * It matches with the resource annotations.
1301
+ *
1302
+ * @schema KustomizationV1Beta1SpecPatchesTarget#annotationSelector
1303
+ */
1304
+ readonly annotationSelector?: string;
1305
+ /**
1306
+ * Group is the API group to select resources from.
1307
+ * Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
1308
+ * https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
1309
+ *
1310
+ * @schema KustomizationV1Beta1SpecPatchesTarget#group
1311
+ */
1312
+ readonly group?: string;
1313
+ /**
1314
+ * Kind of the API Group to select resources from.
1315
+ * Together with Group and Version it is capable of unambiguously
1316
+ * identifying and/or selecting resources.
1317
+ * https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
1318
+ *
1319
+ * @schema KustomizationV1Beta1SpecPatchesTarget#kind
1320
+ */
1321
+ readonly kind?: string;
1322
+ /**
1323
+ * LabelSelector is a string that follows the label selection expression
1324
+ * https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
1325
+ * It matches with the resource labels.
1326
+ *
1327
+ * @schema KustomizationV1Beta1SpecPatchesTarget#labelSelector
1328
+ */
1329
+ readonly labelSelector?: string;
1330
+ /**
1331
+ * Name to match resources with.
1332
+ *
1333
+ * @schema KustomizationV1Beta1SpecPatchesTarget#name
1334
+ */
1335
+ readonly name?: string;
1336
+ /**
1337
+ * Namespace to select resources from.
1338
+ *
1339
+ * @schema KustomizationV1Beta1SpecPatchesTarget#namespace
1340
+ */
1341
+ readonly namespace?: string;
1342
+ /**
1343
+ * Version of the API Group to select resources from.
1344
+ * Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
1345
+ * https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
1346
+ *
1347
+ * @schema KustomizationV1Beta1SpecPatchesTarget#version
1348
+ */
1349
+ readonly version?: string;
1350
+ }
1351
+ /**
1352
+ * Converts an object of type 'KustomizationV1Beta1SpecPatchesTarget' to JSON representation.
1353
+ */
1354
+ export declare function toJson_KustomizationV1Beta1SpecPatchesTarget(obj: KustomizationV1Beta1SpecPatchesTarget | undefined): Record<string, any> | undefined;
1355
+ /**
1356
+ * JSON6902 is a JSON6902 operation object.
1357
+ * https://datatracker.ietf.org/doc/html/rfc6902#section-4
1358
+ *
1359
+ * @schema KustomizationV1Beta1SpecPatchesJson6902Patch
1360
+ */
1361
+ export interface KustomizationV1Beta1SpecPatchesJson6902Patch {
1362
+ /**
1363
+ * From contains a JSON-pointer value that references a location within the target document where the operation is
1364
+ * performed. The meaning of the value depends on the value of Op, and is NOT taken into account by all operations.
1365
+ *
1366
+ * @schema KustomizationV1Beta1SpecPatchesJson6902Patch#from
1367
+ */
1368
+ readonly from?: string;
1369
+ /**
1370
+ * Op indicates the operation to perform. Its value MUST be one of "add", "remove", "replace", "move", "copy", or
1371
+ * "test".
1372
+ * https://datatracker.ietf.org/doc/html/rfc6902#section-4
1373
+ *
1374
+ * @schema KustomizationV1Beta1SpecPatchesJson6902Patch#op
1375
+ */
1376
+ readonly op: KustomizationV1Beta1SpecPatchesJson6902PatchOp;
1377
+ /**
1378
+ * Path contains the JSON-pointer value that references a location within the target document where the operation
1379
+ * is performed. The meaning of the value depends on the value of Op.
1380
+ *
1381
+ * @schema KustomizationV1Beta1SpecPatchesJson6902Patch#path
1382
+ */
1383
+ readonly path: string;
1384
+ /**
1385
+ * Value contains a valid JSON structure. The meaning of the value depends on the value of Op, and is NOT taken into
1386
+ * account by all operations.
1387
+ *
1388
+ * @schema KustomizationV1Beta1SpecPatchesJson6902Patch#value
1389
+ */
1390
+ readonly value?: any;
1391
+ }
1392
+ /**
1393
+ * Converts an object of type 'KustomizationV1Beta1SpecPatchesJson6902Patch' to JSON representation.
1394
+ */
1395
+ export declare function toJson_KustomizationV1Beta1SpecPatchesJson6902Patch(obj: KustomizationV1Beta1SpecPatchesJson6902Patch | undefined): Record<string, any> | undefined;
1396
+ /**
1397
+ * Target points to the resources that the patch document should be applied to.
1398
+ *
1399
+ * @schema KustomizationV1Beta1SpecPatchesJson6902Target
1400
+ */
1401
+ export interface KustomizationV1Beta1SpecPatchesJson6902Target {
1402
+ /**
1403
+ * AnnotationSelector is a string that follows the label selection expression
1404
+ * https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
1405
+ * It matches with the resource annotations.
1406
+ *
1407
+ * @schema KustomizationV1Beta1SpecPatchesJson6902Target#annotationSelector
1408
+ */
1409
+ readonly annotationSelector?: string;
1410
+ /**
1411
+ * Group is the API group to select resources from.
1412
+ * Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
1413
+ * https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
1414
+ *
1415
+ * @schema KustomizationV1Beta1SpecPatchesJson6902Target#group
1416
+ */
1417
+ readonly group?: string;
1418
+ /**
1419
+ * Kind of the API Group to select resources from.
1420
+ * Together with Group and Version it is capable of unambiguously
1421
+ * identifying and/or selecting resources.
1422
+ * https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
1423
+ *
1424
+ * @schema KustomizationV1Beta1SpecPatchesJson6902Target#kind
1425
+ */
1426
+ readonly kind?: string;
1427
+ /**
1428
+ * LabelSelector is a string that follows the label selection expression
1429
+ * https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
1430
+ * It matches with the resource labels.
1431
+ *
1432
+ * @schema KustomizationV1Beta1SpecPatchesJson6902Target#labelSelector
1433
+ */
1434
+ readonly labelSelector?: string;
1435
+ /**
1436
+ * Name to match resources with.
1437
+ *
1438
+ * @schema KustomizationV1Beta1SpecPatchesJson6902Target#name
1439
+ */
1440
+ readonly name?: string;
1441
+ /**
1442
+ * Namespace to select resources from.
1443
+ *
1444
+ * @schema KustomizationV1Beta1SpecPatchesJson6902Target#namespace
1445
+ */
1446
+ readonly namespace?: string;
1447
+ /**
1448
+ * Version of the API Group to select resources from.
1449
+ * Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
1450
+ * https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
1451
+ *
1452
+ * @schema KustomizationV1Beta1SpecPatchesJson6902Target#version
1453
+ */
1454
+ readonly version?: string;
1455
+ }
1456
+ /**
1457
+ * Converts an object of type 'KustomizationV1Beta1SpecPatchesJson6902Target' to JSON representation.
1458
+ */
1459
+ export declare function toJson_KustomizationV1Beta1SpecPatchesJson6902Target(obj: KustomizationV1Beta1SpecPatchesJson6902Target | undefined): Record<string, any> | undefined;
1460
+ /**
1461
+ * SubstituteReference contains a reference to a resource containing
1462
+ * the variables name and value.
1463
+ *
1464
+ * @schema KustomizationV1Beta1SpecPostBuildSubstituteFrom
1465
+ */
1466
+ export interface KustomizationV1Beta1SpecPostBuildSubstituteFrom {
1467
+ /**
1468
+ * Kind of the values referent, valid values are ('Secret', 'ConfigMap').
1469
+ *
1470
+ * @schema KustomizationV1Beta1SpecPostBuildSubstituteFrom#kind
1471
+ */
1472
+ readonly kind: KustomizationV1Beta1SpecPostBuildSubstituteFromKind;
1473
+ /**
1474
+ * Name of the values referent. Should reside in the same namespace as the
1475
+ * referring resource.
1476
+ *
1477
+ * @schema KustomizationV1Beta1SpecPostBuildSubstituteFrom#name
1478
+ */
1479
+ readonly name: string;
1480
+ }
1481
+ /**
1482
+ * Converts an object of type 'KustomizationV1Beta1SpecPostBuildSubstituteFrom' to JSON representation.
1483
+ */
1484
+ export declare function toJson_KustomizationV1Beta1SpecPostBuildSubstituteFrom(obj: KustomizationV1Beta1SpecPostBuildSubstituteFrom | undefined): Record<string, any> | undefined;
1485
+ /**
1486
+ * Kind of the referent
1487
+ *
1488
+ * @schema KustomizationV1Beta1SpecSourceRefKind
1489
+ */
1490
+ export declare enum KustomizationV1Beta1SpecSourceRefKind {
1491
+ /** GitRepository */
1492
+ GIT_REPOSITORY = "GitRepository",
1493
+ /** Bucket */
1494
+ BUCKET = "Bucket"
1495
+ }
1496
+ /**
1497
+ * Op indicates the operation to perform. Its value MUST be one of "add", "remove", "replace", "move", "copy", or
1498
+ * "test".
1499
+ * https://datatracker.ietf.org/doc/html/rfc6902#section-4
1500
+ *
1501
+ * @schema KustomizationV1Beta1SpecPatchesJson6902PatchOp
1502
+ */
1503
+ export declare enum KustomizationV1Beta1SpecPatchesJson6902PatchOp {
1504
+ /** test */
1505
+ TEST = "test",
1506
+ /** remove */
1507
+ REMOVE = "remove",
1508
+ /** add */
1509
+ ADD = "add",
1510
+ /** replace */
1511
+ REPLACE = "replace",
1512
+ /** move */
1513
+ MOVE = "move",
1514
+ /** copy */
1515
+ COPY = "copy"
1516
+ }
1517
+ /**
1518
+ * Kind of the values referent, valid values are ('Secret', 'ConfigMap').
1519
+ *
1520
+ * @schema KustomizationV1Beta1SpecPostBuildSubstituteFromKind
1521
+ */
1522
+ export declare enum KustomizationV1Beta1SpecPostBuildSubstituteFromKind {
1523
+ /** Secret */
1524
+ SECRET = "Secret",
1525
+ /** ConfigMap */
1526
+ CONFIG_MAP = "ConfigMap"
1527
+ }
1528
+ /**
1529
+ * Kustomization is the Schema for the kustomizations API.
1530
+ *
1531
+ * @schema KustomizationV1Beta2
1532
+ */
1533
+ export declare class KustomizationV1Beta2 extends ApiObject {
1534
+ /**
1535
+ * Returns the apiVersion and kind for "KustomizationV1Beta2"
1536
+ */
1537
+ static readonly GVK: GroupVersionKind;
1538
+ /**
1539
+ * Renders a Kubernetes manifest for "KustomizationV1Beta2".
1540
+ *
1541
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
1542
+ *
1543
+ * @param props initialization props
1544
+ */
1545
+ static manifest(props?: KustomizationV1Beta2Props): any;
1546
+ /**
1547
+ * Defines a "KustomizationV1Beta2" API object
1548
+ * @param scope the scope in which to define this object
1549
+ * @param id a scope-local name for the object
1550
+ * @param props initialization props
1551
+ */
1552
+ constructor(scope: Construct, id: string, props?: KustomizationV1Beta2Props);
1553
+ /**
1554
+ * Renders the object to Kubernetes JSON.
1555
+ */
1556
+ toJson(): any;
1557
+ }
1558
+ /**
1559
+ * Kustomization is the Schema for the kustomizations API.
1560
+ *
1561
+ * @schema KustomizationV1Beta2
1562
+ */
1563
+ export interface KustomizationV1Beta2Props {
1564
+ /**
1565
+ * @schema KustomizationV1Beta2#metadata
1566
+ */
1567
+ readonly metadata?: ApiObjectMetadata;
1568
+ /**
1569
+ * KustomizationSpec defines the configuration to calculate the desired state from a Source using Kustomize.
1570
+ *
1571
+ * @schema KustomizationV1Beta2#spec
1572
+ */
1573
+ readonly spec?: KustomizationV1Beta2Spec;
1574
+ }
1575
+ /**
1576
+ * Converts an object of type 'KustomizationV1Beta2Props' to JSON representation.
1577
+ */
1578
+ export declare function toJson_KustomizationV1Beta2Props(obj: KustomizationV1Beta2Props | undefined): Record<string, any> | undefined;
1579
+ /**
1580
+ * KustomizationSpec defines the configuration to calculate the desired state from a Source using Kustomize.
1581
+ *
1582
+ * @schema KustomizationV1Beta2Spec
1583
+ */
1584
+ export interface KustomizationV1Beta2Spec {
1585
+ /**
1586
+ * CommonMetadata specifies the common labels and annotations that are applied to all resources.
1587
+ * Any existing label or annotation will be overridden if its key matches a common one.
1588
+ *
1589
+ * @schema KustomizationV1Beta2Spec#commonMetadata
1590
+ */
1591
+ readonly commonMetadata?: KustomizationV1Beta2SpecCommonMetadata;
1592
+ /**
1593
+ * Components specifies relative paths to specifications of other Components.
1594
+ *
1595
+ * @schema KustomizationV1Beta2Spec#components
1596
+ */
1597
+ readonly components?: string[];
1598
+ /**
1599
+ * Decrypt Kubernetes secrets before applying them on the cluster.
1600
+ *
1601
+ * @schema KustomizationV1Beta2Spec#decryption
1602
+ */
1603
+ readonly decryption?: KustomizationV1Beta2SpecDecryption;
1604
+ /**
1605
+ * DependsOn may contain a meta.NamespacedObjectReference slice
1606
+ * with references to Kustomization resources that must be ready before this
1607
+ * Kustomization can be reconciled.
1608
+ *
1609
+ * @schema KustomizationV1Beta2Spec#dependsOn
1610
+ */
1611
+ readonly dependsOn?: KustomizationV1Beta2SpecDependsOn[];
1612
+ /**
1613
+ * Force instructs the controller to recreate resources
1614
+ * when patching fails due to an immutable field change.
1615
+ *
1616
+ * @schema KustomizationV1Beta2Spec#force
1617
+ */
1618
+ readonly force?: boolean;
1619
+ /**
1620
+ * A list of resources to be included in the health assessment.
1621
+ *
1622
+ * @schema KustomizationV1Beta2Spec#healthChecks
1623
+ */
1624
+ readonly healthChecks?: KustomizationV1Beta2SpecHealthChecks[];
1625
+ /**
1626
+ * Images is a list of (image name, new name, new tag or digest)
1627
+ * for changing image names, tags or digests. This can also be achieved with a
1628
+ * patch, but this operator is simpler to specify.
1629
+ *
1630
+ * @schema KustomizationV1Beta2Spec#images
1631
+ */
1632
+ readonly images?: KustomizationV1Beta2SpecImages[];
1633
+ /**
1634
+ * The interval at which to reconcile the Kustomization.
1635
+ *
1636
+ * @schema KustomizationV1Beta2Spec#interval
1637
+ */
1638
+ readonly interval: string;
1639
+ /**
1640
+ * The KubeConfig for reconciling the Kustomization on a remote cluster.
1641
+ * When used in combination with KustomizationSpec.ServiceAccountName,
1642
+ * forces the controller to act on behalf of that Service Account at the
1643
+ * target cluster.
1644
+ * If the --default-service-account flag is set, its value will be used as
1645
+ * a controller level fallback for when KustomizationSpec.ServiceAccountName
1646
+ * is empty.
1647
+ *
1648
+ * @schema KustomizationV1Beta2Spec#kubeConfig
1649
+ */
1650
+ readonly kubeConfig?: KustomizationV1Beta2SpecKubeConfig;
1651
+ /**
1652
+ * Strategic merge and JSON patches, defined as inline YAML objects,
1653
+ * capable of targeting objects based on kind, label and annotation selectors.
1654
+ *
1655
+ * @schema KustomizationV1Beta2Spec#patches
1656
+ */
1657
+ readonly patches?: KustomizationV1Beta2SpecPatches[];
1658
+ /**
1659
+ * JSON 6902 patches, defined as inline YAML objects.
1660
+ * Deprecated: Use Patches instead.
1661
+ *
1662
+ * @schema KustomizationV1Beta2Spec#patchesJson6902
1663
+ */
1664
+ readonly patchesJson6902?: KustomizationV1Beta2SpecPatchesJson6902[];
1665
+ /**
1666
+ * Strategic merge patches, defined as inline YAML objects.
1667
+ * Deprecated: Use Patches instead.
1668
+ *
1669
+ * @schema KustomizationV1Beta2Spec#patchesStrategicMerge
1670
+ */
1671
+ readonly patchesStrategicMerge?: any[];
1672
+ /**
1673
+ * Path to the directory containing the kustomization.yaml file, or the
1674
+ * set of plain YAMLs a kustomization.yaml should be generated for.
1675
+ * Defaults to 'None', which translates to the root path of the SourceRef.
1676
+ *
1677
+ * @default None', which translates to the root path of the SourceRef.
1678
+ * @schema KustomizationV1Beta2Spec#path
1679
+ */
1680
+ readonly path?: string;
1681
+ /**
1682
+ * PostBuild describes which actions to perform on the YAML manifest
1683
+ * generated by building the kustomize overlay.
1684
+ *
1685
+ * @schema KustomizationV1Beta2Spec#postBuild
1686
+ */
1687
+ readonly postBuild?: KustomizationV1Beta2SpecPostBuild;
1688
+ /**
1689
+ * Prune enables garbage collection.
1690
+ *
1691
+ * @schema KustomizationV1Beta2Spec#prune
1692
+ */
1693
+ readonly prune: boolean;
1694
+ /**
1695
+ * The interval at which to retry a previously failed reconciliation.
1696
+ * When not specified, the controller uses the KustomizationSpec.Interval
1697
+ * value to retry failures.
1698
+ *
1699
+ * @schema KustomizationV1Beta2Spec#retryInterval
1700
+ */
1701
+ readonly retryInterval?: string;
1702
+ /**
1703
+ * The name of the Kubernetes service account to impersonate
1704
+ * when reconciling this Kustomization.
1705
+ *
1706
+ * @schema KustomizationV1Beta2Spec#serviceAccountName
1707
+ */
1708
+ readonly serviceAccountName?: string;
1709
+ /**
1710
+ * Reference of the source where the kustomization file is.
1711
+ *
1712
+ * @schema KustomizationV1Beta2Spec#sourceRef
1713
+ */
1714
+ readonly sourceRef: KustomizationV1Beta2SpecSourceRef;
1715
+ /**
1716
+ * This flag tells the controller to suspend subsequent kustomize executions,
1717
+ * it does not apply to already started executions. Defaults to false.
1718
+ *
1719
+ * @default false.
1720
+ * @schema KustomizationV1Beta2Spec#suspend
1721
+ */
1722
+ readonly suspend?: boolean;
1723
+ /**
1724
+ * TargetNamespace sets or overrides the namespace in the
1725
+ * kustomization.yaml file.
1726
+ *
1727
+ * @schema KustomizationV1Beta2Spec#targetNamespace
1728
+ */
1729
+ readonly targetNamespace?: string;
1730
+ /**
1731
+ * Timeout for validation, apply and health checking operations.
1732
+ * Defaults to 'Interval' duration.
1733
+ *
1734
+ * @default Interval' duration.
1735
+ * @schema KustomizationV1Beta2Spec#timeout
1736
+ */
1737
+ readonly timeout?: string;
1738
+ /**
1739
+ * Deprecated: Not used in v1beta2.
1740
+ *
1741
+ * @schema KustomizationV1Beta2Spec#validation
1742
+ */
1743
+ readonly validation?: KustomizationV1Beta2SpecValidation;
1744
+ /**
1745
+ * Wait instructs the controller to check the health of all the reconciled resources.
1746
+ * When enabled, the HealthChecks are ignored. Defaults to false.
1747
+ *
1748
+ * @default false.
1749
+ * @schema KustomizationV1Beta2Spec#wait
1750
+ */
1751
+ readonly wait?: boolean;
1752
+ }
1753
+ /**
1754
+ * Converts an object of type 'KustomizationV1Beta2Spec' to JSON representation.
1755
+ */
1756
+ export declare function toJson_KustomizationV1Beta2Spec(obj: KustomizationV1Beta2Spec | undefined): Record<string, any> | undefined;
1757
+ /**
1758
+ * CommonMetadata specifies the common labels and annotations that are applied to all resources.
1759
+ * Any existing label or annotation will be overridden if its key matches a common one.
1760
+ *
1761
+ * @schema KustomizationV1Beta2SpecCommonMetadata
1762
+ */
1763
+ export interface KustomizationV1Beta2SpecCommonMetadata {
1764
+ /**
1765
+ * Annotations to be added to the object's metadata.
1766
+ *
1767
+ * @schema KustomizationV1Beta2SpecCommonMetadata#annotations
1768
+ */
1769
+ readonly annotations?: {
1770
+ [key: string]: string;
1771
+ };
1772
+ /**
1773
+ * Labels to be added to the object's metadata.
1774
+ *
1775
+ * @schema KustomizationV1Beta2SpecCommonMetadata#labels
1776
+ */
1777
+ readonly labels?: {
1778
+ [key: string]: string;
1779
+ };
1780
+ }
1781
+ /**
1782
+ * Converts an object of type 'KustomizationV1Beta2SpecCommonMetadata' to JSON representation.
1783
+ */
1784
+ export declare function toJson_KustomizationV1Beta2SpecCommonMetadata(obj: KustomizationV1Beta2SpecCommonMetadata | undefined): Record<string, any> | undefined;
1785
+ /**
1786
+ * Decrypt Kubernetes secrets before applying them on the cluster.
1787
+ *
1788
+ * @schema KustomizationV1Beta2SpecDecryption
1789
+ */
1790
+ export interface KustomizationV1Beta2SpecDecryption {
1791
+ /**
1792
+ * Provider is the name of the decryption engine.
1793
+ *
1794
+ * @schema KustomizationV1Beta2SpecDecryption#provider
1795
+ */
1796
+ readonly provider: KustomizationV1Beta2SpecDecryptionProvider;
1797
+ /**
1798
+ * The secret name containing the private OpenPGP keys used for decryption.
1799
+ *
1800
+ * @schema KustomizationV1Beta2SpecDecryption#secretRef
1801
+ */
1802
+ readonly secretRef?: KustomizationV1Beta2SpecDecryptionSecretRef;
1803
+ }
1804
+ /**
1805
+ * Converts an object of type 'KustomizationV1Beta2SpecDecryption' to JSON representation.
1806
+ */
1807
+ export declare function toJson_KustomizationV1Beta2SpecDecryption(obj: KustomizationV1Beta2SpecDecryption | undefined): Record<string, any> | undefined;
1808
+ /**
1809
+ * NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any
1810
+ * namespace.
1811
+ *
1812
+ * @schema KustomizationV1Beta2SpecDependsOn
1813
+ */
1814
+ export interface KustomizationV1Beta2SpecDependsOn {
1815
+ /**
1816
+ * Name of the referent.
1817
+ *
1818
+ * @schema KustomizationV1Beta2SpecDependsOn#name
1819
+ */
1820
+ readonly name: string;
1821
+ /**
1822
+ * Namespace of the referent, when not specified it acts as LocalObjectReference.
1823
+ *
1824
+ * @schema KustomizationV1Beta2SpecDependsOn#namespace
1825
+ */
1826
+ readonly namespace?: string;
1827
+ }
1828
+ /**
1829
+ * Converts an object of type 'KustomizationV1Beta2SpecDependsOn' to JSON representation.
1830
+ */
1831
+ export declare function toJson_KustomizationV1Beta2SpecDependsOn(obj: KustomizationV1Beta2SpecDependsOn | undefined): Record<string, any> | undefined;
1832
+ /**
1833
+ * NamespacedObjectKindReference contains enough information to locate the typed referenced Kubernetes resource object
1834
+ * in any namespace.
1835
+ *
1836
+ * @schema KustomizationV1Beta2SpecHealthChecks
1837
+ */
1838
+ export interface KustomizationV1Beta2SpecHealthChecks {
1839
+ /**
1840
+ * API version of the referent, if not specified the Kubernetes preferred version will be used.
1841
+ *
1842
+ * @schema KustomizationV1Beta2SpecHealthChecks#apiVersion
1843
+ */
1844
+ readonly apiVersion?: string;
1845
+ /**
1846
+ * Kind of the referent.
1847
+ *
1848
+ * @schema KustomizationV1Beta2SpecHealthChecks#kind
1849
+ */
1850
+ readonly kind: string;
1851
+ /**
1852
+ * Name of the referent.
1853
+ *
1854
+ * @schema KustomizationV1Beta2SpecHealthChecks#name
1855
+ */
1856
+ readonly name: string;
1857
+ /**
1858
+ * Namespace of the referent, when not specified it acts as LocalObjectReference.
1859
+ *
1860
+ * @schema KustomizationV1Beta2SpecHealthChecks#namespace
1861
+ */
1862
+ readonly namespace?: string;
1863
+ }
1864
+ /**
1865
+ * Converts an object of type 'KustomizationV1Beta2SpecHealthChecks' to JSON representation.
1866
+ */
1867
+ export declare function toJson_KustomizationV1Beta2SpecHealthChecks(obj: KustomizationV1Beta2SpecHealthChecks | undefined): Record<string, any> | undefined;
1868
+ /**
1869
+ * Image contains an image name, a new name, a new tag or digest, which will replace the original name and tag.
1870
+ *
1871
+ * @schema KustomizationV1Beta2SpecImages
1872
+ */
1873
+ export interface KustomizationV1Beta2SpecImages {
1874
+ /**
1875
+ * Digest is the value used to replace the original image tag.
1876
+ * If digest is present NewTag value is ignored.
1877
+ *
1878
+ * @schema KustomizationV1Beta2SpecImages#digest
1879
+ */
1880
+ readonly digest?: string;
1881
+ /**
1882
+ * Name is a tag-less image name.
1883
+ *
1884
+ * @schema KustomizationV1Beta2SpecImages#name
1885
+ */
1886
+ readonly name: string;
1887
+ /**
1888
+ * NewName is the value used to replace the original name.
1889
+ *
1890
+ * @schema KustomizationV1Beta2SpecImages#newName
1891
+ */
1892
+ readonly newName?: string;
1893
+ /**
1894
+ * NewTag is the value used to replace the original tag.
1895
+ *
1896
+ * @schema KustomizationV1Beta2SpecImages#newTag
1897
+ */
1898
+ readonly newTag?: string;
1899
+ }
1900
+ /**
1901
+ * Converts an object of type 'KustomizationV1Beta2SpecImages' to JSON representation.
1902
+ */
1903
+ export declare function toJson_KustomizationV1Beta2SpecImages(obj: KustomizationV1Beta2SpecImages | undefined): Record<string, any> | undefined;
1904
+ /**
1905
+ * The KubeConfig for reconciling the Kustomization on a remote cluster.
1906
+ * When used in combination with KustomizationSpec.ServiceAccountName,
1907
+ * forces the controller to act on behalf of that Service Account at the
1908
+ * target cluster.
1909
+ * If the --default-service-account flag is set, its value will be used as
1910
+ * a controller level fallback for when KustomizationSpec.ServiceAccountName
1911
+ * is empty.
1912
+ *
1913
+ * @schema KustomizationV1Beta2SpecKubeConfig
1914
+ */
1915
+ export interface KustomizationV1Beta2SpecKubeConfig {
1916
+ /**
1917
+ * SecretRef holds the name of a secret that contains a key with
1918
+ * the kubeconfig file as the value. If no key is set, the key will default
1919
+ * to 'value'.
1920
+ * It is recommended that the kubeconfig is self-contained, and the secret
1921
+ * is regularly updated if credentials such as a cloud-access-token expire.
1922
+ * Cloud specific `cmd-path` auth helpers will not function without adding
1923
+ * binaries and credentials to the Pod that is responsible for reconciling
1924
+ * Kubernetes resources.
1925
+ *
1926
+ * @schema KustomizationV1Beta2SpecKubeConfig#secretRef
1927
+ */
1928
+ readonly secretRef: KustomizationV1Beta2SpecKubeConfigSecretRef;
1929
+ }
1930
+ /**
1931
+ * Converts an object of type 'KustomizationV1Beta2SpecKubeConfig' to JSON representation.
1932
+ */
1933
+ export declare function toJson_KustomizationV1Beta2SpecKubeConfig(obj: KustomizationV1Beta2SpecKubeConfig | undefined): Record<string, any> | undefined;
1934
+ /**
1935
+ * Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should
1936
+ * be applied to.
1937
+ *
1938
+ * @schema KustomizationV1Beta2SpecPatches
1939
+ */
1940
+ export interface KustomizationV1Beta2SpecPatches {
1941
+ /**
1942
+ * Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with
1943
+ * an array of operation objects.
1944
+ *
1945
+ * @schema KustomizationV1Beta2SpecPatches#patch
1946
+ */
1947
+ readonly patch: string;
1948
+ /**
1949
+ * Target points to the resources that the patch document should be applied to.
1950
+ *
1951
+ * @schema KustomizationV1Beta2SpecPatches#target
1952
+ */
1953
+ readonly target?: KustomizationV1Beta2SpecPatchesTarget;
1954
+ }
1955
+ /**
1956
+ * Converts an object of type 'KustomizationV1Beta2SpecPatches' to JSON representation.
1957
+ */
1958
+ export declare function toJson_KustomizationV1Beta2SpecPatches(obj: KustomizationV1Beta2SpecPatches | undefined): Record<string, any> | undefined;
1959
+ /**
1960
+ * JSON6902Patch contains a JSON6902 patch and the target the patch should be applied to.
1961
+ *
1962
+ * @schema KustomizationV1Beta2SpecPatchesJson6902
1963
+ */
1964
+ export interface KustomizationV1Beta2SpecPatchesJson6902 {
1965
+ /**
1966
+ * Patch contains the JSON6902 patch document with an array of operation objects.
1967
+ *
1968
+ * @schema KustomizationV1Beta2SpecPatchesJson6902#patch
1969
+ */
1970
+ readonly patch: KustomizationV1Beta2SpecPatchesJson6902Patch[];
1971
+ /**
1972
+ * Target points to the resources that the patch document should be applied to.
1973
+ *
1974
+ * @schema KustomizationV1Beta2SpecPatchesJson6902#target
1975
+ */
1976
+ readonly target: KustomizationV1Beta2SpecPatchesJson6902Target;
1977
+ }
1978
+ /**
1979
+ * Converts an object of type 'KustomizationV1Beta2SpecPatchesJson6902' to JSON representation.
1980
+ */
1981
+ export declare function toJson_KustomizationV1Beta2SpecPatchesJson6902(obj: KustomizationV1Beta2SpecPatchesJson6902 | undefined): Record<string, any> | undefined;
1982
+ /**
1983
+ * PostBuild describes which actions to perform on the YAML manifest
1984
+ * generated by building the kustomize overlay.
1985
+ *
1986
+ * @schema KustomizationV1Beta2SpecPostBuild
1987
+ */
1988
+ export interface KustomizationV1Beta2SpecPostBuild {
1989
+ /**
1990
+ * Substitute holds a map of key/value pairs.
1991
+ * The variables defined in your YAML manifests
1992
+ * that match any of the keys defined in the map
1993
+ * will be substituted with the set value.
1994
+ * Includes support for bash string replacement functions
1995
+ * e.g. ${var:=default}, ${var:position} and ${var/substring/replacement}.
1996
+ *
1997
+ * @schema KustomizationV1Beta2SpecPostBuild#substitute
1998
+ */
1999
+ readonly substitute?: {
2000
+ [key: string]: string;
2001
+ };
2002
+ /**
2003
+ * SubstituteFrom holds references to ConfigMaps and Secrets containing
2004
+ * the variables and their values to be substituted in the YAML manifests.
2005
+ * The ConfigMap and the Secret data keys represent the var names and they
2006
+ * must match the vars declared in the manifests for the substitution to happen.
2007
+ *
2008
+ * @schema KustomizationV1Beta2SpecPostBuild#substituteFrom
2009
+ */
2010
+ readonly substituteFrom?: KustomizationV1Beta2SpecPostBuildSubstituteFrom[];
2011
+ }
2012
+ /**
2013
+ * Converts an object of type 'KustomizationV1Beta2SpecPostBuild' to JSON representation.
2014
+ */
2015
+ export declare function toJson_KustomizationV1Beta2SpecPostBuild(obj: KustomizationV1Beta2SpecPostBuild | undefined): Record<string, any> | undefined;
2016
+ /**
2017
+ * Reference of the source where the kustomization file is.
2018
+ *
2019
+ * @schema KustomizationV1Beta2SpecSourceRef
2020
+ */
2021
+ export interface KustomizationV1Beta2SpecSourceRef {
2022
+ /**
2023
+ * API version of the referent.
2024
+ *
2025
+ * @schema KustomizationV1Beta2SpecSourceRef#apiVersion
2026
+ */
2027
+ readonly apiVersion?: string;
2028
+ /**
2029
+ * Kind of the referent.
2030
+ *
2031
+ * @schema KustomizationV1Beta2SpecSourceRef#kind
2032
+ */
2033
+ readonly kind: KustomizationV1Beta2SpecSourceRefKind;
2034
+ /**
2035
+ * Name of the referent.
2036
+ *
2037
+ * @schema KustomizationV1Beta2SpecSourceRef#name
2038
+ */
2039
+ readonly name: string;
2040
+ /**
2041
+ * Namespace of the referent, defaults to the namespace of the Kubernetes resource object that contains the reference.
2042
+ *
2043
+ * @schema KustomizationV1Beta2SpecSourceRef#namespace
2044
+ */
2045
+ readonly namespace?: string;
2046
+ }
2047
+ /**
2048
+ * Converts an object of type 'KustomizationV1Beta2SpecSourceRef' to JSON representation.
2049
+ */
2050
+ export declare function toJson_KustomizationV1Beta2SpecSourceRef(obj: KustomizationV1Beta2SpecSourceRef | undefined): Record<string, any> | undefined;
2051
+ /**
2052
+ * Deprecated: Not used in v1beta2.
2053
+ *
2054
+ * @schema KustomizationV1Beta2SpecValidation
2055
+ */
2056
+ export declare enum KustomizationV1Beta2SpecValidation {
2057
+ /** none */
2058
+ NONE = "none",
2059
+ /** client */
2060
+ CLIENT = "client",
2061
+ /** server */
2062
+ SERVER = "server"
2063
+ }
2064
+ /**
2065
+ * Provider is the name of the decryption engine.
2066
+ *
2067
+ * @schema KustomizationV1Beta2SpecDecryptionProvider
2068
+ */
2069
+ export declare enum KustomizationV1Beta2SpecDecryptionProvider {
2070
+ /** sops */
2071
+ SOPS = "sops"
2072
+ }
2073
+ /**
2074
+ * The secret name containing the private OpenPGP keys used for decryption.
2075
+ *
2076
+ * @schema KustomizationV1Beta2SpecDecryptionSecretRef
2077
+ */
2078
+ export interface KustomizationV1Beta2SpecDecryptionSecretRef {
2079
+ /**
2080
+ * Name of the referent.
2081
+ *
2082
+ * @schema KustomizationV1Beta2SpecDecryptionSecretRef#name
2083
+ */
2084
+ readonly name: string;
2085
+ }
2086
+ /**
2087
+ * Converts an object of type 'KustomizationV1Beta2SpecDecryptionSecretRef' to JSON representation.
2088
+ */
2089
+ export declare function toJson_KustomizationV1Beta2SpecDecryptionSecretRef(obj: KustomizationV1Beta2SpecDecryptionSecretRef | undefined): Record<string, any> | undefined;
2090
+ /**
2091
+ * SecretRef holds the name of a secret that contains a key with
2092
+ * the kubeconfig file as the value. If no key is set, the key will default
2093
+ * to 'value'.
2094
+ * It is recommended that the kubeconfig is self-contained, and the secret
2095
+ * is regularly updated if credentials such as a cloud-access-token expire.
2096
+ * Cloud specific `cmd-path` auth helpers will not function without adding
2097
+ * binaries and credentials to the Pod that is responsible for reconciling
2098
+ * Kubernetes resources.
2099
+ *
2100
+ * @schema KustomizationV1Beta2SpecKubeConfigSecretRef
2101
+ */
2102
+ export interface KustomizationV1Beta2SpecKubeConfigSecretRef {
2103
+ /**
2104
+ * Key in the Secret, when not specified an implementation-specific default key is used.
2105
+ *
2106
+ * @schema KustomizationV1Beta2SpecKubeConfigSecretRef#key
2107
+ */
2108
+ readonly key?: string;
2109
+ /**
2110
+ * Name of the Secret.
2111
+ *
2112
+ * @schema KustomizationV1Beta2SpecKubeConfigSecretRef#name
2113
+ */
2114
+ readonly name: string;
2115
+ }
2116
+ /**
2117
+ * Converts an object of type 'KustomizationV1Beta2SpecKubeConfigSecretRef' to JSON representation.
2118
+ */
2119
+ export declare function toJson_KustomizationV1Beta2SpecKubeConfigSecretRef(obj: KustomizationV1Beta2SpecKubeConfigSecretRef | undefined): Record<string, any> | undefined;
2120
+ /**
2121
+ * Target points to the resources that the patch document should be applied to.
2122
+ *
2123
+ * @schema KustomizationV1Beta2SpecPatchesTarget
2124
+ */
2125
+ export interface KustomizationV1Beta2SpecPatchesTarget {
2126
+ /**
2127
+ * AnnotationSelector is a string that follows the label selection expression
2128
+ * https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
2129
+ * It matches with the resource annotations.
2130
+ *
2131
+ * @schema KustomizationV1Beta2SpecPatchesTarget#annotationSelector
2132
+ */
2133
+ readonly annotationSelector?: string;
2134
+ /**
2135
+ * Group is the API group to select resources from.
2136
+ * Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
2137
+ * https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
2138
+ *
2139
+ * @schema KustomizationV1Beta2SpecPatchesTarget#group
2140
+ */
2141
+ readonly group?: string;
2142
+ /**
2143
+ * Kind of the API Group to select resources from.
2144
+ * Together with Group and Version it is capable of unambiguously
2145
+ * identifying and/or selecting resources.
2146
+ * https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
2147
+ *
2148
+ * @schema KustomizationV1Beta2SpecPatchesTarget#kind
2149
+ */
2150
+ readonly kind?: string;
2151
+ /**
2152
+ * LabelSelector is a string that follows the label selection expression
2153
+ * https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
2154
+ * It matches with the resource labels.
2155
+ *
2156
+ * @schema KustomizationV1Beta2SpecPatchesTarget#labelSelector
2157
+ */
2158
+ readonly labelSelector?: string;
2159
+ /**
2160
+ * Name to match resources with.
2161
+ *
2162
+ * @schema KustomizationV1Beta2SpecPatchesTarget#name
2163
+ */
2164
+ readonly name?: string;
2165
+ /**
2166
+ * Namespace to select resources from.
2167
+ *
2168
+ * @schema KustomizationV1Beta2SpecPatchesTarget#namespace
2169
+ */
2170
+ readonly namespace?: string;
2171
+ /**
2172
+ * Version of the API Group to select resources from.
2173
+ * Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
2174
+ * https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
2175
+ *
2176
+ * @schema KustomizationV1Beta2SpecPatchesTarget#version
2177
+ */
2178
+ readonly version?: string;
2179
+ }
2180
+ /**
2181
+ * Converts an object of type 'KustomizationV1Beta2SpecPatchesTarget' to JSON representation.
2182
+ */
2183
+ export declare function toJson_KustomizationV1Beta2SpecPatchesTarget(obj: KustomizationV1Beta2SpecPatchesTarget | undefined): Record<string, any> | undefined;
2184
+ /**
2185
+ * JSON6902 is a JSON6902 operation object.
2186
+ * https://datatracker.ietf.org/doc/html/rfc6902#section-4
2187
+ *
2188
+ * @schema KustomizationV1Beta2SpecPatchesJson6902Patch
2189
+ */
2190
+ export interface KustomizationV1Beta2SpecPatchesJson6902Patch {
2191
+ /**
2192
+ * From contains a JSON-pointer value that references a location within the target document where the operation is
2193
+ * performed. The meaning of the value depends on the value of Op, and is NOT taken into account by all operations.
2194
+ *
2195
+ * @schema KustomizationV1Beta2SpecPatchesJson6902Patch#from
2196
+ */
2197
+ readonly from?: string;
2198
+ /**
2199
+ * Op indicates the operation to perform. Its value MUST be one of "add", "remove", "replace", "move", "copy", or
2200
+ * "test".
2201
+ * https://datatracker.ietf.org/doc/html/rfc6902#section-4
2202
+ *
2203
+ * @schema KustomizationV1Beta2SpecPatchesJson6902Patch#op
2204
+ */
2205
+ readonly op: KustomizationV1Beta2SpecPatchesJson6902PatchOp;
2206
+ /**
2207
+ * Path contains the JSON-pointer value that references a location within the target document where the operation
2208
+ * is performed. The meaning of the value depends on the value of Op.
2209
+ *
2210
+ * @schema KustomizationV1Beta2SpecPatchesJson6902Patch#path
2211
+ */
2212
+ readonly path: string;
2213
+ /**
2214
+ * Value contains a valid JSON structure. The meaning of the value depends on the value of Op, and is NOT taken into
2215
+ * account by all operations.
2216
+ *
2217
+ * @schema KustomizationV1Beta2SpecPatchesJson6902Patch#value
2218
+ */
2219
+ readonly value?: any;
2220
+ }
2221
+ /**
2222
+ * Converts an object of type 'KustomizationV1Beta2SpecPatchesJson6902Patch' to JSON representation.
2223
+ */
2224
+ export declare function toJson_KustomizationV1Beta2SpecPatchesJson6902Patch(obj: KustomizationV1Beta2SpecPatchesJson6902Patch | undefined): Record<string, any> | undefined;
2225
+ /**
2226
+ * Target points to the resources that the patch document should be applied to.
2227
+ *
2228
+ * @schema KustomizationV1Beta2SpecPatchesJson6902Target
2229
+ */
2230
+ export interface KustomizationV1Beta2SpecPatchesJson6902Target {
2231
+ /**
2232
+ * AnnotationSelector is a string that follows the label selection expression
2233
+ * https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
2234
+ * It matches with the resource annotations.
2235
+ *
2236
+ * @schema KustomizationV1Beta2SpecPatchesJson6902Target#annotationSelector
2237
+ */
2238
+ readonly annotationSelector?: string;
2239
+ /**
2240
+ * Group is the API group to select resources from.
2241
+ * Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
2242
+ * https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
2243
+ *
2244
+ * @schema KustomizationV1Beta2SpecPatchesJson6902Target#group
2245
+ */
2246
+ readonly group?: string;
2247
+ /**
2248
+ * Kind of the API Group to select resources from.
2249
+ * Together with Group and Version it is capable of unambiguously
2250
+ * identifying and/or selecting resources.
2251
+ * https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
2252
+ *
2253
+ * @schema KustomizationV1Beta2SpecPatchesJson6902Target#kind
2254
+ */
2255
+ readonly kind?: string;
2256
+ /**
2257
+ * LabelSelector is a string that follows the label selection expression
2258
+ * https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
2259
+ * It matches with the resource labels.
2260
+ *
2261
+ * @schema KustomizationV1Beta2SpecPatchesJson6902Target#labelSelector
2262
+ */
2263
+ readonly labelSelector?: string;
2264
+ /**
2265
+ * Name to match resources with.
2266
+ *
2267
+ * @schema KustomizationV1Beta2SpecPatchesJson6902Target#name
2268
+ */
2269
+ readonly name?: string;
2270
+ /**
2271
+ * Namespace to select resources from.
2272
+ *
2273
+ * @schema KustomizationV1Beta2SpecPatchesJson6902Target#namespace
2274
+ */
2275
+ readonly namespace?: string;
2276
+ /**
2277
+ * Version of the API Group to select resources from.
2278
+ * Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
2279
+ * https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
2280
+ *
2281
+ * @schema KustomizationV1Beta2SpecPatchesJson6902Target#version
2282
+ */
2283
+ readonly version?: string;
2284
+ }
2285
+ /**
2286
+ * Converts an object of type 'KustomizationV1Beta2SpecPatchesJson6902Target' to JSON representation.
2287
+ */
2288
+ export declare function toJson_KustomizationV1Beta2SpecPatchesJson6902Target(obj: KustomizationV1Beta2SpecPatchesJson6902Target | undefined): Record<string, any> | undefined;
2289
+ /**
2290
+ * SubstituteReference contains a reference to a resource containing
2291
+ * the variables name and value.
2292
+ *
2293
+ * @schema KustomizationV1Beta2SpecPostBuildSubstituteFrom
2294
+ */
2295
+ export interface KustomizationV1Beta2SpecPostBuildSubstituteFrom {
2296
+ /**
2297
+ * Kind of the values referent, valid values are ('Secret', 'ConfigMap').
2298
+ *
2299
+ * @schema KustomizationV1Beta2SpecPostBuildSubstituteFrom#kind
2300
+ */
2301
+ readonly kind: KustomizationV1Beta2SpecPostBuildSubstituteFromKind;
2302
+ /**
2303
+ * Name of the values referent. Should reside in the same namespace as the
2304
+ * referring resource.
2305
+ *
2306
+ * @schema KustomizationV1Beta2SpecPostBuildSubstituteFrom#name
2307
+ */
2308
+ readonly name: string;
2309
+ /**
2310
+ * Optional indicates whether the referenced resource must exist, or whether to
2311
+ * tolerate its absence. If true and the referenced resource is absent, proceed
2312
+ * as if the resource was present but empty, without any variables defined.
2313
+ *
2314
+ * @schema KustomizationV1Beta2SpecPostBuildSubstituteFrom#optional
2315
+ */
2316
+ readonly optional?: boolean;
2317
+ }
2318
+ /**
2319
+ * Converts an object of type 'KustomizationV1Beta2SpecPostBuildSubstituteFrom' to JSON representation.
2320
+ */
2321
+ export declare function toJson_KustomizationV1Beta2SpecPostBuildSubstituteFrom(obj: KustomizationV1Beta2SpecPostBuildSubstituteFrom | undefined): Record<string, any> | undefined;
2322
+ /**
2323
+ * Kind of the referent.
2324
+ *
2325
+ * @schema KustomizationV1Beta2SpecSourceRefKind
2326
+ */
2327
+ export declare enum KustomizationV1Beta2SpecSourceRefKind {
2328
+ /** OCIRepository */
2329
+ OCI_REPOSITORY = "OCIRepository",
2330
+ /** GitRepository */
2331
+ GIT_REPOSITORY = "GitRepository",
2332
+ /** Bucket */
2333
+ BUCKET = "Bucket"
2334
+ }
2335
+ /**
2336
+ * Op indicates the operation to perform. Its value MUST be one of "add", "remove", "replace", "move", "copy", or
2337
+ * "test".
2338
+ * https://datatracker.ietf.org/doc/html/rfc6902#section-4
2339
+ *
2340
+ * @schema KustomizationV1Beta2SpecPatchesJson6902PatchOp
2341
+ */
2342
+ export declare enum KustomizationV1Beta2SpecPatchesJson6902PatchOp {
2343
+ /** test */
2344
+ TEST = "test",
2345
+ /** remove */
2346
+ REMOVE = "remove",
2347
+ /** add */
2348
+ ADD = "add",
2349
+ /** replace */
2350
+ REPLACE = "replace",
2351
+ /** move */
2352
+ MOVE = "move",
2353
+ /** copy */
2354
+ COPY = "copy"
2355
+ }
2356
+ /**
2357
+ * Kind of the values referent, valid values are ('Secret', 'ConfigMap').
2358
+ *
2359
+ * @schema KustomizationV1Beta2SpecPostBuildSubstituteFromKind
2360
+ */
2361
+ export declare enum KustomizationV1Beta2SpecPostBuildSubstituteFromKind {
2362
+ /** Secret */
2363
+ SECRET = "Secret",
2364
+ /** ConfigMap */
2365
+ CONFIG_MAP = "ConfigMap"
2366
+ }
2367
+ //# sourceMappingURL=kustomize.toolkit.fluxcd.io.d.ts.map