@k8ts/sample-interfaces 0.1.1

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