@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,3733 @@
1
+ import { ApiObject, ApiObjectMetadata, GroupVersionKind } from "cdk8s";
2
+ import { Construct } from "constructs";
3
+ /**
4
+ * Bucket is the Schema for the buckets API.
5
+ *
6
+ * @schema Bucket
7
+ */
8
+ export declare class Bucket extends ApiObject {
9
+ /** Returns the apiVersion and kind for "Bucket" */
10
+ static GVK: GroupVersionKind;
11
+ /**
12
+ * Renders a Kubernetes manifest for "Bucket".
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?: BucketProps): any;
19
+ /**
20
+ * Defines a "Bucket" 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?: BucketProps);
27
+ /** Renders the object to Kubernetes JSON. */
28
+ toJson(): any;
29
+ }
30
+ /**
31
+ * Bucket is the Schema for the buckets API.
32
+ *
33
+ * @schema Bucket
34
+ */
35
+ export interface BucketProps {
36
+ /** @schema Bucket#metadata */
37
+ metadata?: ApiObjectMetadata;
38
+ /**
39
+ * BucketSpec specifies the required configuration to produce an Artifact for an object storage
40
+ * bucket.
41
+ *
42
+ * @schema Bucket#spec
43
+ */
44
+ spec?: BucketSpec;
45
+ }
46
+ /** Converts an object of type 'BucketProps' to JSON representation. */
47
+ export declare function toJson_BucketProps(obj: BucketProps | undefined): Record<string, any> | undefined;
48
+ /**
49
+ * BucketSpec specifies the required configuration to produce an Artifact for an object storage
50
+ * bucket.
51
+ *
52
+ * @schema BucketSpec
53
+ */
54
+ export interface BucketSpec {
55
+ /**
56
+ * BucketName is the name of the object storage bucket.
57
+ *
58
+ * @schema BucketSpec#bucketName
59
+ */
60
+ bucketName: string;
61
+ /**
62
+ * CertSecretRef can be given the name of a Secret containing either or both of
63
+ *
64
+ * - A PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`);
65
+ * - A PEM-encoded CA certificate (`ca.crt`)
66
+ *
67
+ * And whichever are supplied, will be used for connecting to the bucket. The client cert and
68
+ * key are useful if you are authenticating with a certificate; the CA cert is useful if you are
69
+ * using a self-signed server certificate. The Secret must be of type `Opaque` or
70
+ * `kubernetes.io/tls`.
71
+ *
72
+ * This field is only supported for the `generic` provider.
73
+ *
74
+ * @schema BucketSpec#certSecretRef
75
+ */
76
+ certSecretRef?: BucketSpecCertSecretRef;
77
+ /**
78
+ * Endpoint is the object storage address the BucketName is located at.
79
+ *
80
+ * @schema BucketSpec#endpoint
81
+ */
82
+ endpoint: string;
83
+ /**
84
+ * Ignore overrides the set of excluded patterns in the .sourceignore format (which is the same
85
+ * as .gitignore). If not provided, a default will be used, consult the documentation for your
86
+ * version to find out what those are.
87
+ *
88
+ * @schema BucketSpec#ignore
89
+ */
90
+ ignore?: string;
91
+ /**
92
+ * Insecure allows connecting to a non-TLS HTTP Endpoint.
93
+ *
94
+ * @schema BucketSpec#insecure
95
+ */
96
+ insecure?: boolean;
97
+ /**
98
+ * Interval at which the Bucket Endpoint is checked for updates. This interval is approximate
99
+ * and may be subject to jitter to ensure efficient use of resources.
100
+ *
101
+ * @schema BucketSpec#interval
102
+ */
103
+ interval: string;
104
+ /**
105
+ * Prefix to use for server-side filtering of files in the Bucket.
106
+ *
107
+ * @schema BucketSpec#prefix
108
+ */
109
+ prefix?: string;
110
+ /**
111
+ * Provider of the object storage bucket. Defaults to 'generic', which expects an S3 (API)
112
+ * compatible object storage.
113
+ *
114
+ * @default generic', which expects an S3 (API) compatible object
115
+ * @schema BucketSpec#provider
116
+ */
117
+ provider?: BucketSpecProvider;
118
+ /**
119
+ * ProxySecretRef specifies the Secret containing the proxy configuration to use while
120
+ * communicating with the Bucket server.
121
+ *
122
+ * @schema BucketSpec#proxySecretRef
123
+ */
124
+ proxySecretRef?: BucketSpecProxySecretRef;
125
+ /**
126
+ * Region of the Endpoint where the BucketName is located in.
127
+ *
128
+ * @schema BucketSpec#region
129
+ */
130
+ region?: string;
131
+ /**
132
+ * SecretRef specifies the Secret containing authentication credentials for the Bucket.
133
+ *
134
+ * @schema BucketSpec#secretRef
135
+ */
136
+ secretRef?: BucketSpecSecretRef;
137
+ /**
138
+ * STS specifies the required configuration to use a Security Token Service for fetching
139
+ * temporary credentials to authenticate in a Bucket provider.
140
+ *
141
+ * This field is only supported for the `aws` and `generic` providers.
142
+ *
143
+ * @schema BucketSpec#sts
144
+ */
145
+ sts?: BucketSpecSts;
146
+ /**
147
+ * Suspend tells the controller to suspend the reconciliation of this Bucket.
148
+ *
149
+ * @schema BucketSpec#suspend
150
+ */
151
+ suspend?: boolean;
152
+ /**
153
+ * Timeout for fetch operations, defaults to 60s.
154
+ *
155
+ * @schema BucketSpec#timeout
156
+ */
157
+ timeout?: string;
158
+ }
159
+ /** Converts an object of type 'BucketSpec' to JSON representation. */
160
+ export declare function toJson_BucketSpec(obj: BucketSpec | undefined): Record<string, any> | undefined;
161
+ /**
162
+ * CertSecretRef can be given the name of a Secret containing either or both of
163
+ *
164
+ * - A PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`);
165
+ * - A PEM-encoded CA certificate (`ca.crt`)
166
+ *
167
+ * And whichever are supplied, will be used for connecting to the bucket. The client cert and key
168
+ * are useful if you are authenticating with a certificate; the CA cert is useful if you are using a
169
+ * self-signed server certificate. The Secret must be of type `Opaque` or `kubernetes.io/tls`.
170
+ *
171
+ * This field is only supported for the `generic` provider.
172
+ *
173
+ * @schema BucketSpecCertSecretRef
174
+ */
175
+ export interface BucketSpecCertSecretRef {
176
+ /**
177
+ * Name of the referent.
178
+ *
179
+ * @schema BucketSpecCertSecretRef#name
180
+ */
181
+ name: string;
182
+ }
183
+ /** Converts an object of type 'BucketSpecCertSecretRef' to JSON representation. */
184
+ export declare function toJson_BucketSpecCertSecretRef(obj: BucketSpecCertSecretRef | undefined): Record<string, any> | undefined;
185
+ /**
186
+ * Provider of the object storage bucket. Defaults to 'generic', which expects an S3 (API)
187
+ * compatible object storage.
188
+ *
189
+ * @default generic', which expects an S3 (API) compatible object
190
+ * @schema BucketSpecProvider
191
+ */
192
+ export declare enum BucketSpecProvider {
193
+ /** Generic */
194
+ GENERIC = "generic",
195
+ /** Aws */
196
+ AWS = "aws",
197
+ /** Gcp */
198
+ GCP = "gcp",
199
+ /** Azure */
200
+ AZURE = "azure"
201
+ }
202
+ /**
203
+ * ProxySecretRef specifies the Secret containing the proxy configuration to use while communicating
204
+ * with the Bucket server.
205
+ *
206
+ * @schema BucketSpecProxySecretRef
207
+ */
208
+ export interface BucketSpecProxySecretRef {
209
+ /**
210
+ * Name of the referent.
211
+ *
212
+ * @schema BucketSpecProxySecretRef#name
213
+ */
214
+ name: string;
215
+ }
216
+ /** Converts an object of type 'BucketSpecProxySecretRef' to JSON representation. */
217
+ export declare function toJson_BucketSpecProxySecretRef(obj: BucketSpecProxySecretRef | undefined): Record<string, any> | undefined;
218
+ /**
219
+ * SecretRef specifies the Secret containing authentication credentials for the Bucket.
220
+ *
221
+ * @schema BucketSpecSecretRef
222
+ */
223
+ export interface BucketSpecSecretRef {
224
+ /**
225
+ * Name of the referent.
226
+ *
227
+ * @schema BucketSpecSecretRef#name
228
+ */
229
+ name: string;
230
+ }
231
+ /** Converts an object of type 'BucketSpecSecretRef' to JSON representation. */
232
+ export declare function toJson_BucketSpecSecretRef(obj: BucketSpecSecretRef | undefined): Record<string, any> | undefined;
233
+ /**
234
+ * STS specifies the required configuration to use a Security Token Service for fetching temporary
235
+ * credentials to authenticate in a Bucket provider.
236
+ *
237
+ * This field is only supported for the `aws` and `generic` providers.
238
+ *
239
+ * @schema BucketSpecSts
240
+ */
241
+ export interface BucketSpecSts {
242
+ /**
243
+ * CertSecretRef can be given the name of a Secret containing either or both of
244
+ *
245
+ * - A PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`);
246
+ * - A PEM-encoded CA certificate (`ca.crt`)
247
+ *
248
+ * And whichever are supplied, will be used for connecting to the STS endpoint. The client cert
249
+ * and key are useful if you are authenticating with a certificate; the CA cert is useful if you
250
+ * are using a self-signed server certificate. The Secret must be of type `Opaque` or
251
+ * `kubernetes.io/tls`.
252
+ *
253
+ * This field is only supported for the `ldap` provider.
254
+ *
255
+ * @schema BucketSpecSts#certSecretRef
256
+ */
257
+ certSecretRef?: BucketSpecStsCertSecretRef;
258
+ /**
259
+ * Endpoint is the HTTP/S endpoint of the Security Token Service from where temporary
260
+ * credentials will be fetched.
261
+ *
262
+ * @schema BucketSpecSts#endpoint
263
+ */
264
+ endpoint: string;
265
+ /**
266
+ * Provider of the Security Token Service.
267
+ *
268
+ * @schema BucketSpecSts#provider
269
+ */
270
+ provider: BucketSpecStsProvider;
271
+ /**
272
+ * SecretRef specifies the Secret containing authentication credentials for the STS endpoint.
273
+ * This Secret must contain the fields `username` and `password` and is supported only for the
274
+ * `ldap` provider.
275
+ *
276
+ * @schema BucketSpecSts#secretRef
277
+ */
278
+ secretRef?: BucketSpecStsSecretRef;
279
+ }
280
+ /** Converts an object of type 'BucketSpecSts' to JSON representation. */
281
+ export declare function toJson_BucketSpecSts(obj: BucketSpecSts | undefined): Record<string, any> | undefined;
282
+ /**
283
+ * CertSecretRef can be given the name of a Secret containing either or both of
284
+ *
285
+ * - A PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`);
286
+ * - A PEM-encoded CA certificate (`ca.crt`)
287
+ *
288
+ * And whichever are supplied, will be used for connecting to the STS endpoint. The client cert and
289
+ * key are useful if you are authenticating with a certificate; the CA cert is useful if you are
290
+ * using a self-signed server certificate. The Secret must be of type `Opaque` or
291
+ * `kubernetes.io/tls`.
292
+ *
293
+ * This field is only supported for the `ldap` provider.
294
+ *
295
+ * @schema BucketSpecStsCertSecretRef
296
+ */
297
+ export interface BucketSpecStsCertSecretRef {
298
+ /**
299
+ * Name of the referent.
300
+ *
301
+ * @schema BucketSpecStsCertSecretRef#name
302
+ */
303
+ name: string;
304
+ }
305
+ /** Converts an object of type 'BucketSpecStsCertSecretRef' to JSON representation. */
306
+ export declare function toJson_BucketSpecStsCertSecretRef(obj: BucketSpecStsCertSecretRef | undefined): Record<string, any> | undefined;
307
+ /**
308
+ * Provider of the Security Token Service.
309
+ *
310
+ * @schema BucketSpecStsProvider
311
+ */
312
+ export declare enum BucketSpecStsProvider {
313
+ /** Aws */
314
+ AWS = "aws",
315
+ /** Ldap */
316
+ LDAP = "ldap"
317
+ }
318
+ /**
319
+ * SecretRef specifies the Secret containing authentication credentials for the STS endpoint. This
320
+ * Secret must contain the fields `username` and `password` and is supported only for the `ldap`
321
+ * provider.
322
+ *
323
+ * @schema BucketSpecStsSecretRef
324
+ */
325
+ export interface BucketSpecStsSecretRef {
326
+ /**
327
+ * Name of the referent.
328
+ *
329
+ * @schema BucketSpecStsSecretRef#name
330
+ */
331
+ name: string;
332
+ }
333
+ /** Converts an object of type 'BucketSpecStsSecretRef' to JSON representation. */
334
+ export declare function toJson_BucketSpecStsSecretRef(obj: BucketSpecStsSecretRef | undefined): Record<string, any> | undefined;
335
+ /**
336
+ * Bucket is the Schema for the buckets API
337
+ *
338
+ * @schema BucketV1Beta1
339
+ */
340
+ export declare class BucketV1Beta1 extends ApiObject {
341
+ /** Returns the apiVersion and kind for "BucketV1Beta1" */
342
+ static GVK: GroupVersionKind;
343
+ /**
344
+ * Renders a Kubernetes manifest for "BucketV1Beta1".
345
+ *
346
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
347
+ *
348
+ * @param props Initialization props
349
+ */
350
+ static manifest(props?: BucketV1Beta1Props): any;
351
+ /**
352
+ * Defines a "BucketV1Beta1" API object
353
+ *
354
+ * @param scope The scope in which to define this object
355
+ * @param id A scope-local name for the object
356
+ * @param props Initialization props
357
+ */
358
+ constructor(scope: Construct, id: string, props?: BucketV1Beta1Props);
359
+ /** Renders the object to Kubernetes JSON. */
360
+ toJson(): any;
361
+ }
362
+ /**
363
+ * Bucket is the Schema for the buckets API
364
+ *
365
+ * @schema BucketV1Beta1
366
+ */
367
+ export interface BucketV1Beta1Props {
368
+ /** @schema BucketV1Beta1#metadata */
369
+ metadata?: ApiObjectMetadata;
370
+ /**
371
+ * BucketSpec defines the desired state of an S3 compatible bucket
372
+ *
373
+ * @schema BucketV1Beta1#spec
374
+ */
375
+ spec?: BucketV1Beta1Spec;
376
+ }
377
+ /** Converts an object of type 'BucketV1Beta1Props' to JSON representation. */
378
+ export declare function toJson_BucketV1Beta1Props(obj: BucketV1Beta1Props | undefined): Record<string, any> | undefined;
379
+ /**
380
+ * BucketSpec defines the desired state of an S3 compatible bucket
381
+ *
382
+ * @schema BucketV1Beta1Spec
383
+ */
384
+ export interface BucketV1Beta1Spec {
385
+ /**
386
+ * AccessFrom defines an Access Control List for allowing cross-namespace references to this
387
+ * object.
388
+ *
389
+ * @schema BucketV1Beta1Spec#accessFrom
390
+ */
391
+ accessFrom?: BucketV1Beta1SpecAccessFrom;
392
+ /**
393
+ * The bucket name.
394
+ *
395
+ * @schema BucketV1Beta1Spec#bucketName
396
+ */
397
+ bucketName: string;
398
+ /**
399
+ * The bucket endpoint address.
400
+ *
401
+ * @schema BucketV1Beta1Spec#endpoint
402
+ */
403
+ endpoint: string;
404
+ /**
405
+ * Ignore overrides the set of excluded patterns in the .sourceignore format (which is the same
406
+ * as .gitignore). If not provided, a default will be used, consult the documentation for your
407
+ * version to find out what those are.
408
+ *
409
+ * @schema BucketV1Beta1Spec#ignore
410
+ */
411
+ ignore?: string;
412
+ /**
413
+ * Insecure allows connecting to a non-TLS S3 HTTP endpoint.
414
+ *
415
+ * @schema BucketV1Beta1Spec#insecure
416
+ */
417
+ insecure?: boolean;
418
+ /**
419
+ * The interval at which to check for bucket updates.
420
+ *
421
+ * @schema BucketV1Beta1Spec#interval
422
+ */
423
+ interval: string;
424
+ /**
425
+ * The S3 compatible storage provider name, default ('generic').
426
+ *
427
+ * @schema BucketV1Beta1Spec#provider
428
+ */
429
+ provider?: BucketV1Beta1SpecProvider;
430
+ /**
431
+ * The bucket region.
432
+ *
433
+ * @schema BucketV1Beta1Spec#region
434
+ */
435
+ region?: string;
436
+ /**
437
+ * The name of the secret containing authentication credentials for the Bucket.
438
+ *
439
+ * @schema BucketV1Beta1Spec#secretRef
440
+ */
441
+ secretRef?: BucketV1Beta1SpecSecretRef;
442
+ /**
443
+ * This flag tells the controller to suspend the reconciliation of this source.
444
+ *
445
+ * @schema BucketV1Beta1Spec#suspend
446
+ */
447
+ suspend?: boolean;
448
+ /**
449
+ * The timeout for download operations, defaults to 60s.
450
+ *
451
+ * @schema BucketV1Beta1Spec#timeout
452
+ */
453
+ timeout?: string;
454
+ }
455
+ /** Converts an object of type 'BucketV1Beta1Spec' to JSON representation. */
456
+ export declare function toJson_BucketV1Beta1Spec(obj: BucketV1Beta1Spec | undefined): Record<string, any> | undefined;
457
+ /**
458
+ * AccessFrom defines an Access Control List for allowing cross-namespace references to this object.
459
+ *
460
+ * @schema BucketV1Beta1SpecAccessFrom
461
+ */
462
+ export interface BucketV1Beta1SpecAccessFrom {
463
+ /**
464
+ * NamespaceSelectors is the list of namespace selectors to which this ACL applies. Items in
465
+ * this list are evaluated using a logical OR operation.
466
+ *
467
+ * @schema BucketV1Beta1SpecAccessFrom#namespaceSelectors
468
+ */
469
+ namespaceSelectors: BucketV1Beta1SpecAccessFromNamespaceSelectors[];
470
+ }
471
+ /** Converts an object of type 'BucketV1Beta1SpecAccessFrom' to JSON representation. */
472
+ export declare function toJson_BucketV1Beta1SpecAccessFrom(obj: BucketV1Beta1SpecAccessFrom | undefined): Record<string, any> | undefined;
473
+ /**
474
+ * The S3 compatible storage provider name, default ('generic').
475
+ *
476
+ * @schema BucketV1Beta1SpecProvider
477
+ */
478
+ export declare enum BucketV1Beta1SpecProvider {
479
+ /** Generic */
480
+ GENERIC = "generic",
481
+ /** Aws */
482
+ AWS = "aws",
483
+ /** Gcp */
484
+ GCP = "gcp"
485
+ }
486
+ /**
487
+ * The name of the secret containing authentication credentials for the Bucket.
488
+ *
489
+ * @schema BucketV1Beta1SpecSecretRef
490
+ */
491
+ export interface BucketV1Beta1SpecSecretRef {
492
+ /**
493
+ * Name of the referent.
494
+ *
495
+ * @schema BucketV1Beta1SpecSecretRef#name
496
+ */
497
+ name: string;
498
+ }
499
+ /** Converts an object of type 'BucketV1Beta1SpecSecretRef' to JSON representation. */
500
+ export declare function toJson_BucketV1Beta1SpecSecretRef(obj: BucketV1Beta1SpecSecretRef | undefined): Record<string, any> | undefined;
501
+ /**
502
+ * NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels
503
+ * matches all namespaces in a cluster.
504
+ *
505
+ * @schema BucketV1Beta1SpecAccessFromNamespaceSelectors
506
+ */
507
+ export interface BucketV1Beta1SpecAccessFromNamespaceSelectors {
508
+ /**
509
+ * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is
510
+ * equivalent to an element of matchExpressions, whose key field is "key", the operator is "In",
511
+ * and the values array contains only "value". The requirements are ANDed.
512
+ *
513
+ * @schema BucketV1Beta1SpecAccessFromNamespaceSelectors#matchLabels
514
+ */
515
+ matchLabels?: {
516
+ [key: string]: string;
517
+ };
518
+ }
519
+ /**
520
+ * Converts an object of type 'BucketV1Beta1SpecAccessFromNamespaceSelectors' to JSON
521
+ * representation.
522
+ */
523
+ export declare function toJson_BucketV1Beta1SpecAccessFromNamespaceSelectors(obj: BucketV1Beta1SpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
524
+ /**
525
+ * Bucket is the Schema for the buckets API.
526
+ *
527
+ * @schema BucketV1Beta2
528
+ */
529
+ export declare class BucketV1Beta2 extends ApiObject {
530
+ /** Returns the apiVersion and kind for "BucketV1Beta2" */
531
+ static GVK: GroupVersionKind;
532
+ /**
533
+ * Renders a Kubernetes manifest for "BucketV1Beta2".
534
+ *
535
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
536
+ *
537
+ * @param props Initialization props
538
+ */
539
+ static manifest(props?: BucketV1Beta2Props): any;
540
+ /**
541
+ * Defines a "BucketV1Beta2" API object
542
+ *
543
+ * @param scope The scope in which to define this object
544
+ * @param id A scope-local name for the object
545
+ * @param props Initialization props
546
+ */
547
+ constructor(scope: Construct, id: string, props?: BucketV1Beta2Props);
548
+ /** Renders the object to Kubernetes JSON. */
549
+ toJson(): any;
550
+ }
551
+ /**
552
+ * Bucket is the Schema for the buckets API.
553
+ *
554
+ * @schema BucketV1Beta2
555
+ */
556
+ export interface BucketV1Beta2Props {
557
+ /** @schema BucketV1Beta2#metadata */
558
+ metadata?: ApiObjectMetadata;
559
+ /**
560
+ * BucketSpec specifies the required configuration to produce an Artifact for an object storage
561
+ * bucket.
562
+ *
563
+ * @schema BucketV1Beta2#spec
564
+ */
565
+ spec?: BucketV1Beta2Spec;
566
+ }
567
+ /** Converts an object of type 'BucketV1Beta2Props' to JSON representation. */
568
+ export declare function toJson_BucketV1Beta2Props(obj: BucketV1Beta2Props | undefined): Record<string, any> | undefined;
569
+ /**
570
+ * BucketSpec specifies the required configuration to produce an Artifact for an object storage
571
+ * bucket.
572
+ *
573
+ * @schema BucketV1Beta2Spec
574
+ */
575
+ export interface BucketV1Beta2Spec {
576
+ /**
577
+ * AccessFrom specifies an Access Control List for allowing cross-namespace references to this
578
+ * object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
579
+ *
580
+ * @schema BucketV1Beta2Spec#accessFrom
581
+ */
582
+ accessFrom?: BucketV1Beta2SpecAccessFrom;
583
+ /**
584
+ * BucketName is the name of the object storage bucket.
585
+ *
586
+ * @schema BucketV1Beta2Spec#bucketName
587
+ */
588
+ bucketName: string;
589
+ /**
590
+ * CertSecretRef can be given the name of a Secret containing either or both of
591
+ *
592
+ * - A PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`);
593
+ * - A PEM-encoded CA certificate (`ca.crt`)
594
+ *
595
+ * And whichever are supplied, will be used for connecting to the bucket. The client cert and
596
+ * key are useful if you are authenticating with a certificate; the CA cert is useful if you are
597
+ * using a self-signed server certificate. The Secret must be of type `Opaque` or
598
+ * `kubernetes.io/tls`.
599
+ *
600
+ * This field is only supported for the `generic` provider.
601
+ *
602
+ * @schema BucketV1Beta2Spec#certSecretRef
603
+ */
604
+ certSecretRef?: BucketV1Beta2SpecCertSecretRef;
605
+ /**
606
+ * Endpoint is the object storage address the BucketName is located at.
607
+ *
608
+ * @schema BucketV1Beta2Spec#endpoint
609
+ */
610
+ endpoint: string;
611
+ /**
612
+ * Ignore overrides the set of excluded patterns in the .sourceignore format (which is the same
613
+ * as .gitignore). If not provided, a default will be used, consult the documentation for your
614
+ * version to find out what those are.
615
+ *
616
+ * @schema BucketV1Beta2Spec#ignore
617
+ */
618
+ ignore?: string;
619
+ /**
620
+ * Insecure allows connecting to a non-TLS HTTP Endpoint.
621
+ *
622
+ * @schema BucketV1Beta2Spec#insecure
623
+ */
624
+ insecure?: boolean;
625
+ /**
626
+ * Interval at which the Bucket Endpoint is checked for updates. This interval is approximate
627
+ * and may be subject to jitter to ensure efficient use of resources.
628
+ *
629
+ * @schema BucketV1Beta2Spec#interval
630
+ */
631
+ interval: string;
632
+ /**
633
+ * Prefix to use for server-side filtering of files in the Bucket.
634
+ *
635
+ * @schema BucketV1Beta2Spec#prefix
636
+ */
637
+ prefix?: string;
638
+ /**
639
+ * Provider of the object storage bucket. Defaults to 'generic', which expects an S3 (API)
640
+ * compatible object storage.
641
+ *
642
+ * @default generic', which expects an S3 (API) compatible object
643
+ * @schema BucketV1Beta2Spec#provider
644
+ */
645
+ provider?: BucketV1Beta2SpecProvider;
646
+ /**
647
+ * ProxySecretRef specifies the Secret containing the proxy configuration to use while
648
+ * communicating with the Bucket server.
649
+ *
650
+ * @schema BucketV1Beta2Spec#proxySecretRef
651
+ */
652
+ proxySecretRef?: BucketV1Beta2SpecProxySecretRef;
653
+ /**
654
+ * Region of the Endpoint where the BucketName is located in.
655
+ *
656
+ * @schema BucketV1Beta2Spec#region
657
+ */
658
+ region?: string;
659
+ /**
660
+ * SecretRef specifies the Secret containing authentication credentials for the Bucket.
661
+ *
662
+ * @schema BucketV1Beta2Spec#secretRef
663
+ */
664
+ secretRef?: BucketV1Beta2SpecSecretRef;
665
+ /**
666
+ * STS specifies the required configuration to use a Security Token Service for fetching
667
+ * temporary credentials to authenticate in a Bucket provider.
668
+ *
669
+ * This field is only supported for the `aws` and `generic` providers.
670
+ *
671
+ * @schema BucketV1Beta2Spec#sts
672
+ */
673
+ sts?: BucketV1Beta2SpecSts;
674
+ /**
675
+ * Suspend tells the controller to suspend the reconciliation of this Bucket.
676
+ *
677
+ * @schema BucketV1Beta2Spec#suspend
678
+ */
679
+ suspend?: boolean;
680
+ /**
681
+ * Timeout for fetch operations, defaults to 60s.
682
+ *
683
+ * @schema BucketV1Beta2Spec#timeout
684
+ */
685
+ timeout?: string;
686
+ }
687
+ /** Converts an object of type 'BucketV1Beta2Spec' to JSON representation. */
688
+ export declare function toJson_BucketV1Beta2Spec(obj: BucketV1Beta2Spec | undefined): Record<string, any> | undefined;
689
+ /**
690
+ * AccessFrom specifies an Access Control List for allowing cross-namespace references to this
691
+ * object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
692
+ *
693
+ * @schema BucketV1Beta2SpecAccessFrom
694
+ */
695
+ export interface BucketV1Beta2SpecAccessFrom {
696
+ /**
697
+ * NamespaceSelectors is the list of namespace selectors to which this ACL applies. Items in
698
+ * this list are evaluated using a logical OR operation.
699
+ *
700
+ * @schema BucketV1Beta2SpecAccessFrom#namespaceSelectors
701
+ */
702
+ namespaceSelectors: BucketV1Beta2SpecAccessFromNamespaceSelectors[];
703
+ }
704
+ /** Converts an object of type 'BucketV1Beta2SpecAccessFrom' to JSON representation. */
705
+ export declare function toJson_BucketV1Beta2SpecAccessFrom(obj: BucketV1Beta2SpecAccessFrom | undefined): Record<string, any> | undefined;
706
+ /**
707
+ * CertSecretRef can be given the name of a Secret containing either or both of
708
+ *
709
+ * - A PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`);
710
+ * - A PEM-encoded CA certificate (`ca.crt`)
711
+ *
712
+ * And whichever are supplied, will be used for connecting to the bucket. The client cert and key
713
+ * are useful if you are authenticating with a certificate; the CA cert is useful if you are using a
714
+ * self-signed server certificate. The Secret must be of type `Opaque` or `kubernetes.io/tls`.
715
+ *
716
+ * This field is only supported for the `generic` provider.
717
+ *
718
+ * @schema BucketV1Beta2SpecCertSecretRef
719
+ */
720
+ export interface BucketV1Beta2SpecCertSecretRef {
721
+ /**
722
+ * Name of the referent.
723
+ *
724
+ * @schema BucketV1Beta2SpecCertSecretRef#name
725
+ */
726
+ name: string;
727
+ }
728
+ /** Converts an object of type 'BucketV1Beta2SpecCertSecretRef' to JSON representation. */
729
+ export declare function toJson_BucketV1Beta2SpecCertSecretRef(obj: BucketV1Beta2SpecCertSecretRef | undefined): Record<string, any> | undefined;
730
+ /**
731
+ * Provider of the object storage bucket. Defaults to 'generic', which expects an S3 (API)
732
+ * compatible object storage.
733
+ *
734
+ * @default generic', which expects an S3 (API) compatible object
735
+ * @schema BucketV1Beta2SpecProvider
736
+ */
737
+ export declare enum BucketV1Beta2SpecProvider {
738
+ /** Generic */
739
+ GENERIC = "generic",
740
+ /** Aws */
741
+ AWS = "aws",
742
+ /** Gcp */
743
+ GCP = "gcp",
744
+ /** Azure */
745
+ AZURE = "azure"
746
+ }
747
+ /**
748
+ * ProxySecretRef specifies the Secret containing the proxy configuration to use while communicating
749
+ * with the Bucket server.
750
+ *
751
+ * @schema BucketV1Beta2SpecProxySecretRef
752
+ */
753
+ export interface BucketV1Beta2SpecProxySecretRef {
754
+ /**
755
+ * Name of the referent.
756
+ *
757
+ * @schema BucketV1Beta2SpecProxySecretRef#name
758
+ */
759
+ name: string;
760
+ }
761
+ /** Converts an object of type 'BucketV1Beta2SpecProxySecretRef' to JSON representation. */
762
+ export declare function toJson_BucketV1Beta2SpecProxySecretRef(obj: BucketV1Beta2SpecProxySecretRef | undefined): Record<string, any> | undefined;
763
+ /**
764
+ * SecretRef specifies the Secret containing authentication credentials for the Bucket.
765
+ *
766
+ * @schema BucketV1Beta2SpecSecretRef
767
+ */
768
+ export interface BucketV1Beta2SpecSecretRef {
769
+ /**
770
+ * Name of the referent.
771
+ *
772
+ * @schema BucketV1Beta2SpecSecretRef#name
773
+ */
774
+ name: string;
775
+ }
776
+ /** Converts an object of type 'BucketV1Beta2SpecSecretRef' to JSON representation. */
777
+ export declare function toJson_BucketV1Beta2SpecSecretRef(obj: BucketV1Beta2SpecSecretRef | undefined): Record<string, any> | undefined;
778
+ /**
779
+ * STS specifies the required configuration to use a Security Token Service for fetching temporary
780
+ * credentials to authenticate in a Bucket provider.
781
+ *
782
+ * This field is only supported for the `aws` and `generic` providers.
783
+ *
784
+ * @schema BucketV1Beta2SpecSts
785
+ */
786
+ export interface BucketV1Beta2SpecSts {
787
+ /**
788
+ * CertSecretRef can be given the name of a Secret containing either or both of
789
+ *
790
+ * - A PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`);
791
+ * - A PEM-encoded CA certificate (`ca.crt`)
792
+ *
793
+ * And whichever are supplied, will be used for connecting to the STS endpoint. The client cert
794
+ * and key are useful if you are authenticating with a certificate; the CA cert is useful if you
795
+ * are using a self-signed server certificate. The Secret must be of type `Opaque` or
796
+ * `kubernetes.io/tls`.
797
+ *
798
+ * This field is only supported for the `ldap` provider.
799
+ *
800
+ * @schema BucketV1Beta2SpecSts#certSecretRef
801
+ */
802
+ certSecretRef?: BucketV1Beta2SpecStsCertSecretRef;
803
+ /**
804
+ * Endpoint is the HTTP/S endpoint of the Security Token Service from where temporary
805
+ * credentials will be fetched.
806
+ *
807
+ * @schema BucketV1Beta2SpecSts#endpoint
808
+ */
809
+ endpoint: string;
810
+ /**
811
+ * Provider of the Security Token Service.
812
+ *
813
+ * @schema BucketV1Beta2SpecSts#provider
814
+ */
815
+ provider: BucketV1Beta2SpecStsProvider;
816
+ /**
817
+ * SecretRef specifies the Secret containing authentication credentials for the STS endpoint.
818
+ * This Secret must contain the fields `username` and `password` and is supported only for the
819
+ * `ldap` provider.
820
+ *
821
+ * @schema BucketV1Beta2SpecSts#secretRef
822
+ */
823
+ secretRef?: BucketV1Beta2SpecStsSecretRef;
824
+ }
825
+ /** Converts an object of type 'BucketV1Beta2SpecSts' to JSON representation. */
826
+ export declare function toJson_BucketV1Beta2SpecSts(obj: BucketV1Beta2SpecSts | undefined): Record<string, any> | undefined;
827
+ /**
828
+ * NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels
829
+ * matches all namespaces in a cluster.
830
+ *
831
+ * @schema BucketV1Beta2SpecAccessFromNamespaceSelectors
832
+ */
833
+ export interface BucketV1Beta2SpecAccessFromNamespaceSelectors {
834
+ /**
835
+ * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is
836
+ * equivalent to an element of matchExpressions, whose key field is "key", the operator is "In",
837
+ * and the values array contains only "value". The requirements are ANDed.
838
+ *
839
+ * @schema BucketV1Beta2SpecAccessFromNamespaceSelectors#matchLabels
840
+ */
841
+ matchLabels?: {
842
+ [key: string]: string;
843
+ };
844
+ }
845
+ /**
846
+ * Converts an object of type 'BucketV1Beta2SpecAccessFromNamespaceSelectors' to JSON
847
+ * representation.
848
+ */
849
+ export declare function toJson_BucketV1Beta2SpecAccessFromNamespaceSelectors(obj: BucketV1Beta2SpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
850
+ /**
851
+ * CertSecretRef can be given the name of a Secret containing either or both of
852
+ *
853
+ * - A PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`);
854
+ * - A PEM-encoded CA certificate (`ca.crt`)
855
+ *
856
+ * And whichever are supplied, will be used for connecting to the STS endpoint. The client cert and
857
+ * key are useful if you are authenticating with a certificate; the CA cert is useful if you are
858
+ * using a self-signed server certificate. The Secret must be of type `Opaque` or
859
+ * `kubernetes.io/tls`.
860
+ *
861
+ * This field is only supported for the `ldap` provider.
862
+ *
863
+ * @schema BucketV1Beta2SpecStsCertSecretRef
864
+ */
865
+ export interface BucketV1Beta2SpecStsCertSecretRef {
866
+ /**
867
+ * Name of the referent.
868
+ *
869
+ * @schema BucketV1Beta2SpecStsCertSecretRef#name
870
+ */
871
+ name: string;
872
+ }
873
+ /** Converts an object of type 'BucketV1Beta2SpecStsCertSecretRef' to JSON representation. */
874
+ export declare function toJson_BucketV1Beta2SpecStsCertSecretRef(obj: BucketV1Beta2SpecStsCertSecretRef | undefined): Record<string, any> | undefined;
875
+ /**
876
+ * Provider of the Security Token Service.
877
+ *
878
+ * @schema BucketV1Beta2SpecStsProvider
879
+ */
880
+ export declare enum BucketV1Beta2SpecStsProvider {
881
+ /** Aws */
882
+ AWS = "aws",
883
+ /** Ldap */
884
+ LDAP = "ldap"
885
+ }
886
+ /**
887
+ * SecretRef specifies the Secret containing authentication credentials for the STS endpoint. This
888
+ * Secret must contain the fields `username` and `password` and is supported only for the `ldap`
889
+ * provider.
890
+ *
891
+ * @schema BucketV1Beta2SpecStsSecretRef
892
+ */
893
+ export interface BucketV1Beta2SpecStsSecretRef {
894
+ /**
895
+ * Name of the referent.
896
+ *
897
+ * @schema BucketV1Beta2SpecStsSecretRef#name
898
+ */
899
+ name: string;
900
+ }
901
+ /** Converts an object of type 'BucketV1Beta2SpecStsSecretRef' to JSON representation. */
902
+ export declare function toJson_BucketV1Beta2SpecStsSecretRef(obj: BucketV1Beta2SpecStsSecretRef | undefined): Record<string, any> | undefined;
903
+ /**
904
+ * GitRepository is the Schema for the gitrepositories API.
905
+ *
906
+ * @schema GitRepository
907
+ */
908
+ export declare class GitRepository extends ApiObject {
909
+ /** Returns the apiVersion and kind for "GitRepository" */
910
+ static GVK: GroupVersionKind;
911
+ /**
912
+ * Renders a Kubernetes manifest for "GitRepository".
913
+ *
914
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
915
+ *
916
+ * @param props Initialization props
917
+ */
918
+ static manifest(props?: GitRepositoryProps): any;
919
+ /**
920
+ * Defines a "GitRepository" API object
921
+ *
922
+ * @param scope The scope in which to define this object
923
+ * @param id A scope-local name for the object
924
+ * @param props Initialization props
925
+ */
926
+ constructor(scope: Construct, id: string, props?: GitRepositoryProps);
927
+ /** Renders the object to Kubernetes JSON. */
928
+ toJson(): any;
929
+ }
930
+ /**
931
+ * GitRepository is the Schema for the gitrepositories API.
932
+ *
933
+ * @schema GitRepository
934
+ */
935
+ export interface GitRepositoryProps {
936
+ /** @schema GitRepository#metadata */
937
+ metadata?: ApiObjectMetadata;
938
+ /**
939
+ * GitRepositorySpec specifies the required configuration to produce an Artifact for a Git
940
+ * repository.
941
+ *
942
+ * @schema GitRepository#spec
943
+ */
944
+ spec?: GitRepositorySpec;
945
+ }
946
+ /** Converts an object of type 'GitRepositoryProps' to JSON representation. */
947
+ export declare function toJson_GitRepositoryProps(obj: GitRepositoryProps | undefined): Record<string, any> | undefined;
948
+ /**
949
+ * GitRepositorySpec specifies the required configuration to produce an Artifact for a Git
950
+ * repository.
951
+ *
952
+ * @schema GitRepositorySpec
953
+ */
954
+ export interface GitRepositorySpec {
955
+ /**
956
+ * Ignore overrides the set of excluded patterns in the .sourceignore format (which is the same
957
+ * as .gitignore). If not provided, a default will be used, consult the documentation for your
958
+ * version to find out what those are.
959
+ *
960
+ * @schema GitRepositorySpec#ignore
961
+ */
962
+ ignore?: string;
963
+ /**
964
+ * Include specifies a list of GitRepository resources which Artifacts should be included in the
965
+ * Artifact produced for this GitRepository.
966
+ *
967
+ * @schema GitRepositorySpec#include
968
+ */
969
+ include?: GitRepositorySpecInclude[];
970
+ /**
971
+ * Interval at which the GitRepository URL is checked for updates. This interval is approximate
972
+ * and may be subject to jitter to ensure efficient use of resources.
973
+ *
974
+ * @schema GitRepositorySpec#interval
975
+ */
976
+ interval: string;
977
+ /**
978
+ * Provider used for authentication, can be 'azure', 'github', 'generic'. When not specified,
979
+ * defaults to 'generic'.
980
+ *
981
+ * @schema GitRepositorySpec#provider
982
+ */
983
+ provider?: GitRepositorySpecProvider;
984
+ /**
985
+ * ProxySecretRef specifies the Secret containing the proxy configuration to use while
986
+ * communicating with the Git server.
987
+ *
988
+ * @schema GitRepositorySpec#proxySecretRef
989
+ */
990
+ proxySecretRef?: GitRepositorySpecProxySecretRef;
991
+ /**
992
+ * RecurseSubmodules enables the initialization of all submodules within the GitRepository as
993
+ * cloned from the URL, using their default settings.
994
+ *
995
+ * @schema GitRepositorySpec#recurseSubmodules
996
+ */
997
+ recurseSubmodules?: boolean;
998
+ /**
999
+ * Reference specifies the Git reference to resolve and monitor for changes, defaults to the
1000
+ * 'master' branch.
1001
+ *
1002
+ * @schema GitRepositorySpec#ref
1003
+ */
1004
+ ref?: GitRepositorySpecRef;
1005
+ /**
1006
+ * SecretRef specifies the Secret containing authentication credentials for the GitRepository.
1007
+ * For HTTPS repositories the Secret must contain 'username' and 'password' fields for basic
1008
+ * auth or 'bearerToken' field for token auth. For SSH repositories the Secret must contain
1009
+ * 'identity' and 'known_hosts' fields.
1010
+ *
1011
+ * @schema GitRepositorySpec#secretRef
1012
+ */
1013
+ secretRef?: GitRepositorySpecSecretRef;
1014
+ /**
1015
+ * Suspend tells the controller to suspend the reconciliation of this GitRepository.
1016
+ *
1017
+ * @schema GitRepositorySpec#suspend
1018
+ */
1019
+ suspend?: boolean;
1020
+ /**
1021
+ * Timeout for Git operations like cloning, defaults to 60s.
1022
+ *
1023
+ * @schema GitRepositorySpec#timeout
1024
+ */
1025
+ timeout?: string;
1026
+ /**
1027
+ * URL specifies the Git repository URL, it can be an HTTP/S or SSH address.
1028
+ *
1029
+ * @schema GitRepositorySpec#url
1030
+ */
1031
+ url: string;
1032
+ /**
1033
+ * Verification specifies the configuration to verify the Git commit signature(s).
1034
+ *
1035
+ * @schema GitRepositorySpec#verify
1036
+ */
1037
+ verify?: GitRepositorySpecVerify;
1038
+ }
1039
+ /** Converts an object of type 'GitRepositorySpec' to JSON representation. */
1040
+ export declare function toJson_GitRepositorySpec(obj: GitRepositorySpec | undefined): Record<string, any> | undefined;
1041
+ /**
1042
+ * GitRepositoryInclude specifies a local reference to a GitRepository which Artifact (sub-)contents
1043
+ * must be included, and where they should be placed.
1044
+ *
1045
+ * @schema GitRepositorySpecInclude
1046
+ */
1047
+ export interface GitRepositorySpecInclude {
1048
+ /**
1049
+ * FromPath specifies the path to copy contents from, defaults to the root of the Artifact.
1050
+ *
1051
+ * @schema GitRepositorySpecInclude#fromPath
1052
+ */
1053
+ fromPath?: string;
1054
+ /**
1055
+ * GitRepositoryRef specifies the GitRepository which Artifact contents must be included.
1056
+ *
1057
+ * @schema GitRepositorySpecInclude#repository
1058
+ */
1059
+ repository: GitRepositorySpecIncludeRepository;
1060
+ /**
1061
+ * ToPath specifies the path to copy contents to, defaults to the name of the GitRepositoryRef.
1062
+ *
1063
+ * @schema GitRepositorySpecInclude#toPath
1064
+ */
1065
+ toPath?: string;
1066
+ }
1067
+ /** Converts an object of type 'GitRepositorySpecInclude' to JSON representation. */
1068
+ export declare function toJson_GitRepositorySpecInclude(obj: GitRepositorySpecInclude | undefined): Record<string, any> | undefined;
1069
+ /**
1070
+ * Provider used for authentication, can be 'azure', 'github', 'generic'. When not specified,
1071
+ * defaults to 'generic'.
1072
+ *
1073
+ * @schema GitRepositorySpecProvider
1074
+ */
1075
+ export declare enum GitRepositorySpecProvider {
1076
+ /** Generic */
1077
+ GENERIC = "generic",
1078
+ /** Azure */
1079
+ AZURE = "azure",
1080
+ /** Github */
1081
+ GITHUB = "github"
1082
+ }
1083
+ /**
1084
+ * ProxySecretRef specifies the Secret containing the proxy configuration to use while communicating
1085
+ * with the Git server.
1086
+ *
1087
+ * @schema GitRepositorySpecProxySecretRef
1088
+ */
1089
+ export interface GitRepositorySpecProxySecretRef {
1090
+ /**
1091
+ * Name of the referent.
1092
+ *
1093
+ * @schema GitRepositorySpecProxySecretRef#name
1094
+ */
1095
+ name: string;
1096
+ }
1097
+ /** Converts an object of type 'GitRepositorySpecProxySecretRef' to JSON representation. */
1098
+ export declare function toJson_GitRepositorySpecProxySecretRef(obj: GitRepositorySpecProxySecretRef | undefined): Record<string, any> | undefined;
1099
+ /**
1100
+ * Reference specifies the Git reference to resolve and monitor for changes, defaults to the
1101
+ * 'master' branch.
1102
+ *
1103
+ * @schema GitRepositorySpecRef
1104
+ */
1105
+ export interface GitRepositorySpecRef {
1106
+ /**
1107
+ * Branch to check out, defaults to 'master' if no other field is defined.
1108
+ *
1109
+ * @schema GitRepositorySpecRef#branch
1110
+ */
1111
+ branch?: string;
1112
+ /**
1113
+ * Commit SHA to check out, takes precedence over all reference fields.
1114
+ *
1115
+ * This can be combined with Branch to shallow clone the branch, in which the commit is expected
1116
+ * to exist.
1117
+ *
1118
+ * @schema GitRepositorySpecRef#commit
1119
+ */
1120
+ commit?: string;
1121
+ /**
1122
+ * Name of the reference to check out; takes precedence over Branch, Tag and SemVer.
1123
+ *
1124
+ * It must be a valid Git reference: https://git-scm.com/docs/git-check-ref-format#_description
1125
+ * Examples: "refs/heads/main", "refs/tags/v0.1.0", "refs/pull/420/head",
1126
+ * "refs/merge-requests/1/head"
1127
+ *
1128
+ * @schema GitRepositorySpecRef#name
1129
+ */
1130
+ name?: string;
1131
+ /**
1132
+ * SemVer tag expression to check out, takes precedence over Tag.
1133
+ *
1134
+ * @schema GitRepositorySpecRef#semver
1135
+ */
1136
+ semver?: string;
1137
+ /**
1138
+ * Tag to check out, takes precedence over Branch.
1139
+ *
1140
+ * @schema GitRepositorySpecRef#tag
1141
+ */
1142
+ tag?: string;
1143
+ }
1144
+ /** Converts an object of type 'GitRepositorySpecRef' to JSON representation. */
1145
+ export declare function toJson_GitRepositorySpecRef(obj: GitRepositorySpecRef | undefined): Record<string, any> | undefined;
1146
+ /**
1147
+ * SecretRef specifies the Secret containing authentication credentials for the GitRepository. For
1148
+ * HTTPS repositories the Secret must contain 'username' and 'password' fields for basic auth or
1149
+ * 'bearerToken' field for token auth. For SSH repositories the Secret must contain 'identity' and
1150
+ * 'known_hosts' fields.
1151
+ *
1152
+ * @schema GitRepositorySpecSecretRef
1153
+ */
1154
+ export interface GitRepositorySpecSecretRef {
1155
+ /**
1156
+ * Name of the referent.
1157
+ *
1158
+ * @schema GitRepositorySpecSecretRef#name
1159
+ */
1160
+ name: string;
1161
+ }
1162
+ /** Converts an object of type 'GitRepositorySpecSecretRef' to JSON representation. */
1163
+ export declare function toJson_GitRepositorySpecSecretRef(obj: GitRepositorySpecSecretRef | undefined): Record<string, any> | undefined;
1164
+ /**
1165
+ * Verification specifies the configuration to verify the Git commit signature(s).
1166
+ *
1167
+ * @schema GitRepositorySpecVerify
1168
+ */
1169
+ export interface GitRepositorySpecVerify {
1170
+ /**
1171
+ * Mode specifies which Git object(s) should be verified.
1172
+ *
1173
+ * The variants "head" and "HEAD" both imply the same thing, i.e. verify the commit that the
1174
+ * HEAD of the Git repository points to. The variant "head" solely exists to ensure backwards
1175
+ * compatibility.
1176
+ *
1177
+ * @schema GitRepositorySpecVerify#mode
1178
+ */
1179
+ mode?: GitRepositorySpecVerifyMode;
1180
+ /**
1181
+ * SecretRef specifies the Secret containing the public keys of trusted Git authors.
1182
+ *
1183
+ * @schema GitRepositorySpecVerify#secretRef
1184
+ */
1185
+ secretRef: GitRepositorySpecVerifySecretRef;
1186
+ }
1187
+ /** Converts an object of type 'GitRepositorySpecVerify' to JSON representation. */
1188
+ export declare function toJson_GitRepositorySpecVerify(obj: GitRepositorySpecVerify | undefined): Record<string, any> | undefined;
1189
+ /**
1190
+ * GitRepositoryRef specifies the GitRepository which Artifact contents must be included.
1191
+ *
1192
+ * @schema GitRepositorySpecIncludeRepository
1193
+ */
1194
+ export interface GitRepositorySpecIncludeRepository {
1195
+ /**
1196
+ * Name of the referent.
1197
+ *
1198
+ * @schema GitRepositorySpecIncludeRepository#name
1199
+ */
1200
+ name: string;
1201
+ }
1202
+ /** Converts an object of type 'GitRepositorySpecIncludeRepository' to JSON representation. */
1203
+ export declare function toJson_GitRepositorySpecIncludeRepository(obj: GitRepositorySpecIncludeRepository | undefined): Record<string, any> | undefined;
1204
+ /**
1205
+ * Mode specifies which Git object(s) should be verified.
1206
+ *
1207
+ * The variants "head" and "HEAD" both imply the same thing, i.e. verify the commit that the HEAD of
1208
+ * the Git repository points to. The variant "head" solely exists to ensure backwards
1209
+ * compatibility.
1210
+ *
1211
+ * @schema GitRepositorySpecVerifyMode
1212
+ */
1213
+ export declare enum GitRepositorySpecVerifyMode {
1214
+ /** Head */
1215
+ HEAD = "head",
1216
+ /** Tag */
1217
+ TAG = "Tag",
1218
+ /** TagAndHEAD */
1219
+ TAG_AND_HEAD = "TagAndHEAD"
1220
+ }
1221
+ /**
1222
+ * SecretRef specifies the Secret containing the public keys of trusted Git authors.
1223
+ *
1224
+ * @schema GitRepositorySpecVerifySecretRef
1225
+ */
1226
+ export interface GitRepositorySpecVerifySecretRef {
1227
+ /**
1228
+ * Name of the referent.
1229
+ *
1230
+ * @schema GitRepositorySpecVerifySecretRef#name
1231
+ */
1232
+ name: string;
1233
+ }
1234
+ /** Converts an object of type 'GitRepositorySpecVerifySecretRef' to JSON representation. */
1235
+ export declare function toJson_GitRepositorySpecVerifySecretRef(obj: GitRepositorySpecVerifySecretRef | undefined): Record<string, any> | undefined;
1236
+ /**
1237
+ * GitRepository is the Schema for the gitrepositories API
1238
+ *
1239
+ * @schema GitRepositoryV1Beta1
1240
+ */
1241
+ export declare class GitRepositoryV1Beta1 extends ApiObject {
1242
+ /** Returns the apiVersion and kind for "GitRepositoryV1Beta1" */
1243
+ static GVK: GroupVersionKind;
1244
+ /**
1245
+ * Renders a Kubernetes manifest for "GitRepositoryV1Beta1".
1246
+ *
1247
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
1248
+ *
1249
+ * @param props Initialization props
1250
+ */
1251
+ static manifest(props?: GitRepositoryV1Beta1Props): any;
1252
+ /**
1253
+ * Defines a "GitRepositoryV1Beta1" API object
1254
+ *
1255
+ * @param scope The scope in which to define this object
1256
+ * @param id A scope-local name for the object
1257
+ * @param props Initialization props
1258
+ */
1259
+ constructor(scope: Construct, id: string, props?: GitRepositoryV1Beta1Props);
1260
+ /** Renders the object to Kubernetes JSON. */
1261
+ toJson(): any;
1262
+ }
1263
+ /**
1264
+ * GitRepository is the Schema for the gitrepositories API
1265
+ *
1266
+ * @schema GitRepositoryV1Beta1
1267
+ */
1268
+ export interface GitRepositoryV1Beta1Props {
1269
+ /** @schema GitRepositoryV1Beta1#metadata */
1270
+ metadata?: ApiObjectMetadata;
1271
+ /**
1272
+ * GitRepositorySpec defines the desired state of a Git repository.
1273
+ *
1274
+ * @schema GitRepositoryV1Beta1#spec
1275
+ */
1276
+ spec?: GitRepositoryV1Beta1Spec;
1277
+ }
1278
+ /** Converts an object of type 'GitRepositoryV1Beta1Props' to JSON representation. */
1279
+ export declare function toJson_GitRepositoryV1Beta1Props(obj: GitRepositoryV1Beta1Props | undefined): Record<string, any> | undefined;
1280
+ /**
1281
+ * GitRepositorySpec defines the desired state of a Git repository.
1282
+ *
1283
+ * @schema GitRepositoryV1Beta1Spec
1284
+ */
1285
+ export interface GitRepositoryV1Beta1Spec {
1286
+ /**
1287
+ * AccessFrom defines an Access Control List for allowing cross-namespace references to this
1288
+ * object.
1289
+ *
1290
+ * @schema GitRepositoryV1Beta1Spec#accessFrom
1291
+ */
1292
+ accessFrom?: GitRepositoryV1Beta1SpecAccessFrom;
1293
+ /**
1294
+ * Determines which git client library to use. Defaults to go-git, valid values are ('go-git',
1295
+ * 'libgit2').
1296
+ *
1297
+ * @default go-git, valid values are ('go-git', 'libgit2').
1298
+ * @schema GitRepositoryV1Beta1Spec#gitImplementation
1299
+ */
1300
+ gitImplementation?: GitRepositoryV1Beta1SpecGitImplementation;
1301
+ /**
1302
+ * Ignore overrides the set of excluded patterns in the .sourceignore format (which is the same
1303
+ * as .gitignore). If not provided, a default will be used, consult the documentation for your
1304
+ * version to find out what those are.
1305
+ *
1306
+ * @schema GitRepositoryV1Beta1Spec#ignore
1307
+ */
1308
+ ignore?: string;
1309
+ /**
1310
+ * Extra git repositories to map into the repository
1311
+ *
1312
+ * @schema GitRepositoryV1Beta1Spec#include
1313
+ */
1314
+ include?: GitRepositoryV1Beta1SpecInclude[];
1315
+ /**
1316
+ * The interval at which to check for repository updates.
1317
+ *
1318
+ * @schema GitRepositoryV1Beta1Spec#interval
1319
+ */
1320
+ interval: string;
1321
+ /**
1322
+ * When enabled, after the clone is created, initializes all submodules within, using their
1323
+ * default settings. This option is available only when using the 'go-git' GitImplementation.
1324
+ *
1325
+ * @schema GitRepositoryV1Beta1Spec#recurseSubmodules
1326
+ */
1327
+ recurseSubmodules?: boolean;
1328
+ /**
1329
+ * The Git reference to checkout and monitor for changes, defaults to master branch.
1330
+ *
1331
+ * @schema GitRepositoryV1Beta1Spec#ref
1332
+ */
1333
+ ref?: GitRepositoryV1Beta1SpecRef;
1334
+ /**
1335
+ * The secret name containing the Git credentials. For HTTPS repositories the secret must
1336
+ * contain username and password fields. For SSH repositories the secret must contain identity
1337
+ * and known_hosts fields.
1338
+ *
1339
+ * @schema GitRepositoryV1Beta1Spec#secretRef
1340
+ */
1341
+ secretRef?: GitRepositoryV1Beta1SpecSecretRef;
1342
+ /**
1343
+ * This flag tells the controller to suspend the reconciliation of this source.
1344
+ *
1345
+ * @schema GitRepositoryV1Beta1Spec#suspend
1346
+ */
1347
+ suspend?: boolean;
1348
+ /**
1349
+ * The timeout for remote Git operations like cloning, defaults to 60s.
1350
+ *
1351
+ * @schema GitRepositoryV1Beta1Spec#timeout
1352
+ */
1353
+ timeout?: string;
1354
+ /**
1355
+ * The repository URL, can be a HTTP/S or SSH address.
1356
+ *
1357
+ * @schema GitRepositoryV1Beta1Spec#url
1358
+ */
1359
+ url: string;
1360
+ /**
1361
+ * Verify OpenPGP signature for the Git commit HEAD points to.
1362
+ *
1363
+ * @schema GitRepositoryV1Beta1Spec#verify
1364
+ */
1365
+ verify?: GitRepositoryV1Beta1SpecVerify;
1366
+ }
1367
+ /** Converts an object of type 'GitRepositoryV1Beta1Spec' to JSON representation. */
1368
+ export declare function toJson_GitRepositoryV1Beta1Spec(obj: GitRepositoryV1Beta1Spec | undefined): Record<string, any> | undefined;
1369
+ /**
1370
+ * AccessFrom defines an Access Control List for allowing cross-namespace references to this object.
1371
+ *
1372
+ * @schema GitRepositoryV1Beta1SpecAccessFrom
1373
+ */
1374
+ export interface GitRepositoryV1Beta1SpecAccessFrom {
1375
+ /**
1376
+ * NamespaceSelectors is the list of namespace selectors to which this ACL applies. Items in
1377
+ * this list are evaluated using a logical OR operation.
1378
+ *
1379
+ * @schema GitRepositoryV1Beta1SpecAccessFrom#namespaceSelectors
1380
+ */
1381
+ namespaceSelectors: GitRepositoryV1Beta1SpecAccessFromNamespaceSelectors[];
1382
+ }
1383
+ /** Converts an object of type 'GitRepositoryV1Beta1SpecAccessFrom' to JSON representation. */
1384
+ export declare function toJson_GitRepositoryV1Beta1SpecAccessFrom(obj: GitRepositoryV1Beta1SpecAccessFrom | undefined): Record<string, any> | undefined;
1385
+ /**
1386
+ * Determines which git client library to use. Defaults to go-git, valid values are ('go-git',
1387
+ * 'libgit2').
1388
+ *
1389
+ * @default go-git, valid values are ('go-git', 'libgit2').
1390
+ * @schema GitRepositoryV1Beta1SpecGitImplementation
1391
+ */
1392
+ export declare enum GitRepositoryV1Beta1SpecGitImplementation {
1393
+ /** Go-git */
1394
+ GO_HYPHEN_GIT = "go-git",
1395
+ /** Libgit2 */
1396
+ LIBGIT2 = "libgit2"
1397
+ }
1398
+ /**
1399
+ * GitRepositoryInclude defines a source with a from and to path.
1400
+ *
1401
+ * @schema GitRepositoryV1Beta1SpecInclude
1402
+ */
1403
+ export interface GitRepositoryV1Beta1SpecInclude {
1404
+ /**
1405
+ * The path to copy contents from, defaults to the root directory.
1406
+ *
1407
+ * @schema GitRepositoryV1Beta1SpecInclude#fromPath
1408
+ */
1409
+ fromPath?: string;
1410
+ /**
1411
+ * Reference to a GitRepository to include.
1412
+ *
1413
+ * @schema GitRepositoryV1Beta1SpecInclude#repository
1414
+ */
1415
+ repository: GitRepositoryV1Beta1SpecIncludeRepository;
1416
+ /**
1417
+ * The path to copy contents to, defaults to the name of the source ref.
1418
+ *
1419
+ * @schema GitRepositoryV1Beta1SpecInclude#toPath
1420
+ */
1421
+ toPath?: string;
1422
+ }
1423
+ /** Converts an object of type 'GitRepositoryV1Beta1SpecInclude' to JSON representation. */
1424
+ export declare function toJson_GitRepositoryV1Beta1SpecInclude(obj: GitRepositoryV1Beta1SpecInclude | undefined): Record<string, any> | undefined;
1425
+ /**
1426
+ * The Git reference to checkout and monitor for changes, defaults to master branch.
1427
+ *
1428
+ * @schema GitRepositoryV1Beta1SpecRef
1429
+ */
1430
+ export interface GitRepositoryV1Beta1SpecRef {
1431
+ /**
1432
+ * The Git branch to checkout, defaults to master.
1433
+ *
1434
+ * @schema GitRepositoryV1Beta1SpecRef#branch
1435
+ */
1436
+ branch?: string;
1437
+ /**
1438
+ * The Git commit SHA to checkout, if specified Tag filters will be ignored.
1439
+ *
1440
+ * @schema GitRepositoryV1Beta1SpecRef#commit
1441
+ */
1442
+ commit?: string;
1443
+ /**
1444
+ * The Git tag semver expression, takes precedence over Tag.
1445
+ *
1446
+ * @schema GitRepositoryV1Beta1SpecRef#semver
1447
+ */
1448
+ semver?: string;
1449
+ /**
1450
+ * The Git tag to checkout, takes precedence over Branch.
1451
+ *
1452
+ * @schema GitRepositoryV1Beta1SpecRef#tag
1453
+ */
1454
+ tag?: string;
1455
+ }
1456
+ /** Converts an object of type 'GitRepositoryV1Beta1SpecRef' to JSON representation. */
1457
+ export declare function toJson_GitRepositoryV1Beta1SpecRef(obj: GitRepositoryV1Beta1SpecRef | undefined): Record<string, any> | undefined;
1458
+ /**
1459
+ * The secret name containing the Git credentials. For HTTPS repositories the secret must contain
1460
+ * username and password fields. For SSH repositories the secret must contain identity and
1461
+ * known_hosts fields.
1462
+ *
1463
+ * @schema GitRepositoryV1Beta1SpecSecretRef
1464
+ */
1465
+ export interface GitRepositoryV1Beta1SpecSecretRef {
1466
+ /**
1467
+ * Name of the referent.
1468
+ *
1469
+ * @schema GitRepositoryV1Beta1SpecSecretRef#name
1470
+ */
1471
+ name: string;
1472
+ }
1473
+ /** Converts an object of type 'GitRepositoryV1Beta1SpecSecretRef' to JSON representation. */
1474
+ export declare function toJson_GitRepositoryV1Beta1SpecSecretRef(obj: GitRepositoryV1Beta1SpecSecretRef | undefined): Record<string, any> | undefined;
1475
+ /**
1476
+ * Verify OpenPGP signature for the Git commit HEAD points to.
1477
+ *
1478
+ * @schema GitRepositoryV1Beta1SpecVerify
1479
+ */
1480
+ export interface GitRepositoryV1Beta1SpecVerify {
1481
+ /**
1482
+ * Mode describes what git object should be verified, currently ('head').
1483
+ *
1484
+ * @schema GitRepositoryV1Beta1SpecVerify#mode
1485
+ */
1486
+ mode: GitRepositoryV1Beta1SpecVerifyMode;
1487
+ /**
1488
+ * The secret name containing the public keys of all trusted Git authors.
1489
+ *
1490
+ * @schema GitRepositoryV1Beta1SpecVerify#secretRef
1491
+ */
1492
+ secretRef?: GitRepositoryV1Beta1SpecVerifySecretRef;
1493
+ }
1494
+ /** Converts an object of type 'GitRepositoryV1Beta1SpecVerify' to JSON representation. */
1495
+ export declare function toJson_GitRepositoryV1Beta1SpecVerify(obj: GitRepositoryV1Beta1SpecVerify | undefined): Record<string, any> | undefined;
1496
+ /**
1497
+ * NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels
1498
+ * matches all namespaces in a cluster.
1499
+ *
1500
+ * @schema GitRepositoryV1Beta1SpecAccessFromNamespaceSelectors
1501
+ */
1502
+ export interface GitRepositoryV1Beta1SpecAccessFromNamespaceSelectors {
1503
+ /**
1504
+ * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is
1505
+ * equivalent to an element of matchExpressions, whose key field is "key", the operator is "In",
1506
+ * and the values array contains only "value". The requirements are ANDed.
1507
+ *
1508
+ * @schema GitRepositoryV1Beta1SpecAccessFromNamespaceSelectors#matchLabels
1509
+ */
1510
+ matchLabels?: {
1511
+ [key: string]: string;
1512
+ };
1513
+ }
1514
+ /**
1515
+ * Converts an object of type 'GitRepositoryV1Beta1SpecAccessFromNamespaceSelectors' to JSON
1516
+ * representation.
1517
+ */
1518
+ export declare function toJson_GitRepositoryV1Beta1SpecAccessFromNamespaceSelectors(obj: GitRepositoryV1Beta1SpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
1519
+ /**
1520
+ * Reference to a GitRepository to include.
1521
+ *
1522
+ * @schema GitRepositoryV1Beta1SpecIncludeRepository
1523
+ */
1524
+ export interface GitRepositoryV1Beta1SpecIncludeRepository {
1525
+ /**
1526
+ * Name of the referent.
1527
+ *
1528
+ * @schema GitRepositoryV1Beta1SpecIncludeRepository#name
1529
+ */
1530
+ name: string;
1531
+ }
1532
+ /** Converts an object of type 'GitRepositoryV1Beta1SpecIncludeRepository' to JSON representation. */
1533
+ export declare function toJson_GitRepositoryV1Beta1SpecIncludeRepository(obj: GitRepositoryV1Beta1SpecIncludeRepository | undefined): Record<string, any> | undefined;
1534
+ /**
1535
+ * Mode describes what git object should be verified, currently ('head').
1536
+ *
1537
+ * @schema GitRepositoryV1Beta1SpecVerifyMode
1538
+ */
1539
+ export declare enum GitRepositoryV1Beta1SpecVerifyMode {
1540
+ /** Head */
1541
+ HEAD = "head"
1542
+ }
1543
+ /**
1544
+ * The secret name containing the public keys of all trusted Git authors.
1545
+ *
1546
+ * @schema GitRepositoryV1Beta1SpecVerifySecretRef
1547
+ */
1548
+ export interface GitRepositoryV1Beta1SpecVerifySecretRef {
1549
+ /**
1550
+ * Name of the referent.
1551
+ *
1552
+ * @schema GitRepositoryV1Beta1SpecVerifySecretRef#name
1553
+ */
1554
+ name: string;
1555
+ }
1556
+ /** Converts an object of type 'GitRepositoryV1Beta1SpecVerifySecretRef' to JSON representation. */
1557
+ export declare function toJson_GitRepositoryV1Beta1SpecVerifySecretRef(obj: GitRepositoryV1Beta1SpecVerifySecretRef | undefined): Record<string, any> | undefined;
1558
+ /**
1559
+ * GitRepository is the Schema for the gitrepositories API.
1560
+ *
1561
+ * @schema GitRepositoryV1Beta2
1562
+ */
1563
+ export declare class GitRepositoryV1Beta2 extends ApiObject {
1564
+ /** Returns the apiVersion and kind for "GitRepositoryV1Beta2" */
1565
+ static GVK: GroupVersionKind;
1566
+ /**
1567
+ * Renders a Kubernetes manifest for "GitRepositoryV1Beta2".
1568
+ *
1569
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
1570
+ *
1571
+ * @param props Initialization props
1572
+ */
1573
+ static manifest(props?: GitRepositoryV1Beta2Props): any;
1574
+ /**
1575
+ * Defines a "GitRepositoryV1Beta2" API object
1576
+ *
1577
+ * @param scope The scope in which to define this object
1578
+ * @param id A scope-local name for the object
1579
+ * @param props Initialization props
1580
+ */
1581
+ constructor(scope: Construct, id: string, props?: GitRepositoryV1Beta2Props);
1582
+ /** Renders the object to Kubernetes JSON. */
1583
+ toJson(): any;
1584
+ }
1585
+ /**
1586
+ * GitRepository is the Schema for the gitrepositories API.
1587
+ *
1588
+ * @schema GitRepositoryV1Beta2
1589
+ */
1590
+ export interface GitRepositoryV1Beta2Props {
1591
+ /** @schema GitRepositoryV1Beta2#metadata */
1592
+ metadata?: ApiObjectMetadata;
1593
+ /**
1594
+ * GitRepositorySpec specifies the required configuration to produce an Artifact for a Git
1595
+ * repository.
1596
+ *
1597
+ * @schema GitRepositoryV1Beta2#spec
1598
+ */
1599
+ spec?: GitRepositoryV1Beta2Spec;
1600
+ }
1601
+ /** Converts an object of type 'GitRepositoryV1Beta2Props' to JSON representation. */
1602
+ export declare function toJson_GitRepositoryV1Beta2Props(obj: GitRepositoryV1Beta2Props | undefined): Record<string, any> | undefined;
1603
+ /**
1604
+ * GitRepositorySpec specifies the required configuration to produce an Artifact for a Git
1605
+ * repository.
1606
+ *
1607
+ * @schema GitRepositoryV1Beta2Spec
1608
+ */
1609
+ export interface GitRepositoryV1Beta2Spec {
1610
+ /**
1611
+ * AccessFrom specifies an Access Control List for allowing cross-namespace references to this
1612
+ * object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
1613
+ *
1614
+ * @schema GitRepositoryV1Beta2Spec#accessFrom
1615
+ */
1616
+ accessFrom?: GitRepositoryV1Beta2SpecAccessFrom;
1617
+ /**
1618
+ * GitImplementation specifies which Git client library implementation to use. Defaults to
1619
+ * 'go-git', valid values are ('go-git', 'libgit2'). Deprecated: gitImplementation is deprecated
1620
+ * now that 'go-git' is the only supported implementation.
1621
+ *
1622
+ * @default go-git', valid values are ('go-git', 'libgit2').
1623
+ * @schema GitRepositoryV1Beta2Spec#gitImplementation
1624
+ */
1625
+ gitImplementation?: GitRepositoryV1Beta2SpecGitImplementation;
1626
+ /**
1627
+ * Ignore overrides the set of excluded patterns in the .sourceignore format (which is the same
1628
+ * as .gitignore). If not provided, a default will be used, consult the documentation for your
1629
+ * version to find out what those are.
1630
+ *
1631
+ * @schema GitRepositoryV1Beta2Spec#ignore
1632
+ */
1633
+ ignore?: string;
1634
+ /**
1635
+ * Include specifies a list of GitRepository resources which Artifacts should be included in the
1636
+ * Artifact produced for this GitRepository.
1637
+ *
1638
+ * @schema GitRepositoryV1Beta2Spec#include
1639
+ */
1640
+ include?: GitRepositoryV1Beta2SpecInclude[];
1641
+ /**
1642
+ * Interval at which to check the GitRepository for updates.
1643
+ *
1644
+ * @schema GitRepositoryV1Beta2Spec#interval
1645
+ */
1646
+ interval: string;
1647
+ /**
1648
+ * RecurseSubmodules enables the initialization of all submodules within the GitRepository as
1649
+ * cloned from the URL, using their default settings.
1650
+ *
1651
+ * @schema GitRepositoryV1Beta2Spec#recurseSubmodules
1652
+ */
1653
+ recurseSubmodules?: boolean;
1654
+ /**
1655
+ * Reference specifies the Git reference to resolve and monitor for changes, defaults to the
1656
+ * 'master' branch.
1657
+ *
1658
+ * @schema GitRepositoryV1Beta2Spec#ref
1659
+ */
1660
+ ref?: GitRepositoryV1Beta2SpecRef;
1661
+ /**
1662
+ * SecretRef specifies the Secret containing authentication credentials for the GitRepository.
1663
+ * For HTTPS repositories the Secret must contain 'username' and 'password' fields for basic
1664
+ * auth or 'bearerToken' field for token auth. For SSH repositories the Secret must contain
1665
+ * 'identity' and 'known_hosts' fields.
1666
+ *
1667
+ * @schema GitRepositoryV1Beta2Spec#secretRef
1668
+ */
1669
+ secretRef?: GitRepositoryV1Beta2SpecSecretRef;
1670
+ /**
1671
+ * Suspend tells the controller to suspend the reconciliation of this GitRepository.
1672
+ *
1673
+ * @schema GitRepositoryV1Beta2Spec#suspend
1674
+ */
1675
+ suspend?: boolean;
1676
+ /**
1677
+ * Timeout for Git operations like cloning, defaults to 60s.
1678
+ *
1679
+ * @schema GitRepositoryV1Beta2Spec#timeout
1680
+ */
1681
+ timeout?: string;
1682
+ /**
1683
+ * URL specifies the Git repository URL, it can be an HTTP/S or SSH address.
1684
+ *
1685
+ * @schema GitRepositoryV1Beta2Spec#url
1686
+ */
1687
+ url: string;
1688
+ /**
1689
+ * Verification specifies the configuration to verify the Git commit signature(s).
1690
+ *
1691
+ * @schema GitRepositoryV1Beta2Spec#verify
1692
+ */
1693
+ verify?: GitRepositoryV1Beta2SpecVerify;
1694
+ }
1695
+ /** Converts an object of type 'GitRepositoryV1Beta2Spec' to JSON representation. */
1696
+ export declare function toJson_GitRepositoryV1Beta2Spec(obj: GitRepositoryV1Beta2Spec | undefined): Record<string, any> | undefined;
1697
+ /**
1698
+ * AccessFrom specifies an Access Control List for allowing cross-namespace references to this
1699
+ * object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
1700
+ *
1701
+ * @schema GitRepositoryV1Beta2SpecAccessFrom
1702
+ */
1703
+ export interface GitRepositoryV1Beta2SpecAccessFrom {
1704
+ /**
1705
+ * NamespaceSelectors is the list of namespace selectors to which this ACL applies. Items in
1706
+ * this list are evaluated using a logical OR operation.
1707
+ *
1708
+ * @schema GitRepositoryV1Beta2SpecAccessFrom#namespaceSelectors
1709
+ */
1710
+ namespaceSelectors: GitRepositoryV1Beta2SpecAccessFromNamespaceSelectors[];
1711
+ }
1712
+ /** Converts an object of type 'GitRepositoryV1Beta2SpecAccessFrom' to JSON representation. */
1713
+ export declare function toJson_GitRepositoryV1Beta2SpecAccessFrom(obj: GitRepositoryV1Beta2SpecAccessFrom | undefined): Record<string, any> | undefined;
1714
+ /**
1715
+ * GitImplementation specifies which Git client library implementation to use. Defaults to 'go-git',
1716
+ * valid values are ('go-git', 'libgit2'). Deprecated: gitImplementation is deprecated now that
1717
+ * 'go-git' is the only supported implementation.
1718
+ *
1719
+ * @default go-git', valid values are ('go-git', 'libgit2').
1720
+ * @schema GitRepositoryV1Beta2SpecGitImplementation
1721
+ */
1722
+ export declare enum GitRepositoryV1Beta2SpecGitImplementation {
1723
+ /** Go-git */
1724
+ GO_HYPHEN_GIT = "go-git",
1725
+ /** Libgit2 */
1726
+ LIBGIT2 = "libgit2"
1727
+ }
1728
+ /**
1729
+ * GitRepositoryInclude specifies a local reference to a GitRepository which Artifact (sub-)contents
1730
+ * must be included, and where they should be placed.
1731
+ *
1732
+ * @schema GitRepositoryV1Beta2SpecInclude
1733
+ */
1734
+ export interface GitRepositoryV1Beta2SpecInclude {
1735
+ /**
1736
+ * FromPath specifies the path to copy contents from, defaults to the root of the Artifact.
1737
+ *
1738
+ * @schema GitRepositoryV1Beta2SpecInclude#fromPath
1739
+ */
1740
+ fromPath?: string;
1741
+ /**
1742
+ * GitRepositoryRef specifies the GitRepository which Artifact contents must be included.
1743
+ *
1744
+ * @schema GitRepositoryV1Beta2SpecInclude#repository
1745
+ */
1746
+ repository: GitRepositoryV1Beta2SpecIncludeRepository;
1747
+ /**
1748
+ * ToPath specifies the path to copy contents to, defaults to the name of the GitRepositoryRef.
1749
+ *
1750
+ * @schema GitRepositoryV1Beta2SpecInclude#toPath
1751
+ */
1752
+ toPath?: string;
1753
+ }
1754
+ /** Converts an object of type 'GitRepositoryV1Beta2SpecInclude' to JSON representation. */
1755
+ export declare function toJson_GitRepositoryV1Beta2SpecInclude(obj: GitRepositoryV1Beta2SpecInclude | undefined): Record<string, any> | undefined;
1756
+ /**
1757
+ * Reference specifies the Git reference to resolve and monitor for changes, defaults to the
1758
+ * 'master' branch.
1759
+ *
1760
+ * @schema GitRepositoryV1Beta2SpecRef
1761
+ */
1762
+ export interface GitRepositoryV1Beta2SpecRef {
1763
+ /**
1764
+ * Branch to check out, defaults to 'master' if no other field is defined.
1765
+ *
1766
+ * @schema GitRepositoryV1Beta2SpecRef#branch
1767
+ */
1768
+ branch?: string;
1769
+ /**
1770
+ * Commit SHA to check out, takes precedence over all reference fields.
1771
+ *
1772
+ * This can be combined with Branch to shallow clone the branch, in which the commit is expected
1773
+ * to exist.
1774
+ *
1775
+ * @schema GitRepositoryV1Beta2SpecRef#commit
1776
+ */
1777
+ commit?: string;
1778
+ /**
1779
+ * Name of the reference to check out; takes precedence over Branch, Tag and SemVer.
1780
+ *
1781
+ * It must be a valid Git reference: https://git-scm.com/docs/git-check-ref-format#_description
1782
+ * Examples: "refs/heads/main", "refs/tags/v0.1.0", "refs/pull/420/head",
1783
+ * "refs/merge-requests/1/head"
1784
+ *
1785
+ * @schema GitRepositoryV1Beta2SpecRef#name
1786
+ */
1787
+ name?: string;
1788
+ /**
1789
+ * SemVer tag expression to check out, takes precedence over Tag.
1790
+ *
1791
+ * @schema GitRepositoryV1Beta2SpecRef#semver
1792
+ */
1793
+ semver?: string;
1794
+ /**
1795
+ * Tag to check out, takes precedence over Branch.
1796
+ *
1797
+ * @schema GitRepositoryV1Beta2SpecRef#tag
1798
+ */
1799
+ tag?: string;
1800
+ }
1801
+ /** Converts an object of type 'GitRepositoryV1Beta2SpecRef' to JSON representation. */
1802
+ export declare function toJson_GitRepositoryV1Beta2SpecRef(obj: GitRepositoryV1Beta2SpecRef | undefined): Record<string, any> | undefined;
1803
+ /**
1804
+ * SecretRef specifies the Secret containing authentication credentials for the GitRepository. For
1805
+ * HTTPS repositories the Secret must contain 'username' and 'password' fields for basic auth or
1806
+ * 'bearerToken' field for token auth. For SSH repositories the Secret must contain 'identity' and
1807
+ * 'known_hosts' fields.
1808
+ *
1809
+ * @schema GitRepositoryV1Beta2SpecSecretRef
1810
+ */
1811
+ export interface GitRepositoryV1Beta2SpecSecretRef {
1812
+ /**
1813
+ * Name of the referent.
1814
+ *
1815
+ * @schema GitRepositoryV1Beta2SpecSecretRef#name
1816
+ */
1817
+ name: string;
1818
+ }
1819
+ /** Converts an object of type 'GitRepositoryV1Beta2SpecSecretRef' to JSON representation. */
1820
+ export declare function toJson_GitRepositoryV1Beta2SpecSecretRef(obj: GitRepositoryV1Beta2SpecSecretRef | undefined): Record<string, any> | undefined;
1821
+ /**
1822
+ * Verification specifies the configuration to verify the Git commit signature(s).
1823
+ *
1824
+ * @schema GitRepositoryV1Beta2SpecVerify
1825
+ */
1826
+ export interface GitRepositoryV1Beta2SpecVerify {
1827
+ /**
1828
+ * Mode specifies what Git object should be verified, currently ('head').
1829
+ *
1830
+ * @schema GitRepositoryV1Beta2SpecVerify#mode
1831
+ */
1832
+ mode: GitRepositoryV1Beta2SpecVerifyMode;
1833
+ /**
1834
+ * SecretRef specifies the Secret containing the public keys of trusted Git authors.
1835
+ *
1836
+ * @schema GitRepositoryV1Beta2SpecVerify#secretRef
1837
+ */
1838
+ secretRef: GitRepositoryV1Beta2SpecVerifySecretRef;
1839
+ }
1840
+ /** Converts an object of type 'GitRepositoryV1Beta2SpecVerify' to JSON representation. */
1841
+ export declare function toJson_GitRepositoryV1Beta2SpecVerify(obj: GitRepositoryV1Beta2SpecVerify | undefined): Record<string, any> | undefined;
1842
+ /**
1843
+ * NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels
1844
+ * matches all namespaces in a cluster.
1845
+ *
1846
+ * @schema GitRepositoryV1Beta2SpecAccessFromNamespaceSelectors
1847
+ */
1848
+ export interface GitRepositoryV1Beta2SpecAccessFromNamespaceSelectors {
1849
+ /**
1850
+ * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is
1851
+ * equivalent to an element of matchExpressions, whose key field is "key", the operator is "In",
1852
+ * and the values array contains only "value". The requirements are ANDed.
1853
+ *
1854
+ * @schema GitRepositoryV1Beta2SpecAccessFromNamespaceSelectors#matchLabels
1855
+ */
1856
+ matchLabels?: {
1857
+ [key: string]: string;
1858
+ };
1859
+ }
1860
+ /**
1861
+ * Converts an object of type 'GitRepositoryV1Beta2SpecAccessFromNamespaceSelectors' to JSON
1862
+ * representation.
1863
+ */
1864
+ export declare function toJson_GitRepositoryV1Beta2SpecAccessFromNamespaceSelectors(obj: GitRepositoryV1Beta2SpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
1865
+ /**
1866
+ * GitRepositoryRef specifies the GitRepository which Artifact contents must be included.
1867
+ *
1868
+ * @schema GitRepositoryV1Beta2SpecIncludeRepository
1869
+ */
1870
+ export interface GitRepositoryV1Beta2SpecIncludeRepository {
1871
+ /**
1872
+ * Name of the referent.
1873
+ *
1874
+ * @schema GitRepositoryV1Beta2SpecIncludeRepository#name
1875
+ */
1876
+ name: string;
1877
+ }
1878
+ /** Converts an object of type 'GitRepositoryV1Beta2SpecIncludeRepository' to JSON representation. */
1879
+ export declare function toJson_GitRepositoryV1Beta2SpecIncludeRepository(obj: GitRepositoryV1Beta2SpecIncludeRepository | undefined): Record<string, any> | undefined;
1880
+ /**
1881
+ * Mode specifies what Git object should be verified, currently ('head').
1882
+ *
1883
+ * @schema GitRepositoryV1Beta2SpecVerifyMode
1884
+ */
1885
+ export declare enum GitRepositoryV1Beta2SpecVerifyMode {
1886
+ /** Head */
1887
+ HEAD = "head"
1888
+ }
1889
+ /**
1890
+ * SecretRef specifies the Secret containing the public keys of trusted Git authors.
1891
+ *
1892
+ * @schema GitRepositoryV1Beta2SpecVerifySecretRef
1893
+ */
1894
+ export interface GitRepositoryV1Beta2SpecVerifySecretRef {
1895
+ /**
1896
+ * Name of the referent.
1897
+ *
1898
+ * @schema GitRepositoryV1Beta2SpecVerifySecretRef#name
1899
+ */
1900
+ name: string;
1901
+ }
1902
+ /** Converts an object of type 'GitRepositoryV1Beta2SpecVerifySecretRef' to JSON representation. */
1903
+ export declare function toJson_GitRepositoryV1Beta2SpecVerifySecretRef(obj: GitRepositoryV1Beta2SpecVerifySecretRef | undefined): Record<string, any> | undefined;
1904
+ /**
1905
+ * HelmChart is the Schema for the helmcharts API.
1906
+ *
1907
+ * @schema HelmChart
1908
+ */
1909
+ export declare class HelmChart extends ApiObject {
1910
+ /** Returns the apiVersion and kind for "HelmChart" */
1911
+ static GVK: GroupVersionKind;
1912
+ /**
1913
+ * Renders a Kubernetes manifest for "HelmChart".
1914
+ *
1915
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
1916
+ *
1917
+ * @param props Initialization props
1918
+ */
1919
+ static manifest(props?: HelmChartProps): any;
1920
+ /**
1921
+ * Defines a "HelmChart" API object
1922
+ *
1923
+ * @param scope The scope in which to define this object
1924
+ * @param id A scope-local name for the object
1925
+ * @param props Initialization props
1926
+ */
1927
+ constructor(scope: Construct, id: string, props?: HelmChartProps);
1928
+ /** Renders the object to Kubernetes JSON. */
1929
+ toJson(): any;
1930
+ }
1931
+ /**
1932
+ * HelmChart is the Schema for the helmcharts API.
1933
+ *
1934
+ * @schema HelmChart
1935
+ */
1936
+ export interface HelmChartProps {
1937
+ /** @schema HelmChart#metadata */
1938
+ metadata?: ApiObjectMetadata;
1939
+ /**
1940
+ * HelmChartSpec specifies the desired state of a Helm chart.
1941
+ *
1942
+ * @schema HelmChart#spec
1943
+ */
1944
+ spec?: HelmChartSpec;
1945
+ }
1946
+ /** Converts an object of type 'HelmChartProps' to JSON representation. */
1947
+ export declare function toJson_HelmChartProps(obj: HelmChartProps | undefined): Record<string, any> | undefined;
1948
+ /**
1949
+ * HelmChartSpec specifies the desired state of a Helm chart.
1950
+ *
1951
+ * @schema HelmChartSpec
1952
+ */
1953
+ export interface HelmChartSpec {
1954
+ /**
1955
+ * Chart is the name or path the Helm chart is available at in the SourceRef.
1956
+ *
1957
+ * @schema HelmChartSpec#chart
1958
+ */
1959
+ chart: string;
1960
+ /**
1961
+ * IgnoreMissingValuesFiles controls whether to silently ignore missing values files rather than
1962
+ * failing.
1963
+ *
1964
+ * @schema HelmChartSpec#ignoreMissingValuesFiles
1965
+ */
1966
+ ignoreMissingValuesFiles?: boolean;
1967
+ /**
1968
+ * Interval at which the HelmChart SourceRef is checked for updates. This interval is
1969
+ * approximate and may be subject to jitter to ensure efficient use of resources.
1970
+ *
1971
+ * @schema HelmChartSpec#interval
1972
+ */
1973
+ interval: string;
1974
+ /**
1975
+ * ReconcileStrategy determines what enables the creation of a new artifact. Valid values are
1976
+ * ('ChartVersion', 'Revision'). See the documentation of the values for an explanation on their
1977
+ * behavior. Defaults to ChartVersion when omitted.
1978
+ *
1979
+ * @default ChartVersion when omitted.
1980
+ * @schema HelmChartSpec#reconcileStrategy
1981
+ */
1982
+ reconcileStrategy?: HelmChartSpecReconcileStrategy;
1983
+ /**
1984
+ * SourceRef is the reference to the Source the chart is available at.
1985
+ *
1986
+ * @schema HelmChartSpec#sourceRef
1987
+ */
1988
+ sourceRef: HelmChartSpecSourceRef;
1989
+ /**
1990
+ * Suspend tells the controller to suspend the reconciliation of this source.
1991
+ *
1992
+ * @schema HelmChartSpec#suspend
1993
+ */
1994
+ suspend?: boolean;
1995
+ /**
1996
+ * ValuesFiles is an alternative list of values files to use as the chart values (values.yaml is
1997
+ * not included by default), expected to be a relative path in the SourceRef. Values files are
1998
+ * merged in the order of this list with the last file overriding the first. Ignored when
1999
+ * omitted.
2000
+ *
2001
+ * @schema HelmChartSpec#valuesFiles
2002
+ */
2003
+ valuesFiles?: string[];
2004
+ /**
2005
+ * Verify contains the secret name containing the trusted public keys used to verify the
2006
+ * signature and specifies which provider to use to check whether OCI image is authentic. This
2007
+ * field is only supported when using HelmRepository source with spec.type 'oci'. Chart
2008
+ * dependencies, which are not bundled in the umbrella chart artifact, are not verified.
2009
+ *
2010
+ * @schema HelmChartSpec#verify
2011
+ */
2012
+ verify?: HelmChartSpecVerify;
2013
+ /**
2014
+ * Version is the chart version semver expression, ignored for charts from GitRepository and
2015
+ * Bucket sources. Defaults to latest when omitted.
2016
+ *
2017
+ * @default latest when omitted.
2018
+ * @schema HelmChartSpec#version
2019
+ */
2020
+ version?: string;
2021
+ }
2022
+ /** Converts an object of type 'HelmChartSpec' to JSON representation. */
2023
+ export declare function toJson_HelmChartSpec(obj: HelmChartSpec | undefined): Record<string, any> | undefined;
2024
+ /**
2025
+ * ReconcileStrategy determines what enables the creation of a new artifact. Valid values are
2026
+ * ('ChartVersion', 'Revision'). See the documentation of the values for an explanation on their
2027
+ * behavior. Defaults to ChartVersion when omitted.
2028
+ *
2029
+ * @default ChartVersion when omitted.
2030
+ * @schema HelmChartSpecReconcileStrategy
2031
+ */
2032
+ export declare enum HelmChartSpecReconcileStrategy {
2033
+ /** ChartVersion */
2034
+ CHART_VERSION = "ChartVersion",
2035
+ /** Revision */
2036
+ REVISION = "Revision"
2037
+ }
2038
+ /**
2039
+ * SourceRef is the reference to the Source the chart is available at.
2040
+ *
2041
+ * @schema HelmChartSpecSourceRef
2042
+ */
2043
+ export interface HelmChartSpecSourceRef {
2044
+ /**
2045
+ * APIVersion of the referent.
2046
+ *
2047
+ * @schema HelmChartSpecSourceRef#apiVersion
2048
+ */
2049
+ apiVersion?: string;
2050
+ /**
2051
+ * Kind of the referent, valid values are ('HelmRepository', 'GitRepository', 'Bucket').
2052
+ *
2053
+ * @schema HelmChartSpecSourceRef#kind
2054
+ */
2055
+ kind: HelmChartSpecSourceRefKind;
2056
+ /**
2057
+ * Name of the referent.
2058
+ *
2059
+ * @schema HelmChartSpecSourceRef#name
2060
+ */
2061
+ name: string;
2062
+ }
2063
+ /** Converts an object of type 'HelmChartSpecSourceRef' to JSON representation. */
2064
+ export declare function toJson_HelmChartSpecSourceRef(obj: HelmChartSpecSourceRef | undefined): Record<string, any> | undefined;
2065
+ /**
2066
+ * Verify contains the secret name containing the trusted public keys used to verify the signature
2067
+ * and specifies which provider to use to check whether OCI image is authentic. This field is only
2068
+ * supported when using HelmRepository source with spec.type 'oci'. Chart dependencies, which are
2069
+ * not bundled in the umbrella chart artifact, are not verified.
2070
+ *
2071
+ * @schema HelmChartSpecVerify
2072
+ */
2073
+ export interface HelmChartSpecVerify {
2074
+ /**
2075
+ * MatchOIDCIdentity specifies the identity matching criteria to use while verifying an OCI
2076
+ * artifact which was signed using Cosign keyless signing. The artifact's identity is deemed to
2077
+ * be verified if any of the specified matchers match against the identity.
2078
+ *
2079
+ * @schema HelmChartSpecVerify#matchOIDCIdentity
2080
+ */
2081
+ matchOidcIdentity?: HelmChartSpecVerifyMatchOidcIdentity[];
2082
+ /**
2083
+ * Provider specifies the technology used to sign the OCI Artifact.
2084
+ *
2085
+ * @schema HelmChartSpecVerify#provider
2086
+ */
2087
+ provider: HelmChartSpecVerifyProvider;
2088
+ /**
2089
+ * SecretRef specifies the Kubernetes Secret containing the trusted public keys.
2090
+ *
2091
+ * @schema HelmChartSpecVerify#secretRef
2092
+ */
2093
+ secretRef?: HelmChartSpecVerifySecretRef;
2094
+ }
2095
+ /** Converts an object of type 'HelmChartSpecVerify' to JSON representation. */
2096
+ export declare function toJson_HelmChartSpecVerify(obj: HelmChartSpecVerify | undefined): Record<string, any> | undefined;
2097
+ /**
2098
+ * Kind of the referent, valid values are ('HelmRepository', 'GitRepository', 'Bucket').
2099
+ *
2100
+ * @schema HelmChartSpecSourceRefKind
2101
+ */
2102
+ export declare enum HelmChartSpecSourceRefKind {
2103
+ /** HelmRepository */
2104
+ HELM_REPOSITORY = "HelmRepository",
2105
+ /** GitRepository */
2106
+ GIT_REPOSITORY = "GitRepository",
2107
+ /** Bucket */
2108
+ BUCKET = "Bucket"
2109
+ }
2110
+ /**
2111
+ * OIDCIdentityMatch specifies options for verifying the certificate identity, i.e. the issuer and
2112
+ * the subject of the certificate.
2113
+ *
2114
+ * @schema HelmChartSpecVerifyMatchOidcIdentity
2115
+ */
2116
+ export interface HelmChartSpecVerifyMatchOidcIdentity {
2117
+ /**
2118
+ * Issuer specifies the regex pattern to match against to verify the OIDC issuer in the Fulcio
2119
+ * certificate. The pattern must be a valid Go regular expression.
2120
+ *
2121
+ * @schema HelmChartSpecVerifyMatchOidcIdentity#issuer
2122
+ */
2123
+ issuer: string;
2124
+ /**
2125
+ * Subject specifies the regex pattern to match against to verify the identity subject in the
2126
+ * Fulcio certificate. The pattern must be a valid Go regular expression.
2127
+ *
2128
+ * @schema HelmChartSpecVerifyMatchOidcIdentity#subject
2129
+ */
2130
+ subject: string;
2131
+ }
2132
+ /** Converts an object of type 'HelmChartSpecVerifyMatchOidcIdentity' to JSON representation. */
2133
+ export declare function toJson_HelmChartSpecVerifyMatchOidcIdentity(obj: HelmChartSpecVerifyMatchOidcIdentity | undefined): Record<string, any> | undefined;
2134
+ /**
2135
+ * Provider specifies the technology used to sign the OCI Artifact.
2136
+ *
2137
+ * @schema HelmChartSpecVerifyProvider
2138
+ */
2139
+ export declare enum HelmChartSpecVerifyProvider {
2140
+ /** Cosign */
2141
+ COSIGN = "cosign",
2142
+ /** Notation */
2143
+ NOTATION = "notation"
2144
+ }
2145
+ /**
2146
+ * SecretRef specifies the Kubernetes Secret containing the trusted public keys.
2147
+ *
2148
+ * @schema HelmChartSpecVerifySecretRef
2149
+ */
2150
+ export interface HelmChartSpecVerifySecretRef {
2151
+ /**
2152
+ * Name of the referent.
2153
+ *
2154
+ * @schema HelmChartSpecVerifySecretRef#name
2155
+ */
2156
+ name: string;
2157
+ }
2158
+ /** Converts an object of type 'HelmChartSpecVerifySecretRef' to JSON representation. */
2159
+ export declare function toJson_HelmChartSpecVerifySecretRef(obj: HelmChartSpecVerifySecretRef | undefined): Record<string, any> | undefined;
2160
+ /**
2161
+ * HelmChart is the Schema for the helmcharts API
2162
+ *
2163
+ * @schema HelmChartV1Beta1
2164
+ */
2165
+ export declare class HelmChartV1Beta1 extends ApiObject {
2166
+ /** Returns the apiVersion and kind for "HelmChartV1Beta1" */
2167
+ static GVK: GroupVersionKind;
2168
+ /**
2169
+ * Renders a Kubernetes manifest for "HelmChartV1Beta1".
2170
+ *
2171
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
2172
+ *
2173
+ * @param props Initialization props
2174
+ */
2175
+ static manifest(props?: HelmChartV1Beta1Props): any;
2176
+ /**
2177
+ * Defines a "HelmChartV1Beta1" API object
2178
+ *
2179
+ * @param scope The scope in which to define this object
2180
+ * @param id A scope-local name for the object
2181
+ * @param props Initialization props
2182
+ */
2183
+ constructor(scope: Construct, id: string, props?: HelmChartV1Beta1Props);
2184
+ /** Renders the object to Kubernetes JSON. */
2185
+ toJson(): any;
2186
+ }
2187
+ /**
2188
+ * HelmChart is the Schema for the helmcharts API
2189
+ *
2190
+ * @schema HelmChartV1Beta1
2191
+ */
2192
+ export interface HelmChartV1Beta1Props {
2193
+ /** @schema HelmChartV1Beta1#metadata */
2194
+ metadata?: ApiObjectMetadata;
2195
+ /**
2196
+ * HelmChartSpec defines the desired state of a Helm chart.
2197
+ *
2198
+ * @schema HelmChartV1Beta1#spec
2199
+ */
2200
+ spec?: HelmChartV1Beta1Spec;
2201
+ }
2202
+ /** Converts an object of type 'HelmChartV1Beta1Props' to JSON representation. */
2203
+ export declare function toJson_HelmChartV1Beta1Props(obj: HelmChartV1Beta1Props | undefined): Record<string, any> | undefined;
2204
+ /**
2205
+ * HelmChartSpec defines the desired state of a Helm chart.
2206
+ *
2207
+ * @schema HelmChartV1Beta1Spec
2208
+ */
2209
+ export interface HelmChartV1Beta1Spec {
2210
+ /**
2211
+ * AccessFrom defines an Access Control List for allowing cross-namespace references to this
2212
+ * object.
2213
+ *
2214
+ * @schema HelmChartV1Beta1Spec#accessFrom
2215
+ */
2216
+ accessFrom?: HelmChartV1Beta1SpecAccessFrom;
2217
+ /**
2218
+ * The name or path the Helm chart is available at in the SourceRef.
2219
+ *
2220
+ * @schema HelmChartV1Beta1Spec#chart
2221
+ */
2222
+ chart: string;
2223
+ /**
2224
+ * The interval at which to check the Source for updates.
2225
+ *
2226
+ * @schema HelmChartV1Beta1Spec#interval
2227
+ */
2228
+ interval: string;
2229
+ /**
2230
+ * Determines what enables the creation of a new artifact. Valid values are ('ChartVersion',
2231
+ * 'Revision'). See the documentation of the values for an explanation on their behavior.
2232
+ * Defaults to ChartVersion when omitted.
2233
+ *
2234
+ * @default ChartVersion when omitted.
2235
+ * @schema HelmChartV1Beta1Spec#reconcileStrategy
2236
+ */
2237
+ reconcileStrategy?: HelmChartV1Beta1SpecReconcileStrategy;
2238
+ /**
2239
+ * The reference to the Source the chart is available at.
2240
+ *
2241
+ * @schema HelmChartV1Beta1Spec#sourceRef
2242
+ */
2243
+ sourceRef: HelmChartV1Beta1SpecSourceRef;
2244
+ /**
2245
+ * This flag tells the controller to suspend the reconciliation of this source.
2246
+ *
2247
+ * @schema HelmChartV1Beta1Spec#suspend
2248
+ */
2249
+ suspend?: boolean;
2250
+ /**
2251
+ * Alternative values file to use as the default chart values, expected to be a relative path in
2252
+ * the SourceRef. Deprecated in favor of ValuesFiles, for backwards compatibility the file
2253
+ * defined here is merged before the ValuesFiles items. Ignored when omitted.
2254
+ *
2255
+ * @schema HelmChartV1Beta1Spec#valuesFile
2256
+ */
2257
+ valuesFile?: string;
2258
+ /**
2259
+ * Alternative list of values files to use as the chart values (values.yaml is not included by
2260
+ * default), expected to be a relative path in the SourceRef. Values files are merged in the
2261
+ * order of this list with the last file overriding the first. Ignored when omitted.
2262
+ *
2263
+ * @schema HelmChartV1Beta1Spec#valuesFiles
2264
+ */
2265
+ valuesFiles?: string[];
2266
+ /**
2267
+ * The chart version semver expression, ignored for charts from GitRepository and Bucket
2268
+ * sources. Defaults to latest when omitted.
2269
+ *
2270
+ * @default latest when omitted.
2271
+ * @schema HelmChartV1Beta1Spec#version
2272
+ */
2273
+ version?: string;
2274
+ }
2275
+ /** Converts an object of type 'HelmChartV1Beta1Spec' to JSON representation. */
2276
+ export declare function toJson_HelmChartV1Beta1Spec(obj: HelmChartV1Beta1Spec | undefined): Record<string, any> | undefined;
2277
+ /**
2278
+ * AccessFrom defines an Access Control List for allowing cross-namespace references to this object.
2279
+ *
2280
+ * @schema HelmChartV1Beta1SpecAccessFrom
2281
+ */
2282
+ export interface HelmChartV1Beta1SpecAccessFrom {
2283
+ /**
2284
+ * NamespaceSelectors is the list of namespace selectors to which this ACL applies. Items in
2285
+ * this list are evaluated using a logical OR operation.
2286
+ *
2287
+ * @schema HelmChartV1Beta1SpecAccessFrom#namespaceSelectors
2288
+ */
2289
+ namespaceSelectors: HelmChartV1Beta1SpecAccessFromNamespaceSelectors[];
2290
+ }
2291
+ /** Converts an object of type 'HelmChartV1Beta1SpecAccessFrom' to JSON representation. */
2292
+ export declare function toJson_HelmChartV1Beta1SpecAccessFrom(obj: HelmChartV1Beta1SpecAccessFrom | undefined): Record<string, any> | undefined;
2293
+ /**
2294
+ * Determines what enables the creation of a new artifact. Valid values are ('ChartVersion',
2295
+ * 'Revision'). See the documentation of the values for an explanation on their behavior. Defaults
2296
+ * to ChartVersion when omitted.
2297
+ *
2298
+ * @default ChartVersion when omitted.
2299
+ * @schema HelmChartV1Beta1SpecReconcileStrategy
2300
+ */
2301
+ export declare enum HelmChartV1Beta1SpecReconcileStrategy {
2302
+ /** ChartVersion */
2303
+ CHART_VERSION = "ChartVersion",
2304
+ /** Revision */
2305
+ REVISION = "Revision"
2306
+ }
2307
+ /**
2308
+ * The reference to the Source the chart is available at.
2309
+ *
2310
+ * @schema HelmChartV1Beta1SpecSourceRef
2311
+ */
2312
+ export interface HelmChartV1Beta1SpecSourceRef {
2313
+ /**
2314
+ * APIVersion of the referent.
2315
+ *
2316
+ * @schema HelmChartV1Beta1SpecSourceRef#apiVersion
2317
+ */
2318
+ apiVersion?: string;
2319
+ /**
2320
+ * Kind of the referent, valid values are ('HelmRepository', 'GitRepository', 'Bucket').
2321
+ *
2322
+ * @schema HelmChartV1Beta1SpecSourceRef#kind
2323
+ */
2324
+ kind: HelmChartV1Beta1SpecSourceRefKind;
2325
+ /**
2326
+ * Name of the referent.
2327
+ *
2328
+ * @schema HelmChartV1Beta1SpecSourceRef#name
2329
+ */
2330
+ name: string;
2331
+ }
2332
+ /** Converts an object of type 'HelmChartV1Beta1SpecSourceRef' to JSON representation. */
2333
+ export declare function toJson_HelmChartV1Beta1SpecSourceRef(obj: HelmChartV1Beta1SpecSourceRef | undefined): Record<string, any> | undefined;
2334
+ /**
2335
+ * NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels
2336
+ * matches all namespaces in a cluster.
2337
+ *
2338
+ * @schema HelmChartV1Beta1SpecAccessFromNamespaceSelectors
2339
+ */
2340
+ export interface HelmChartV1Beta1SpecAccessFromNamespaceSelectors {
2341
+ /**
2342
+ * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is
2343
+ * equivalent to an element of matchExpressions, whose key field is "key", the operator is "In",
2344
+ * and the values array contains only "value". The requirements are ANDed.
2345
+ *
2346
+ * @schema HelmChartV1Beta1SpecAccessFromNamespaceSelectors#matchLabels
2347
+ */
2348
+ matchLabels?: {
2349
+ [key: string]: string;
2350
+ };
2351
+ }
2352
+ /**
2353
+ * Converts an object of type 'HelmChartV1Beta1SpecAccessFromNamespaceSelectors' to JSON
2354
+ * representation.
2355
+ */
2356
+ export declare function toJson_HelmChartV1Beta1SpecAccessFromNamespaceSelectors(obj: HelmChartV1Beta1SpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
2357
+ /**
2358
+ * Kind of the referent, valid values are ('HelmRepository', 'GitRepository', 'Bucket').
2359
+ *
2360
+ * @schema HelmChartV1Beta1SpecSourceRefKind
2361
+ */
2362
+ export declare enum HelmChartV1Beta1SpecSourceRefKind {
2363
+ /** HelmRepository */
2364
+ HELM_REPOSITORY = "HelmRepository",
2365
+ /** GitRepository */
2366
+ GIT_REPOSITORY = "GitRepository",
2367
+ /** Bucket */
2368
+ BUCKET = "Bucket"
2369
+ }
2370
+ /**
2371
+ * HelmChart is the Schema for the helmcharts API.
2372
+ *
2373
+ * @schema HelmChartV1Beta2
2374
+ */
2375
+ export declare class HelmChartV1Beta2 extends ApiObject {
2376
+ /** Returns the apiVersion and kind for "HelmChartV1Beta2" */
2377
+ static GVK: GroupVersionKind;
2378
+ /**
2379
+ * Renders a Kubernetes manifest for "HelmChartV1Beta2".
2380
+ *
2381
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
2382
+ *
2383
+ * @param props Initialization props
2384
+ */
2385
+ static manifest(props?: HelmChartV1Beta2Props): any;
2386
+ /**
2387
+ * Defines a "HelmChartV1Beta2" API object
2388
+ *
2389
+ * @param scope The scope in which to define this object
2390
+ * @param id A scope-local name for the object
2391
+ * @param props Initialization props
2392
+ */
2393
+ constructor(scope: Construct, id: string, props?: HelmChartV1Beta2Props);
2394
+ /** Renders the object to Kubernetes JSON. */
2395
+ toJson(): any;
2396
+ }
2397
+ /**
2398
+ * HelmChart is the Schema for the helmcharts API.
2399
+ *
2400
+ * @schema HelmChartV1Beta2
2401
+ */
2402
+ export interface HelmChartV1Beta2Props {
2403
+ /** @schema HelmChartV1Beta2#metadata */
2404
+ metadata?: ApiObjectMetadata;
2405
+ /**
2406
+ * HelmChartSpec specifies the desired state of a Helm chart.
2407
+ *
2408
+ * @schema HelmChartV1Beta2#spec
2409
+ */
2410
+ spec?: HelmChartV1Beta2Spec;
2411
+ }
2412
+ /** Converts an object of type 'HelmChartV1Beta2Props' to JSON representation. */
2413
+ export declare function toJson_HelmChartV1Beta2Props(obj: HelmChartV1Beta2Props | undefined): Record<string, any> | undefined;
2414
+ /**
2415
+ * HelmChartSpec specifies the desired state of a Helm chart.
2416
+ *
2417
+ * @schema HelmChartV1Beta2Spec
2418
+ */
2419
+ export interface HelmChartV1Beta2Spec {
2420
+ /**
2421
+ * AccessFrom specifies an Access Control List for allowing cross-namespace references to this
2422
+ * object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
2423
+ *
2424
+ * @schema HelmChartV1Beta2Spec#accessFrom
2425
+ */
2426
+ accessFrom?: HelmChartV1Beta2SpecAccessFrom;
2427
+ /**
2428
+ * Chart is the name or path the Helm chart is available at in the SourceRef.
2429
+ *
2430
+ * @schema HelmChartV1Beta2Spec#chart
2431
+ */
2432
+ chart: string;
2433
+ /**
2434
+ * IgnoreMissingValuesFiles controls whether to silently ignore missing values files rather than
2435
+ * failing.
2436
+ *
2437
+ * @schema HelmChartV1Beta2Spec#ignoreMissingValuesFiles
2438
+ */
2439
+ ignoreMissingValuesFiles?: boolean;
2440
+ /**
2441
+ * Interval at which the HelmChart SourceRef is checked for updates. This interval is
2442
+ * approximate and may be subject to jitter to ensure efficient use of resources.
2443
+ *
2444
+ * @schema HelmChartV1Beta2Spec#interval
2445
+ */
2446
+ interval: string;
2447
+ /**
2448
+ * ReconcileStrategy determines what enables the creation of a new artifact. Valid values are
2449
+ * ('ChartVersion', 'Revision'). See the documentation of the values for an explanation on their
2450
+ * behavior. Defaults to ChartVersion when omitted.
2451
+ *
2452
+ * @default ChartVersion when omitted.
2453
+ * @schema HelmChartV1Beta2Spec#reconcileStrategy
2454
+ */
2455
+ reconcileStrategy?: HelmChartV1Beta2SpecReconcileStrategy;
2456
+ /**
2457
+ * SourceRef is the reference to the Source the chart is available at.
2458
+ *
2459
+ * @schema HelmChartV1Beta2Spec#sourceRef
2460
+ */
2461
+ sourceRef: HelmChartV1Beta2SpecSourceRef;
2462
+ /**
2463
+ * Suspend tells the controller to suspend the reconciliation of this source.
2464
+ *
2465
+ * @schema HelmChartV1Beta2Spec#suspend
2466
+ */
2467
+ suspend?: boolean;
2468
+ /**
2469
+ * ValuesFile is an alternative values file to use as the default chart values, expected to be a
2470
+ * relative path in the SourceRef. Deprecated in favor of ValuesFiles, for backwards
2471
+ * compatibility the file specified here is merged before the ValuesFiles items. Ignored when
2472
+ * omitted.
2473
+ *
2474
+ * @schema HelmChartV1Beta2Spec#valuesFile
2475
+ */
2476
+ valuesFile?: string;
2477
+ /**
2478
+ * ValuesFiles is an alternative list of values files to use as the chart values (values.yaml is
2479
+ * not included by default), expected to be a relative path in the SourceRef. Values files are
2480
+ * merged in the order of this list with the last file overriding the first. Ignored when
2481
+ * omitted.
2482
+ *
2483
+ * @schema HelmChartV1Beta2Spec#valuesFiles
2484
+ */
2485
+ valuesFiles?: string[];
2486
+ /**
2487
+ * Verify contains the secret name containing the trusted public keys used to verify the
2488
+ * signature and specifies which provider to use to check whether OCI image is authentic. This
2489
+ * field is only supported when using HelmRepository source with spec.type 'oci'. Chart
2490
+ * dependencies, which are not bundled in the umbrella chart artifact, are not verified.
2491
+ *
2492
+ * @schema HelmChartV1Beta2Spec#verify
2493
+ */
2494
+ verify?: HelmChartV1Beta2SpecVerify;
2495
+ /**
2496
+ * Version is the chart version semver expression, ignored for charts from GitRepository and
2497
+ * Bucket sources. Defaults to latest when omitted.
2498
+ *
2499
+ * @default latest when omitted.
2500
+ * @schema HelmChartV1Beta2Spec#version
2501
+ */
2502
+ version?: string;
2503
+ }
2504
+ /** Converts an object of type 'HelmChartV1Beta2Spec' to JSON representation. */
2505
+ export declare function toJson_HelmChartV1Beta2Spec(obj: HelmChartV1Beta2Spec | undefined): Record<string, any> | undefined;
2506
+ /**
2507
+ * AccessFrom specifies an Access Control List for allowing cross-namespace references to this
2508
+ * object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
2509
+ *
2510
+ * @schema HelmChartV1Beta2SpecAccessFrom
2511
+ */
2512
+ export interface HelmChartV1Beta2SpecAccessFrom {
2513
+ /**
2514
+ * NamespaceSelectors is the list of namespace selectors to which this ACL applies. Items in
2515
+ * this list are evaluated using a logical OR operation.
2516
+ *
2517
+ * @schema HelmChartV1Beta2SpecAccessFrom#namespaceSelectors
2518
+ */
2519
+ namespaceSelectors: HelmChartV1Beta2SpecAccessFromNamespaceSelectors[];
2520
+ }
2521
+ /** Converts an object of type 'HelmChartV1Beta2SpecAccessFrom' to JSON representation. */
2522
+ export declare function toJson_HelmChartV1Beta2SpecAccessFrom(obj: HelmChartV1Beta2SpecAccessFrom | undefined): Record<string, any> | undefined;
2523
+ /**
2524
+ * ReconcileStrategy determines what enables the creation of a new artifact. Valid values are
2525
+ * ('ChartVersion', 'Revision'). See the documentation of the values for an explanation on their
2526
+ * behavior. Defaults to ChartVersion when omitted.
2527
+ *
2528
+ * @default ChartVersion when omitted.
2529
+ * @schema HelmChartV1Beta2SpecReconcileStrategy
2530
+ */
2531
+ export declare enum HelmChartV1Beta2SpecReconcileStrategy {
2532
+ /** ChartVersion */
2533
+ CHART_VERSION = "ChartVersion",
2534
+ /** Revision */
2535
+ REVISION = "Revision"
2536
+ }
2537
+ /**
2538
+ * SourceRef is the reference to the Source the chart is available at.
2539
+ *
2540
+ * @schema HelmChartV1Beta2SpecSourceRef
2541
+ */
2542
+ export interface HelmChartV1Beta2SpecSourceRef {
2543
+ /**
2544
+ * APIVersion of the referent.
2545
+ *
2546
+ * @schema HelmChartV1Beta2SpecSourceRef#apiVersion
2547
+ */
2548
+ apiVersion?: string;
2549
+ /**
2550
+ * Kind of the referent, valid values are ('HelmRepository', 'GitRepository', 'Bucket').
2551
+ *
2552
+ * @schema HelmChartV1Beta2SpecSourceRef#kind
2553
+ */
2554
+ kind: HelmChartV1Beta2SpecSourceRefKind;
2555
+ /**
2556
+ * Name of the referent.
2557
+ *
2558
+ * @schema HelmChartV1Beta2SpecSourceRef#name
2559
+ */
2560
+ name: string;
2561
+ }
2562
+ /** Converts an object of type 'HelmChartV1Beta2SpecSourceRef' to JSON representation. */
2563
+ export declare function toJson_HelmChartV1Beta2SpecSourceRef(obj: HelmChartV1Beta2SpecSourceRef | undefined): Record<string, any> | undefined;
2564
+ /**
2565
+ * Verify contains the secret name containing the trusted public keys used to verify the signature
2566
+ * and specifies which provider to use to check whether OCI image is authentic. This field is only
2567
+ * supported when using HelmRepository source with spec.type 'oci'. Chart dependencies, which are
2568
+ * not bundled in the umbrella chart artifact, are not verified.
2569
+ *
2570
+ * @schema HelmChartV1Beta2SpecVerify
2571
+ */
2572
+ export interface HelmChartV1Beta2SpecVerify {
2573
+ /**
2574
+ * MatchOIDCIdentity specifies the identity matching criteria to use while verifying an OCI
2575
+ * artifact which was signed using Cosign keyless signing. The artifact's identity is deemed to
2576
+ * be verified if any of the specified matchers match against the identity.
2577
+ *
2578
+ * @schema HelmChartV1Beta2SpecVerify#matchOIDCIdentity
2579
+ */
2580
+ matchOidcIdentity?: HelmChartV1Beta2SpecVerifyMatchOidcIdentity[];
2581
+ /**
2582
+ * Provider specifies the technology used to sign the OCI Artifact.
2583
+ *
2584
+ * @schema HelmChartV1Beta2SpecVerify#provider
2585
+ */
2586
+ provider: HelmChartV1Beta2SpecVerifyProvider;
2587
+ /**
2588
+ * SecretRef specifies the Kubernetes Secret containing the trusted public keys.
2589
+ *
2590
+ * @schema HelmChartV1Beta2SpecVerify#secretRef
2591
+ */
2592
+ secretRef?: HelmChartV1Beta2SpecVerifySecretRef;
2593
+ }
2594
+ /** Converts an object of type 'HelmChartV1Beta2SpecVerify' to JSON representation. */
2595
+ export declare function toJson_HelmChartV1Beta2SpecVerify(obj: HelmChartV1Beta2SpecVerify | undefined): Record<string, any> | undefined;
2596
+ /**
2597
+ * NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels
2598
+ * matches all namespaces in a cluster.
2599
+ *
2600
+ * @schema HelmChartV1Beta2SpecAccessFromNamespaceSelectors
2601
+ */
2602
+ export interface HelmChartV1Beta2SpecAccessFromNamespaceSelectors {
2603
+ /**
2604
+ * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is
2605
+ * equivalent to an element of matchExpressions, whose key field is "key", the operator is "In",
2606
+ * and the values array contains only "value". The requirements are ANDed.
2607
+ *
2608
+ * @schema HelmChartV1Beta2SpecAccessFromNamespaceSelectors#matchLabels
2609
+ */
2610
+ matchLabels?: {
2611
+ [key: string]: string;
2612
+ };
2613
+ }
2614
+ /**
2615
+ * Converts an object of type 'HelmChartV1Beta2SpecAccessFromNamespaceSelectors' to JSON
2616
+ * representation.
2617
+ */
2618
+ export declare function toJson_HelmChartV1Beta2SpecAccessFromNamespaceSelectors(obj: HelmChartV1Beta2SpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
2619
+ /**
2620
+ * Kind of the referent, valid values are ('HelmRepository', 'GitRepository', 'Bucket').
2621
+ *
2622
+ * @schema HelmChartV1Beta2SpecSourceRefKind
2623
+ */
2624
+ export declare enum HelmChartV1Beta2SpecSourceRefKind {
2625
+ /** HelmRepository */
2626
+ HELM_REPOSITORY = "HelmRepository",
2627
+ /** GitRepository */
2628
+ GIT_REPOSITORY = "GitRepository",
2629
+ /** Bucket */
2630
+ BUCKET = "Bucket"
2631
+ }
2632
+ /**
2633
+ * OIDCIdentityMatch specifies options for verifying the certificate identity, i.e. the issuer and
2634
+ * the subject of the certificate.
2635
+ *
2636
+ * @schema HelmChartV1Beta2SpecVerifyMatchOidcIdentity
2637
+ */
2638
+ export interface HelmChartV1Beta2SpecVerifyMatchOidcIdentity {
2639
+ /**
2640
+ * Issuer specifies the regex pattern to match against to verify the OIDC issuer in the Fulcio
2641
+ * certificate. The pattern must be a valid Go regular expression.
2642
+ *
2643
+ * @schema HelmChartV1Beta2SpecVerifyMatchOidcIdentity#issuer
2644
+ */
2645
+ issuer: string;
2646
+ /**
2647
+ * Subject specifies the regex pattern to match against to verify the identity subject in the
2648
+ * Fulcio certificate. The pattern must be a valid Go regular expression.
2649
+ *
2650
+ * @schema HelmChartV1Beta2SpecVerifyMatchOidcIdentity#subject
2651
+ */
2652
+ subject: string;
2653
+ }
2654
+ /** Converts an object of type 'HelmChartV1Beta2SpecVerifyMatchOidcIdentity' to JSON representation. */
2655
+ export declare function toJson_HelmChartV1Beta2SpecVerifyMatchOidcIdentity(obj: HelmChartV1Beta2SpecVerifyMatchOidcIdentity | undefined): Record<string, any> | undefined;
2656
+ /**
2657
+ * Provider specifies the technology used to sign the OCI Artifact.
2658
+ *
2659
+ * @schema HelmChartV1Beta2SpecVerifyProvider
2660
+ */
2661
+ export declare enum HelmChartV1Beta2SpecVerifyProvider {
2662
+ /** Cosign */
2663
+ COSIGN = "cosign",
2664
+ /** Notation */
2665
+ NOTATION = "notation"
2666
+ }
2667
+ /**
2668
+ * SecretRef specifies the Kubernetes Secret containing the trusted public keys.
2669
+ *
2670
+ * @schema HelmChartV1Beta2SpecVerifySecretRef
2671
+ */
2672
+ export interface HelmChartV1Beta2SpecVerifySecretRef {
2673
+ /**
2674
+ * Name of the referent.
2675
+ *
2676
+ * @schema HelmChartV1Beta2SpecVerifySecretRef#name
2677
+ */
2678
+ name: string;
2679
+ }
2680
+ /** Converts an object of type 'HelmChartV1Beta2SpecVerifySecretRef' to JSON representation. */
2681
+ export declare function toJson_HelmChartV1Beta2SpecVerifySecretRef(obj: HelmChartV1Beta2SpecVerifySecretRef | undefined): Record<string, any> | undefined;
2682
+ /**
2683
+ * HelmRepository is the Schema for the helmrepositories API.
2684
+ *
2685
+ * @schema HelmRepository
2686
+ */
2687
+ export declare class HelmRepository extends ApiObject {
2688
+ /** Returns the apiVersion and kind for "HelmRepository" */
2689
+ static GVK: GroupVersionKind;
2690
+ /**
2691
+ * Renders a Kubernetes manifest for "HelmRepository".
2692
+ *
2693
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
2694
+ *
2695
+ * @param props Initialization props
2696
+ */
2697
+ static manifest(props?: HelmRepositoryProps): any;
2698
+ /**
2699
+ * Defines a "HelmRepository" API object
2700
+ *
2701
+ * @param scope The scope in which to define this object
2702
+ * @param id A scope-local name for the object
2703
+ * @param props Initialization props
2704
+ */
2705
+ constructor(scope: Construct, id: string, props?: HelmRepositoryProps);
2706
+ /** Renders the object to Kubernetes JSON. */
2707
+ toJson(): any;
2708
+ }
2709
+ /**
2710
+ * HelmRepository is the Schema for the helmrepositories API.
2711
+ *
2712
+ * @schema HelmRepository
2713
+ */
2714
+ export interface HelmRepositoryProps {
2715
+ /** @schema HelmRepository#metadata */
2716
+ metadata?: ApiObjectMetadata;
2717
+ /**
2718
+ * HelmRepositorySpec specifies the required configuration to produce an Artifact for a Helm
2719
+ * repository index YAML.
2720
+ *
2721
+ * @schema HelmRepository#spec
2722
+ */
2723
+ spec?: HelmRepositorySpec;
2724
+ }
2725
+ /** Converts an object of type 'HelmRepositoryProps' to JSON representation. */
2726
+ export declare function toJson_HelmRepositoryProps(obj: HelmRepositoryProps | undefined): Record<string, any> | undefined;
2727
+ /**
2728
+ * HelmRepositorySpec specifies the required configuration to produce an Artifact for a Helm
2729
+ * repository index YAML.
2730
+ *
2731
+ * @schema HelmRepositorySpec
2732
+ */
2733
+ export interface HelmRepositorySpec {
2734
+ /**
2735
+ * AccessFrom specifies an Access Control List for allowing cross-namespace references to this
2736
+ * object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
2737
+ *
2738
+ * @schema HelmRepositorySpec#accessFrom
2739
+ */
2740
+ accessFrom?: HelmRepositorySpecAccessFrom;
2741
+ /**
2742
+ * CertSecretRef can be given the name of a Secret containing either or both of
2743
+ *
2744
+ * - A PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`);
2745
+ * - A PEM-encoded CA certificate (`ca.crt`)
2746
+ *
2747
+ * And whichever are supplied, will be used for connecting to the registry. The client cert and
2748
+ * key are useful if you are authenticating with a certificate; the CA cert is useful if you are
2749
+ * using a self-signed server certificate. The Secret must be of type `Opaque` or
2750
+ * `kubernetes.io/tls`.
2751
+ *
2752
+ * It takes precedence over the values specified in the Secret referred to by `.spec.secretRef`.
2753
+ *
2754
+ * @schema HelmRepositorySpec#certSecretRef
2755
+ */
2756
+ certSecretRef?: HelmRepositorySpecCertSecretRef;
2757
+ /**
2758
+ * Insecure allows connecting to a non-TLS HTTP container registry. This field is only taken
2759
+ * into account if the .spec.type field is set to 'oci'.
2760
+ *
2761
+ * @schema HelmRepositorySpec#insecure
2762
+ */
2763
+ insecure?: boolean;
2764
+ /**
2765
+ * Interval at which the HelmRepository URL is checked for updates. This interval is approximate
2766
+ * and may be subject to jitter to ensure efficient use of resources.
2767
+ *
2768
+ * @schema HelmRepositorySpec#interval
2769
+ */
2770
+ interval?: string;
2771
+ /**
2772
+ * PassCredentials allows the credentials from the SecretRef to be passed on to a host that does
2773
+ * not match the host as defined in URL. This may be required if the host of the advertised
2774
+ * chart URLs in the index differ from the defined URL. Enabling this should be done with
2775
+ * caution, as it can potentially result in credentials getting stolen in a MITM-attack.
2776
+ *
2777
+ * @schema HelmRepositorySpec#passCredentials
2778
+ */
2779
+ passCredentials?: boolean;
2780
+ /**
2781
+ * Provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'. This field is
2782
+ * optional, and only taken into account if the .spec.type field is set to 'oci'. When not
2783
+ * specified, defaults to 'generic'.
2784
+ *
2785
+ * @schema HelmRepositorySpec#provider
2786
+ */
2787
+ provider?: HelmRepositorySpecProvider;
2788
+ /**
2789
+ * SecretRef specifies the Secret containing authentication credentials for the HelmRepository.
2790
+ * For HTTP/S basic auth the secret must contain 'username' and 'password' fields. Support for
2791
+ * TLS auth using the 'certFile' and 'keyFile', and/or 'caFile' keys is deprecated. Please use
2792
+ * `.spec.certSecretRef` instead.
2793
+ *
2794
+ * @schema HelmRepositorySpec#secretRef
2795
+ */
2796
+ secretRef?: HelmRepositorySpecSecretRef;
2797
+ /**
2798
+ * Suspend tells the controller to suspend the reconciliation of this HelmRepository.
2799
+ *
2800
+ * @schema HelmRepositorySpec#suspend
2801
+ */
2802
+ suspend?: boolean;
2803
+ /**
2804
+ * Timeout is used for the index fetch operation for an HTTPS helm repository, and for remote
2805
+ * OCI Repository operations like pulling for an OCI helm chart by the associated HelmChart. Its
2806
+ * default value is 60s.
2807
+ *
2808
+ * @schema HelmRepositorySpec#timeout
2809
+ */
2810
+ timeout?: string;
2811
+ /**
2812
+ * Type of the HelmRepository. When this field is set to "oci", the URL field value must be
2813
+ * prefixed with "oci://".
2814
+ *
2815
+ * @schema HelmRepositorySpec#type
2816
+ */
2817
+ type?: HelmRepositorySpecType;
2818
+ /**
2819
+ * URL of the Helm repository, a valid URL contains at least a protocol and host.
2820
+ *
2821
+ * @schema HelmRepositorySpec#url
2822
+ */
2823
+ url: string;
2824
+ }
2825
+ /** Converts an object of type 'HelmRepositorySpec' to JSON representation. */
2826
+ export declare function toJson_HelmRepositorySpec(obj: HelmRepositorySpec | undefined): Record<string, any> | undefined;
2827
+ /**
2828
+ * AccessFrom specifies an Access Control List for allowing cross-namespace references to this
2829
+ * object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
2830
+ *
2831
+ * @schema HelmRepositorySpecAccessFrom
2832
+ */
2833
+ export interface HelmRepositorySpecAccessFrom {
2834
+ /**
2835
+ * NamespaceSelectors is the list of namespace selectors to which this ACL applies. Items in
2836
+ * this list are evaluated using a logical OR operation.
2837
+ *
2838
+ * @schema HelmRepositorySpecAccessFrom#namespaceSelectors
2839
+ */
2840
+ namespaceSelectors: HelmRepositorySpecAccessFromNamespaceSelectors[];
2841
+ }
2842
+ /** Converts an object of type 'HelmRepositorySpecAccessFrom' to JSON representation. */
2843
+ export declare function toJson_HelmRepositorySpecAccessFrom(obj: HelmRepositorySpecAccessFrom | undefined): Record<string, any> | undefined;
2844
+ /**
2845
+ * CertSecretRef can be given the name of a Secret containing either or both of
2846
+ *
2847
+ * - A PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`);
2848
+ * - A PEM-encoded CA certificate (`ca.crt`)
2849
+ *
2850
+ * And whichever are supplied, will be used for connecting to the registry. The client cert and key
2851
+ * are useful if you are authenticating with a certificate; the CA cert is useful if you are using a
2852
+ * self-signed server certificate. The Secret must be of type `Opaque` or `kubernetes.io/tls`.
2853
+ *
2854
+ * It takes precedence over the values specified in the Secret referred to by `.spec.secretRef`.
2855
+ *
2856
+ * @schema HelmRepositorySpecCertSecretRef
2857
+ */
2858
+ export interface HelmRepositorySpecCertSecretRef {
2859
+ /**
2860
+ * Name of the referent.
2861
+ *
2862
+ * @schema HelmRepositorySpecCertSecretRef#name
2863
+ */
2864
+ name: string;
2865
+ }
2866
+ /** Converts an object of type 'HelmRepositorySpecCertSecretRef' to JSON representation. */
2867
+ export declare function toJson_HelmRepositorySpecCertSecretRef(obj: HelmRepositorySpecCertSecretRef | undefined): Record<string, any> | undefined;
2868
+ /**
2869
+ * Provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'. This field is
2870
+ * optional, and only taken into account if the .spec.type field is set to 'oci'. When not
2871
+ * specified, defaults to 'generic'.
2872
+ *
2873
+ * @schema HelmRepositorySpecProvider
2874
+ */
2875
+ export declare enum HelmRepositorySpecProvider {
2876
+ /** Generic */
2877
+ GENERIC = "generic",
2878
+ /** Aws */
2879
+ AWS = "aws",
2880
+ /** Azure */
2881
+ AZURE = "azure",
2882
+ /** Gcp */
2883
+ GCP = "gcp"
2884
+ }
2885
+ /**
2886
+ * SecretRef specifies the Secret containing authentication credentials for the HelmRepository. For
2887
+ * HTTP/S basic auth the secret must contain 'username' and 'password' fields. Support for TLS auth
2888
+ * using the 'certFile' and 'keyFile', and/or 'caFile' keys is deprecated. Please use
2889
+ * `.spec.certSecretRef` instead.
2890
+ *
2891
+ * @schema HelmRepositorySpecSecretRef
2892
+ */
2893
+ export interface HelmRepositorySpecSecretRef {
2894
+ /**
2895
+ * Name of the referent.
2896
+ *
2897
+ * @schema HelmRepositorySpecSecretRef#name
2898
+ */
2899
+ name: string;
2900
+ }
2901
+ /** Converts an object of type 'HelmRepositorySpecSecretRef' to JSON representation. */
2902
+ export declare function toJson_HelmRepositorySpecSecretRef(obj: HelmRepositorySpecSecretRef | undefined): Record<string, any> | undefined;
2903
+ /**
2904
+ * Type of the HelmRepository. When this field is set to "oci", the URL field value must be prefixed
2905
+ * with "oci://".
2906
+ *
2907
+ * @schema HelmRepositorySpecType
2908
+ */
2909
+ export declare enum HelmRepositorySpecType {
2910
+ /** Default */
2911
+ DEFAULT = "default",
2912
+ /** Oci */
2913
+ OCI = "oci"
2914
+ }
2915
+ /**
2916
+ * NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels
2917
+ * matches all namespaces in a cluster.
2918
+ *
2919
+ * @schema HelmRepositorySpecAccessFromNamespaceSelectors
2920
+ */
2921
+ export interface HelmRepositorySpecAccessFromNamespaceSelectors {
2922
+ /**
2923
+ * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is
2924
+ * equivalent to an element of matchExpressions, whose key field is "key", the operator is "In",
2925
+ * and the values array contains only "value". The requirements are ANDed.
2926
+ *
2927
+ * @schema HelmRepositorySpecAccessFromNamespaceSelectors#matchLabels
2928
+ */
2929
+ matchLabels?: {
2930
+ [key: string]: string;
2931
+ };
2932
+ }
2933
+ /**
2934
+ * Converts an object of type 'HelmRepositorySpecAccessFromNamespaceSelectors' to JSON
2935
+ * representation.
2936
+ */
2937
+ export declare function toJson_HelmRepositorySpecAccessFromNamespaceSelectors(obj: HelmRepositorySpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
2938
+ /**
2939
+ * HelmRepository is the Schema for the helmrepositories API
2940
+ *
2941
+ * @schema HelmRepositoryV1Beta1
2942
+ */
2943
+ export declare class HelmRepositoryV1Beta1 extends ApiObject {
2944
+ /** Returns the apiVersion and kind for "HelmRepositoryV1Beta1" */
2945
+ static GVK: GroupVersionKind;
2946
+ /**
2947
+ * Renders a Kubernetes manifest for "HelmRepositoryV1Beta1".
2948
+ *
2949
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
2950
+ *
2951
+ * @param props Initialization props
2952
+ */
2953
+ static manifest(props?: HelmRepositoryV1Beta1Props): any;
2954
+ /**
2955
+ * Defines a "HelmRepositoryV1Beta1" API object
2956
+ *
2957
+ * @param scope The scope in which to define this object
2958
+ * @param id A scope-local name for the object
2959
+ * @param props Initialization props
2960
+ */
2961
+ constructor(scope: Construct, id: string, props?: HelmRepositoryV1Beta1Props);
2962
+ /** Renders the object to Kubernetes JSON. */
2963
+ toJson(): any;
2964
+ }
2965
+ /**
2966
+ * HelmRepository is the Schema for the helmrepositories API
2967
+ *
2968
+ * @schema HelmRepositoryV1Beta1
2969
+ */
2970
+ export interface HelmRepositoryV1Beta1Props {
2971
+ /** @schema HelmRepositoryV1Beta1#metadata */
2972
+ metadata?: ApiObjectMetadata;
2973
+ /**
2974
+ * HelmRepositorySpec defines the reference to a Helm repository.
2975
+ *
2976
+ * @schema HelmRepositoryV1Beta1#spec
2977
+ */
2978
+ spec?: HelmRepositoryV1Beta1Spec;
2979
+ }
2980
+ /** Converts an object of type 'HelmRepositoryV1Beta1Props' to JSON representation. */
2981
+ export declare function toJson_HelmRepositoryV1Beta1Props(obj: HelmRepositoryV1Beta1Props | undefined): Record<string, any> | undefined;
2982
+ /**
2983
+ * HelmRepositorySpec defines the reference to a Helm repository.
2984
+ *
2985
+ * @schema HelmRepositoryV1Beta1Spec
2986
+ */
2987
+ export interface HelmRepositoryV1Beta1Spec {
2988
+ /**
2989
+ * AccessFrom defines an Access Control List for allowing cross-namespace references to this
2990
+ * object.
2991
+ *
2992
+ * @schema HelmRepositoryV1Beta1Spec#accessFrom
2993
+ */
2994
+ accessFrom?: HelmRepositoryV1Beta1SpecAccessFrom;
2995
+ /**
2996
+ * The interval at which to check the upstream for updates.
2997
+ *
2998
+ * @schema HelmRepositoryV1Beta1Spec#interval
2999
+ */
3000
+ interval: string;
3001
+ /**
3002
+ * PassCredentials allows the credentials from the SecretRef to be passed on to a host that does
3003
+ * not match the host as defined in URL. This may be required if the host of the advertised
3004
+ * chart URLs in the index differ from the defined URL. Enabling this should be done with
3005
+ * caution, as it can potentially result in credentials getting stolen in a MITM-attack.
3006
+ *
3007
+ * @schema HelmRepositoryV1Beta1Spec#passCredentials
3008
+ */
3009
+ passCredentials?: boolean;
3010
+ /**
3011
+ * The name of the secret containing authentication credentials for the Helm repository. For
3012
+ * HTTP/S basic auth the secret must contain username and password fields. For TLS the secret
3013
+ * must contain a certFile and keyFile, and/or caFile fields.
3014
+ *
3015
+ * @schema HelmRepositoryV1Beta1Spec#secretRef
3016
+ */
3017
+ secretRef?: HelmRepositoryV1Beta1SpecSecretRef;
3018
+ /**
3019
+ * This flag tells the controller to suspend the reconciliation of this source.
3020
+ *
3021
+ * @schema HelmRepositoryV1Beta1Spec#suspend
3022
+ */
3023
+ suspend?: boolean;
3024
+ /**
3025
+ * The timeout of index downloading, defaults to 60s.
3026
+ *
3027
+ * @schema HelmRepositoryV1Beta1Spec#timeout
3028
+ */
3029
+ timeout?: string;
3030
+ /**
3031
+ * The Helm repository URL, a valid URL contains at least a protocol and host.
3032
+ *
3033
+ * @schema HelmRepositoryV1Beta1Spec#url
3034
+ */
3035
+ url: string;
3036
+ }
3037
+ /** Converts an object of type 'HelmRepositoryV1Beta1Spec' to JSON representation. */
3038
+ export declare function toJson_HelmRepositoryV1Beta1Spec(obj: HelmRepositoryV1Beta1Spec | undefined): Record<string, any> | undefined;
3039
+ /**
3040
+ * AccessFrom defines an Access Control List for allowing cross-namespace references to this object.
3041
+ *
3042
+ * @schema HelmRepositoryV1Beta1SpecAccessFrom
3043
+ */
3044
+ export interface HelmRepositoryV1Beta1SpecAccessFrom {
3045
+ /**
3046
+ * NamespaceSelectors is the list of namespace selectors to which this ACL applies. Items in
3047
+ * this list are evaluated using a logical OR operation.
3048
+ *
3049
+ * @schema HelmRepositoryV1Beta1SpecAccessFrom#namespaceSelectors
3050
+ */
3051
+ namespaceSelectors: HelmRepositoryV1Beta1SpecAccessFromNamespaceSelectors[];
3052
+ }
3053
+ /** Converts an object of type 'HelmRepositoryV1Beta1SpecAccessFrom' to JSON representation. */
3054
+ export declare function toJson_HelmRepositoryV1Beta1SpecAccessFrom(obj: HelmRepositoryV1Beta1SpecAccessFrom | undefined): Record<string, any> | undefined;
3055
+ /**
3056
+ * The name of the secret containing authentication credentials for the Helm repository. For HTTP/S
3057
+ * basic auth the secret must contain username and password fields. For TLS the secret must contain
3058
+ * a certFile and keyFile, and/or caFile fields.
3059
+ *
3060
+ * @schema HelmRepositoryV1Beta1SpecSecretRef
3061
+ */
3062
+ export interface HelmRepositoryV1Beta1SpecSecretRef {
3063
+ /**
3064
+ * Name of the referent.
3065
+ *
3066
+ * @schema HelmRepositoryV1Beta1SpecSecretRef#name
3067
+ */
3068
+ name: string;
3069
+ }
3070
+ /** Converts an object of type 'HelmRepositoryV1Beta1SpecSecretRef' to JSON representation. */
3071
+ export declare function toJson_HelmRepositoryV1Beta1SpecSecretRef(obj: HelmRepositoryV1Beta1SpecSecretRef | undefined): Record<string, any> | undefined;
3072
+ /**
3073
+ * NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels
3074
+ * matches all namespaces in a cluster.
3075
+ *
3076
+ * @schema HelmRepositoryV1Beta1SpecAccessFromNamespaceSelectors
3077
+ */
3078
+ export interface HelmRepositoryV1Beta1SpecAccessFromNamespaceSelectors {
3079
+ /**
3080
+ * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is
3081
+ * equivalent to an element of matchExpressions, whose key field is "key", the operator is "In",
3082
+ * and the values array contains only "value". The requirements are ANDed.
3083
+ *
3084
+ * @schema HelmRepositoryV1Beta1SpecAccessFromNamespaceSelectors#matchLabels
3085
+ */
3086
+ matchLabels?: {
3087
+ [key: string]: string;
3088
+ };
3089
+ }
3090
+ /**
3091
+ * Converts an object of type 'HelmRepositoryV1Beta1SpecAccessFromNamespaceSelectors' to JSON
3092
+ * representation.
3093
+ */
3094
+ export declare function toJson_HelmRepositoryV1Beta1SpecAccessFromNamespaceSelectors(obj: HelmRepositoryV1Beta1SpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
3095
+ /**
3096
+ * HelmRepository is the Schema for the helmrepositories API.
3097
+ *
3098
+ * @schema HelmRepositoryV1Beta2
3099
+ */
3100
+ export declare class HelmRepositoryV1Beta2 extends ApiObject {
3101
+ /** Returns the apiVersion and kind for "HelmRepositoryV1Beta2" */
3102
+ static GVK: GroupVersionKind;
3103
+ /**
3104
+ * Renders a Kubernetes manifest for "HelmRepositoryV1Beta2".
3105
+ *
3106
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
3107
+ *
3108
+ * @param props Initialization props
3109
+ */
3110
+ static manifest(props?: HelmRepositoryV1Beta2Props): any;
3111
+ /**
3112
+ * Defines a "HelmRepositoryV1Beta2" API object
3113
+ *
3114
+ * @param scope The scope in which to define this object
3115
+ * @param id A scope-local name for the object
3116
+ * @param props Initialization props
3117
+ */
3118
+ constructor(scope: Construct, id: string, props?: HelmRepositoryV1Beta2Props);
3119
+ /** Renders the object to Kubernetes JSON. */
3120
+ toJson(): any;
3121
+ }
3122
+ /**
3123
+ * HelmRepository is the Schema for the helmrepositories API.
3124
+ *
3125
+ * @schema HelmRepositoryV1Beta2
3126
+ */
3127
+ export interface HelmRepositoryV1Beta2Props {
3128
+ /** @schema HelmRepositoryV1Beta2#metadata */
3129
+ metadata?: ApiObjectMetadata;
3130
+ /**
3131
+ * HelmRepositorySpec specifies the required configuration to produce an Artifact for a Helm
3132
+ * repository index YAML.
3133
+ *
3134
+ * @schema HelmRepositoryV1Beta2#spec
3135
+ */
3136
+ spec?: HelmRepositoryV1Beta2Spec;
3137
+ }
3138
+ /** Converts an object of type 'HelmRepositoryV1Beta2Props' to JSON representation. */
3139
+ export declare function toJson_HelmRepositoryV1Beta2Props(obj: HelmRepositoryV1Beta2Props | undefined): Record<string, any> | undefined;
3140
+ /**
3141
+ * HelmRepositorySpec specifies the required configuration to produce an Artifact for a Helm
3142
+ * repository index YAML.
3143
+ *
3144
+ * @schema HelmRepositoryV1Beta2Spec
3145
+ */
3146
+ export interface HelmRepositoryV1Beta2Spec {
3147
+ /**
3148
+ * AccessFrom specifies an Access Control List for allowing cross-namespace references to this
3149
+ * object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
3150
+ *
3151
+ * @schema HelmRepositoryV1Beta2Spec#accessFrom
3152
+ */
3153
+ accessFrom?: HelmRepositoryV1Beta2SpecAccessFrom;
3154
+ /**
3155
+ * CertSecretRef can be given the name of a Secret containing either or both of
3156
+ *
3157
+ * - A PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`);
3158
+ * - A PEM-encoded CA certificate (`ca.crt`)
3159
+ *
3160
+ * And whichever are supplied, will be used for connecting to the registry. The client cert and
3161
+ * key are useful if you are authenticating with a certificate; the CA cert is useful if you are
3162
+ * using a self-signed server certificate. The Secret must be of type `Opaque` or
3163
+ * `kubernetes.io/tls`.
3164
+ *
3165
+ * It takes precedence over the values specified in the Secret referred to by `.spec.secretRef`.
3166
+ *
3167
+ * @schema HelmRepositoryV1Beta2Spec#certSecretRef
3168
+ */
3169
+ certSecretRef?: HelmRepositoryV1Beta2SpecCertSecretRef;
3170
+ /**
3171
+ * Insecure allows connecting to a non-TLS HTTP container registry. This field is only taken
3172
+ * into account if the .spec.type field is set to 'oci'.
3173
+ *
3174
+ * @schema HelmRepositoryV1Beta2Spec#insecure
3175
+ */
3176
+ insecure?: boolean;
3177
+ /**
3178
+ * Interval at which the HelmRepository URL is checked for updates. This interval is approximate
3179
+ * and may be subject to jitter to ensure efficient use of resources.
3180
+ *
3181
+ * @schema HelmRepositoryV1Beta2Spec#interval
3182
+ */
3183
+ interval?: string;
3184
+ /**
3185
+ * PassCredentials allows the credentials from the SecretRef to be passed on to a host that does
3186
+ * not match the host as defined in URL. This may be required if the host of the advertised
3187
+ * chart URLs in the index differ from the defined URL. Enabling this should be done with
3188
+ * caution, as it can potentially result in credentials getting stolen in a MITM-attack.
3189
+ *
3190
+ * @schema HelmRepositoryV1Beta2Spec#passCredentials
3191
+ */
3192
+ passCredentials?: boolean;
3193
+ /**
3194
+ * Provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'. This field is
3195
+ * optional, and only taken into account if the .spec.type field is set to 'oci'. When not
3196
+ * specified, defaults to 'generic'.
3197
+ *
3198
+ * @schema HelmRepositoryV1Beta2Spec#provider
3199
+ */
3200
+ provider?: HelmRepositoryV1Beta2SpecProvider;
3201
+ /**
3202
+ * SecretRef specifies the Secret containing authentication credentials for the HelmRepository.
3203
+ * For HTTP/S basic auth the secret must contain 'username' and 'password' fields. Support for
3204
+ * TLS auth using the 'certFile' and 'keyFile', and/or 'caFile' keys is deprecated. Please use
3205
+ * `.spec.certSecretRef` instead.
3206
+ *
3207
+ * @schema HelmRepositoryV1Beta2Spec#secretRef
3208
+ */
3209
+ secretRef?: HelmRepositoryV1Beta2SpecSecretRef;
3210
+ /**
3211
+ * Suspend tells the controller to suspend the reconciliation of this HelmRepository.
3212
+ *
3213
+ * @schema HelmRepositoryV1Beta2Spec#suspend
3214
+ */
3215
+ suspend?: boolean;
3216
+ /**
3217
+ * Timeout is used for the index fetch operation for an HTTPS helm repository, and for remote
3218
+ * OCI Repository operations like pulling for an OCI helm chart by the associated HelmChart. Its
3219
+ * default value is 60s.
3220
+ *
3221
+ * @schema HelmRepositoryV1Beta2Spec#timeout
3222
+ */
3223
+ timeout?: string;
3224
+ /**
3225
+ * Type of the HelmRepository. When this field is set to "oci", the URL field value must be
3226
+ * prefixed with "oci://".
3227
+ *
3228
+ * @schema HelmRepositoryV1Beta2Spec#type
3229
+ */
3230
+ type?: HelmRepositoryV1Beta2SpecType;
3231
+ /**
3232
+ * URL of the Helm repository, a valid URL contains at least a protocol and host.
3233
+ *
3234
+ * @schema HelmRepositoryV1Beta2Spec#url
3235
+ */
3236
+ url: string;
3237
+ }
3238
+ /** Converts an object of type 'HelmRepositoryV1Beta2Spec' to JSON representation. */
3239
+ export declare function toJson_HelmRepositoryV1Beta2Spec(obj: HelmRepositoryV1Beta2Spec | undefined): Record<string, any> | undefined;
3240
+ /**
3241
+ * AccessFrom specifies an Access Control List for allowing cross-namespace references to this
3242
+ * object. NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
3243
+ *
3244
+ * @schema HelmRepositoryV1Beta2SpecAccessFrom
3245
+ */
3246
+ export interface HelmRepositoryV1Beta2SpecAccessFrom {
3247
+ /**
3248
+ * NamespaceSelectors is the list of namespace selectors to which this ACL applies. Items in
3249
+ * this list are evaluated using a logical OR operation.
3250
+ *
3251
+ * @schema HelmRepositoryV1Beta2SpecAccessFrom#namespaceSelectors
3252
+ */
3253
+ namespaceSelectors: HelmRepositoryV1Beta2SpecAccessFromNamespaceSelectors[];
3254
+ }
3255
+ /** Converts an object of type 'HelmRepositoryV1Beta2SpecAccessFrom' to JSON representation. */
3256
+ export declare function toJson_HelmRepositoryV1Beta2SpecAccessFrom(obj: HelmRepositoryV1Beta2SpecAccessFrom | undefined): Record<string, any> | undefined;
3257
+ /**
3258
+ * CertSecretRef can be given the name of a Secret containing either or both of
3259
+ *
3260
+ * - A PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`);
3261
+ * - A PEM-encoded CA certificate (`ca.crt`)
3262
+ *
3263
+ * And whichever are supplied, will be used for connecting to the registry. The client cert and key
3264
+ * are useful if you are authenticating with a certificate; the CA cert is useful if you are using a
3265
+ * self-signed server certificate. The Secret must be of type `Opaque` or `kubernetes.io/tls`.
3266
+ *
3267
+ * It takes precedence over the values specified in the Secret referred to by `.spec.secretRef`.
3268
+ *
3269
+ * @schema HelmRepositoryV1Beta2SpecCertSecretRef
3270
+ */
3271
+ export interface HelmRepositoryV1Beta2SpecCertSecretRef {
3272
+ /**
3273
+ * Name of the referent.
3274
+ *
3275
+ * @schema HelmRepositoryV1Beta2SpecCertSecretRef#name
3276
+ */
3277
+ name: string;
3278
+ }
3279
+ /** Converts an object of type 'HelmRepositoryV1Beta2SpecCertSecretRef' to JSON representation. */
3280
+ export declare function toJson_HelmRepositoryV1Beta2SpecCertSecretRef(obj: HelmRepositoryV1Beta2SpecCertSecretRef | undefined): Record<string, any> | undefined;
3281
+ /**
3282
+ * Provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'. This field is
3283
+ * optional, and only taken into account if the .spec.type field is set to 'oci'. When not
3284
+ * specified, defaults to 'generic'.
3285
+ *
3286
+ * @schema HelmRepositoryV1Beta2SpecProvider
3287
+ */
3288
+ export declare enum HelmRepositoryV1Beta2SpecProvider {
3289
+ /** Generic */
3290
+ GENERIC = "generic",
3291
+ /** Aws */
3292
+ AWS = "aws",
3293
+ /** Azure */
3294
+ AZURE = "azure",
3295
+ /** Gcp */
3296
+ GCP = "gcp"
3297
+ }
3298
+ /**
3299
+ * SecretRef specifies the Secret containing authentication credentials for the HelmRepository. For
3300
+ * HTTP/S basic auth the secret must contain 'username' and 'password' fields. Support for TLS auth
3301
+ * using the 'certFile' and 'keyFile', and/or 'caFile' keys is deprecated. Please use
3302
+ * `.spec.certSecretRef` instead.
3303
+ *
3304
+ * @schema HelmRepositoryV1Beta2SpecSecretRef
3305
+ */
3306
+ export interface HelmRepositoryV1Beta2SpecSecretRef {
3307
+ /**
3308
+ * Name of the referent.
3309
+ *
3310
+ * @schema HelmRepositoryV1Beta2SpecSecretRef#name
3311
+ */
3312
+ name: string;
3313
+ }
3314
+ /** Converts an object of type 'HelmRepositoryV1Beta2SpecSecretRef' to JSON representation. */
3315
+ export declare function toJson_HelmRepositoryV1Beta2SpecSecretRef(obj: HelmRepositoryV1Beta2SpecSecretRef | undefined): Record<string, any> | undefined;
3316
+ /**
3317
+ * Type of the HelmRepository. When this field is set to "oci", the URL field value must be prefixed
3318
+ * with "oci://".
3319
+ *
3320
+ * @schema HelmRepositoryV1Beta2SpecType
3321
+ */
3322
+ export declare enum HelmRepositoryV1Beta2SpecType {
3323
+ /** Default */
3324
+ DEFAULT = "default",
3325
+ /** Oci */
3326
+ OCI = "oci"
3327
+ }
3328
+ /**
3329
+ * NamespaceSelector selects the namespaces to which this ACL applies. An empty map of MatchLabels
3330
+ * matches all namespaces in a cluster.
3331
+ *
3332
+ * @schema HelmRepositoryV1Beta2SpecAccessFromNamespaceSelectors
3333
+ */
3334
+ export interface HelmRepositoryV1Beta2SpecAccessFromNamespaceSelectors {
3335
+ /**
3336
+ * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is
3337
+ * equivalent to an element of matchExpressions, whose key field is "key", the operator is "In",
3338
+ * and the values array contains only "value". The requirements are ANDed.
3339
+ *
3340
+ * @schema HelmRepositoryV1Beta2SpecAccessFromNamespaceSelectors#matchLabels
3341
+ */
3342
+ matchLabels?: {
3343
+ [key: string]: string;
3344
+ };
3345
+ }
3346
+ /**
3347
+ * Converts an object of type 'HelmRepositoryV1Beta2SpecAccessFromNamespaceSelectors' to JSON
3348
+ * representation.
3349
+ */
3350
+ export declare function toJson_HelmRepositoryV1Beta2SpecAccessFromNamespaceSelectors(obj: HelmRepositoryV1Beta2SpecAccessFromNamespaceSelectors | undefined): Record<string, any> | undefined;
3351
+ /**
3352
+ * OCIRepository is the Schema for the ocirepositories API
3353
+ *
3354
+ * @schema OCIRepository
3355
+ */
3356
+ export declare class OciRepository extends ApiObject {
3357
+ /** Returns the apiVersion and kind for "OCIRepository" */
3358
+ static GVK: GroupVersionKind;
3359
+ /**
3360
+ * Renders a Kubernetes manifest for "OCIRepository".
3361
+ *
3362
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
3363
+ *
3364
+ * @param props Initialization props
3365
+ */
3366
+ static manifest(props?: OciRepositoryProps): any;
3367
+ /**
3368
+ * Defines a "OCIRepository" API object
3369
+ *
3370
+ * @param scope The scope in which to define this object
3371
+ * @param id A scope-local name for the object
3372
+ * @param props Initialization props
3373
+ */
3374
+ constructor(scope: Construct, id: string, props?: OciRepositoryProps);
3375
+ /** Renders the object to Kubernetes JSON. */
3376
+ toJson(): any;
3377
+ }
3378
+ /**
3379
+ * OCIRepository is the Schema for the ocirepositories API
3380
+ *
3381
+ * @schema OCIRepository
3382
+ */
3383
+ export interface OciRepositoryProps {
3384
+ /** @schema OCIRepository#metadata */
3385
+ metadata?: ApiObjectMetadata;
3386
+ /**
3387
+ * OCIRepositorySpec defines the desired state of OCIRepository
3388
+ *
3389
+ * @schema OCIRepository#spec
3390
+ */
3391
+ spec?: OciRepositorySpec;
3392
+ }
3393
+ /** Converts an object of type 'OciRepositoryProps' to JSON representation. */
3394
+ export declare function toJson_OciRepositoryProps(obj: OciRepositoryProps | undefined): Record<string, any> | undefined;
3395
+ /**
3396
+ * OCIRepositorySpec defines the desired state of OCIRepository
3397
+ *
3398
+ * @schema OciRepositorySpec
3399
+ */
3400
+ export interface OciRepositorySpec {
3401
+ /**
3402
+ * CertSecretRef can be given the name of a Secret containing either or both of
3403
+ *
3404
+ * - A PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`);
3405
+ * - A PEM-encoded CA certificate (`ca.crt`)
3406
+ *
3407
+ * And whichever are supplied, will be used for connecting to the registry. The client cert and
3408
+ * key are useful if you are authenticating with a certificate; the CA cert is useful if you are
3409
+ * using a self-signed server certificate. The Secret must be of type `Opaque` or
3410
+ * `kubernetes.io/tls`.
3411
+ *
3412
+ * Note: Support for the `caFile`, `certFile` and `keyFile` keys have been deprecated.
3413
+ *
3414
+ * @schema OciRepositorySpec#certSecretRef
3415
+ */
3416
+ certSecretRef?: OciRepositorySpecCertSecretRef;
3417
+ /**
3418
+ * Ignore overrides the set of excluded patterns in the .sourceignore format (which is the same
3419
+ * as .gitignore). If not provided, a default will be used, consult the documentation for your
3420
+ * version to find out what those are.
3421
+ *
3422
+ * @schema OciRepositorySpec#ignore
3423
+ */
3424
+ ignore?: string;
3425
+ /**
3426
+ * Insecure allows connecting to a non-TLS HTTP container registry.
3427
+ *
3428
+ * @schema OciRepositorySpec#insecure
3429
+ */
3430
+ insecure?: boolean;
3431
+ /**
3432
+ * Interval at which the OCIRepository URL is checked for updates. This interval is approximate
3433
+ * and may be subject to jitter to ensure efficient use of resources.
3434
+ *
3435
+ * @schema OciRepositorySpec#interval
3436
+ */
3437
+ interval: string;
3438
+ /**
3439
+ * LayerSelector specifies which layer should be extracted from the OCI artifact. When not
3440
+ * specified, the first layer found in the artifact is selected.
3441
+ *
3442
+ * @schema OciRepositorySpec#layerSelector
3443
+ */
3444
+ layerSelector?: OciRepositorySpecLayerSelector;
3445
+ /**
3446
+ * The provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'. When not
3447
+ * specified, defaults to 'generic'.
3448
+ *
3449
+ * @schema OciRepositorySpec#provider
3450
+ */
3451
+ provider?: OciRepositorySpecProvider;
3452
+ /**
3453
+ * ProxySecretRef specifies the Secret containing the proxy configuration to use while
3454
+ * communicating with the container registry.
3455
+ *
3456
+ * @schema OciRepositorySpec#proxySecretRef
3457
+ */
3458
+ proxySecretRef?: OciRepositorySpecProxySecretRef;
3459
+ /**
3460
+ * The OCI reference to pull and monitor for changes, defaults to the latest tag.
3461
+ *
3462
+ * @schema OciRepositorySpec#ref
3463
+ */
3464
+ ref?: OciRepositorySpecRef;
3465
+ /**
3466
+ * SecretRef contains the secret name containing the registry login credentials to resolve image
3467
+ * metadata. The secret must be of type kubernetes.io/dockerconfigjson.
3468
+ *
3469
+ * @schema OciRepositorySpec#secretRef
3470
+ */
3471
+ secretRef?: OciRepositorySpecSecretRef;
3472
+ /**
3473
+ * ServiceAccountName is the name of the Kubernetes ServiceAccount used to authenticate the
3474
+ * image pull if the service account has attached pull secrets. For more information:
3475
+ * https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account
3476
+ *
3477
+ * @schema OciRepositorySpec#serviceAccountName
3478
+ */
3479
+ serviceAccountName?: string;
3480
+ /**
3481
+ * This flag tells the controller to suspend the reconciliation of this source.
3482
+ *
3483
+ * @schema OciRepositorySpec#suspend
3484
+ */
3485
+ suspend?: boolean;
3486
+ /**
3487
+ * The timeout for remote OCI Repository operations like pulling, defaults to 60s.
3488
+ *
3489
+ * @schema OciRepositorySpec#timeout
3490
+ */
3491
+ timeout?: string;
3492
+ /**
3493
+ * URL is a reference to an OCI artifact repository hosted on a remote container registry.
3494
+ *
3495
+ * @schema OciRepositorySpec#url
3496
+ */
3497
+ url: string;
3498
+ /**
3499
+ * Verify contains the secret name containing the trusted public keys used to verify the
3500
+ * signature and specifies which provider to use to check whether OCI image is authentic.
3501
+ *
3502
+ * @schema OciRepositorySpec#verify
3503
+ */
3504
+ verify?: OciRepositorySpecVerify;
3505
+ }
3506
+ /** Converts an object of type 'OciRepositorySpec' to JSON representation. */
3507
+ export declare function toJson_OciRepositorySpec(obj: OciRepositorySpec | undefined): Record<string, any> | undefined;
3508
+ /**
3509
+ * CertSecretRef can be given the name of a Secret containing either or both of
3510
+ *
3511
+ * - A PEM-encoded client certificate (`tls.crt`) and private key (`tls.key`);
3512
+ * - A PEM-encoded CA certificate (`ca.crt`)
3513
+ *
3514
+ * And whichever are supplied, will be used for connecting to the registry. The client cert and key
3515
+ * are useful if you are authenticating with a certificate; the CA cert is useful if you are using a
3516
+ * self-signed server certificate. The Secret must be of type `Opaque` or `kubernetes.io/tls`.
3517
+ *
3518
+ * Note: Support for the `caFile`, `certFile` and `keyFile` keys have been deprecated.
3519
+ *
3520
+ * @schema OciRepositorySpecCertSecretRef
3521
+ */
3522
+ export interface OciRepositorySpecCertSecretRef {
3523
+ /**
3524
+ * Name of the referent.
3525
+ *
3526
+ * @schema OciRepositorySpecCertSecretRef#name
3527
+ */
3528
+ name: string;
3529
+ }
3530
+ /** Converts an object of type 'OciRepositorySpecCertSecretRef' to JSON representation. */
3531
+ export declare function toJson_OciRepositorySpecCertSecretRef(obj: OciRepositorySpecCertSecretRef | undefined): Record<string, any> | undefined;
3532
+ /**
3533
+ * LayerSelector specifies which layer should be extracted from the OCI artifact. When not
3534
+ * specified, the first layer found in the artifact is selected.
3535
+ *
3536
+ * @schema OciRepositorySpecLayerSelector
3537
+ */
3538
+ export interface OciRepositorySpecLayerSelector {
3539
+ /**
3540
+ * MediaType specifies the OCI media type of the layer which should be extracted from the OCI
3541
+ * Artifact. The first layer matching this type is selected.
3542
+ *
3543
+ * @schema OciRepositorySpecLayerSelector#mediaType
3544
+ */
3545
+ mediaType?: string;
3546
+ /**
3547
+ * Operation specifies how the selected layer should be processed. By default, the layer
3548
+ * compressed content is extracted to storage. When the operation is set to 'copy', the layer
3549
+ * compressed content is persisted to storage as it is.
3550
+ *
3551
+ * @schema OciRepositorySpecLayerSelector#operation
3552
+ */
3553
+ operation?: OciRepositorySpecLayerSelectorOperation;
3554
+ }
3555
+ /** Converts an object of type 'OciRepositorySpecLayerSelector' to JSON representation. */
3556
+ export declare function toJson_OciRepositorySpecLayerSelector(obj: OciRepositorySpecLayerSelector | undefined): Record<string, any> | undefined;
3557
+ /**
3558
+ * The provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'. When not
3559
+ * specified, defaults to 'generic'.
3560
+ *
3561
+ * @schema OciRepositorySpecProvider
3562
+ */
3563
+ export declare enum OciRepositorySpecProvider {
3564
+ /** Generic */
3565
+ GENERIC = "generic",
3566
+ /** Aws */
3567
+ AWS = "aws",
3568
+ /** Azure */
3569
+ AZURE = "azure",
3570
+ /** Gcp */
3571
+ GCP = "gcp"
3572
+ }
3573
+ /**
3574
+ * ProxySecretRef specifies the Secret containing the proxy configuration to use while communicating
3575
+ * with the container registry.
3576
+ *
3577
+ * @schema OciRepositorySpecProxySecretRef
3578
+ */
3579
+ export interface OciRepositorySpecProxySecretRef {
3580
+ /**
3581
+ * Name of the referent.
3582
+ *
3583
+ * @schema OciRepositorySpecProxySecretRef#name
3584
+ */
3585
+ name: string;
3586
+ }
3587
+ /** Converts an object of type 'OciRepositorySpecProxySecretRef' to JSON representation. */
3588
+ export declare function toJson_OciRepositorySpecProxySecretRef(obj: OciRepositorySpecProxySecretRef | undefined): Record<string, any> | undefined;
3589
+ /**
3590
+ * The OCI reference to pull and monitor for changes, defaults to the latest tag.
3591
+ *
3592
+ * @schema OciRepositorySpecRef
3593
+ */
3594
+ export interface OciRepositorySpecRef {
3595
+ /**
3596
+ * Digest is the image digest to pull, takes precedence over SemVer. The value should be in the
3597
+ * format 'sha256:<HASH>'.
3598
+ *
3599
+ * @schema OciRepositorySpecRef#digest
3600
+ */
3601
+ digest?: string;
3602
+ /**
3603
+ * SemVer is the range of tags to pull selecting the latest within the range, takes precedence
3604
+ * over Tag.
3605
+ *
3606
+ * @schema OciRepositorySpecRef#semver
3607
+ */
3608
+ semver?: string;
3609
+ /**
3610
+ * SemverFilter is a regex pattern to filter the tags within the SemVer range.
3611
+ *
3612
+ * @schema OciRepositorySpecRef#semverFilter
3613
+ */
3614
+ semverFilter?: string;
3615
+ /**
3616
+ * Tag is the image tag to pull, defaults to latest.
3617
+ *
3618
+ * @schema OciRepositorySpecRef#tag
3619
+ */
3620
+ tag?: string;
3621
+ }
3622
+ /** Converts an object of type 'OciRepositorySpecRef' to JSON representation. */
3623
+ export declare function toJson_OciRepositorySpecRef(obj: OciRepositorySpecRef | undefined): Record<string, any> | undefined;
3624
+ /**
3625
+ * SecretRef contains the secret name containing the registry login credentials to resolve image
3626
+ * metadata. The secret must be of type kubernetes.io/dockerconfigjson.
3627
+ *
3628
+ * @schema OciRepositorySpecSecretRef
3629
+ */
3630
+ export interface OciRepositorySpecSecretRef {
3631
+ /**
3632
+ * Name of the referent.
3633
+ *
3634
+ * @schema OciRepositorySpecSecretRef#name
3635
+ */
3636
+ name: string;
3637
+ }
3638
+ /** Converts an object of type 'OciRepositorySpecSecretRef' to JSON representation. */
3639
+ export declare function toJson_OciRepositorySpecSecretRef(obj: OciRepositorySpecSecretRef | undefined): Record<string, any> | undefined;
3640
+ /**
3641
+ * Verify contains the secret name containing the trusted public keys used to verify the signature
3642
+ * and specifies which provider to use to check whether OCI image is authentic.
3643
+ *
3644
+ * @schema OciRepositorySpecVerify
3645
+ */
3646
+ export interface OciRepositorySpecVerify {
3647
+ /**
3648
+ * MatchOIDCIdentity specifies the identity matching criteria to use while verifying an OCI
3649
+ * artifact which was signed using Cosign keyless signing. The artifact's identity is deemed to
3650
+ * be verified if any of the specified matchers match against the identity.
3651
+ *
3652
+ * @schema OciRepositorySpecVerify#matchOIDCIdentity
3653
+ */
3654
+ matchOidcIdentity?: OciRepositorySpecVerifyMatchOidcIdentity[];
3655
+ /**
3656
+ * Provider specifies the technology used to sign the OCI Artifact.
3657
+ *
3658
+ * @schema OciRepositorySpecVerify#provider
3659
+ */
3660
+ provider: OciRepositorySpecVerifyProvider;
3661
+ /**
3662
+ * SecretRef specifies the Kubernetes Secret containing the trusted public keys.
3663
+ *
3664
+ * @schema OciRepositorySpecVerify#secretRef
3665
+ */
3666
+ secretRef?: OciRepositorySpecVerifySecretRef;
3667
+ }
3668
+ /** Converts an object of type 'OciRepositorySpecVerify' to JSON representation. */
3669
+ export declare function toJson_OciRepositorySpecVerify(obj: OciRepositorySpecVerify | undefined): Record<string, any> | undefined;
3670
+ /**
3671
+ * Operation specifies how the selected layer should be processed. By default, the layer compressed
3672
+ * content is extracted to storage. When the operation is set to 'copy', the layer compressed
3673
+ * content is persisted to storage as it is.
3674
+ *
3675
+ * @schema OciRepositorySpecLayerSelectorOperation
3676
+ */
3677
+ export declare enum OciRepositorySpecLayerSelectorOperation {
3678
+ /** Extract */
3679
+ EXTRACT = "extract",
3680
+ /** Copy */
3681
+ COPY = "copy"
3682
+ }
3683
+ /**
3684
+ * OIDCIdentityMatch specifies options for verifying the certificate identity, i.e. the issuer and
3685
+ * the subject of the certificate.
3686
+ *
3687
+ * @schema OciRepositorySpecVerifyMatchOidcIdentity
3688
+ */
3689
+ export interface OciRepositorySpecVerifyMatchOidcIdentity {
3690
+ /**
3691
+ * Issuer specifies the regex pattern to match against to verify the OIDC issuer in the Fulcio
3692
+ * certificate. The pattern must be a valid Go regular expression.
3693
+ *
3694
+ * @schema OciRepositorySpecVerifyMatchOidcIdentity#issuer
3695
+ */
3696
+ issuer: string;
3697
+ /**
3698
+ * Subject specifies the regex pattern to match against to verify the identity subject in the
3699
+ * Fulcio certificate. The pattern must be a valid Go regular expression.
3700
+ *
3701
+ * @schema OciRepositorySpecVerifyMatchOidcIdentity#subject
3702
+ */
3703
+ subject: string;
3704
+ }
3705
+ /** Converts an object of type 'OciRepositorySpecVerifyMatchOidcIdentity' to JSON representation. */
3706
+ export declare function toJson_OciRepositorySpecVerifyMatchOidcIdentity(obj: OciRepositorySpecVerifyMatchOidcIdentity | undefined): Record<string, any> | undefined;
3707
+ /**
3708
+ * Provider specifies the technology used to sign the OCI Artifact.
3709
+ *
3710
+ * @schema OciRepositorySpecVerifyProvider
3711
+ */
3712
+ export declare enum OciRepositorySpecVerifyProvider {
3713
+ /** Cosign */
3714
+ COSIGN = "cosign",
3715
+ /** Notation */
3716
+ NOTATION = "notation"
3717
+ }
3718
+ /**
3719
+ * SecretRef specifies the Kubernetes Secret containing the trusted public keys.
3720
+ *
3721
+ * @schema OciRepositorySpecVerifySecretRef
3722
+ */
3723
+ export interface OciRepositorySpecVerifySecretRef {
3724
+ /**
3725
+ * Name of the referent.
3726
+ *
3727
+ * @schema OciRepositorySpecVerifySecretRef#name
3728
+ */
3729
+ name: string;
3730
+ }
3731
+ /** Converts an object of type 'OciRepositorySpecVerifySecretRef' to JSON representation. */
3732
+ export declare function toJson_OciRepositorySpecVerifySecretRef(obj: OciRepositorySpecVerifySecretRef | undefined): Record<string, any> | undefined;
3733
+ //# sourceMappingURL=source.toolkit.fluxcd.io.d.ts.map