k8ts 0.4.21 → 0.4.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.imports.tsbuildinfo +1 -1
- package/dist/_imports/helm.toolkit.fluxcd.io.d.ts +4894 -0
- package/dist/_imports/helm.toolkit.fluxcd.io.d.ts.map +1 -0
- package/dist/_imports/helm.toolkit.fluxcd.io.js +2430 -0
- package/dist/_imports/helm.toolkit.fluxcd.io.js.map +1 -0
- package/dist/_imports/kustomize.toolkit.fluxcd.io.d.ts +2367 -0
- package/dist/_imports/kustomize.toolkit.fluxcd.io.d.ts.map +1 -0
- package/dist/_imports/kustomize.toolkit.fluxcd.io.js +1285 -0
- package/dist/_imports/kustomize.toolkit.fluxcd.io.js.map +1 -0
- package/dist/_imports/notification.toolkit.fluxcd.io.d.ts +2005 -0
- package/dist/_imports/notification.toolkit.fluxcd.io.d.ts.map +1 -0
- package/dist/_imports/notification.toolkit.fluxcd.io.js +1575 -0
- package/dist/_imports/notification.toolkit.fluxcd.io.js.map +1 -0
- package/dist/_imports/source.toolkit.fluxcd.io.d.ts +4158 -0
- package/dist/_imports/source.toolkit.fluxcd.io.d.ts.map +1 -0
- package/dist/_imports/source.toolkit.fluxcd.io.js +2739 -0
- package/dist/_imports/source.toolkit.fluxcd.io.js.map +1 -0
- package/dist/file/factory.d.ts +1 -1
- package/dist/file/factory.d.ts.map +1 -1
- package/dist/file/factory.js.map +1 -1
- package/dist/resources/deployment/deployment.d.ts +10 -3
- package/dist/resources/deployment/deployment.d.ts.map +1 -1
- package/dist/resources/deployment/deployment.js +19 -1
- package/dist/resources/deployment/deployment.js.map +1 -1
- package/dist/resources/pod/container/container.d.ts +2 -2
- package/dist/resources/pod/container/container.d.ts.map +1 -1
- package/dist/resources/pod/container/container.js.map +1 -1
- package/dist/resources/utils/adapters.js +1 -1
- package/dist/resources/utils/adapters.js.map +1 -1
- package/dist/runner/exporter/assembler.d.ts +2 -2
- package/dist/runner/exporter/assembler.d.ts.map +1 -1
- package/dist/runner/exporter/assembler.js.map +1 -1
- package/dist/runner/exporter/serializer.d.ts +4 -3
- package/dist/runner/exporter/serializer.d.ts.map +1 -1
- package/dist/runner/exporter/serializer.js +4 -1
- package/dist/runner/exporter/serializer.js.map +1 -1
- package/dist/runner/runner.d.ts +3 -2
- package/dist/runner/runner.d.ts.map +1 -1
- package/dist/runner/runner.js +6 -1
- package/dist/runner/runner.js.map +1 -1
- package/dist/src.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/_imports/helm.toolkit.fluxcd.io.ts +6748 -0
- package/src/_imports/kustomize.toolkit.fluxcd.io.ts +3369 -0
- package/src/_imports/notification.toolkit.fluxcd.io.ts +2848 -0
- package/src/_imports/source.toolkit.fluxcd.io.ts +6054 -0
- package/src/file/factory.ts +1 -1
- package/src/resources/deployment/deployment.ts +30 -4
- package/src/resources/pod/container/container.ts +2 -1
- package/src/resources/utils/adapters.ts +1 -1
- package/src/runner/exporter/assembler.ts +2 -2
- package/src/runner/exporter/serializer.ts +8 -4
- package/src/runner/runner.ts +15 -3
|
@@ -0,0 +1,4894 @@
|
|
|
1
|
+
import { ApiObject, ApiObjectMetadata, GroupVersionKind } from 'cdk8s';
|
|
2
|
+
import { Construct } from 'constructs';
|
|
3
|
+
/**
|
|
4
|
+
* HelmRelease is the Schema for the helmreleases API
|
|
5
|
+
*
|
|
6
|
+
* @schema HelmRelease
|
|
7
|
+
*/
|
|
8
|
+
export declare class HelmRelease extends ApiObject {
|
|
9
|
+
/**
|
|
10
|
+
* Returns the apiVersion and kind for "HelmRelease"
|
|
11
|
+
*/
|
|
12
|
+
static readonly GVK: GroupVersionKind;
|
|
13
|
+
/**
|
|
14
|
+
* Renders a Kubernetes manifest for "HelmRelease".
|
|
15
|
+
*
|
|
16
|
+
* This can be used to inline resource manifests inside other objects (e.g. as templates).
|
|
17
|
+
*
|
|
18
|
+
* @param props initialization props
|
|
19
|
+
*/
|
|
20
|
+
static manifest(props?: HelmReleaseProps): any;
|
|
21
|
+
/**
|
|
22
|
+
* Defines a "HelmRelease" API object
|
|
23
|
+
* @param scope the scope in which to define this object
|
|
24
|
+
* @param id a scope-local name for the object
|
|
25
|
+
* @param props initialization props
|
|
26
|
+
*/
|
|
27
|
+
constructor(scope: Construct, id: string, props?: HelmReleaseProps);
|
|
28
|
+
/**
|
|
29
|
+
* Renders the object to Kubernetes JSON.
|
|
30
|
+
*/
|
|
31
|
+
toJson(): any;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* HelmRelease is the Schema for the helmreleases API
|
|
35
|
+
*
|
|
36
|
+
* @schema HelmRelease
|
|
37
|
+
*/
|
|
38
|
+
export interface HelmReleaseProps {
|
|
39
|
+
/**
|
|
40
|
+
* @schema HelmRelease#metadata
|
|
41
|
+
*/
|
|
42
|
+
readonly metadata?: ApiObjectMetadata;
|
|
43
|
+
/**
|
|
44
|
+
* HelmReleaseSpec defines the desired state of a Helm release.
|
|
45
|
+
*
|
|
46
|
+
* @schema HelmRelease#spec
|
|
47
|
+
*/
|
|
48
|
+
readonly spec?: HelmReleaseSpec;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Converts an object of type 'HelmReleaseProps' to JSON representation.
|
|
52
|
+
*/
|
|
53
|
+
export declare function toJson_HelmReleaseProps(obj: HelmReleaseProps | undefined): Record<string, any> | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* HelmReleaseSpec defines the desired state of a Helm release.
|
|
56
|
+
*
|
|
57
|
+
* @schema HelmReleaseSpec
|
|
58
|
+
*/
|
|
59
|
+
export interface HelmReleaseSpec {
|
|
60
|
+
/**
|
|
61
|
+
* Chart defines the template of the v1.HelmChart that should be created
|
|
62
|
+
* for this HelmRelease.
|
|
63
|
+
*
|
|
64
|
+
* @schema HelmReleaseSpec#chart
|
|
65
|
+
*/
|
|
66
|
+
readonly chart?: HelmReleaseSpecChart;
|
|
67
|
+
/**
|
|
68
|
+
* ChartRef holds a reference to a source controller resource containing the
|
|
69
|
+
* Helm chart artifact.
|
|
70
|
+
*
|
|
71
|
+
* @schema HelmReleaseSpec#chartRef
|
|
72
|
+
*/
|
|
73
|
+
readonly chartRef?: HelmReleaseSpecChartRef;
|
|
74
|
+
/**
|
|
75
|
+
* DependsOn may contain a meta.NamespacedObjectReference slice with
|
|
76
|
+
* references to HelmRelease resources that must be ready before this HelmRelease
|
|
77
|
+
* can be reconciled.
|
|
78
|
+
*
|
|
79
|
+
* @schema HelmReleaseSpec#dependsOn
|
|
80
|
+
*/
|
|
81
|
+
readonly dependsOn?: HelmReleaseSpecDependsOn[];
|
|
82
|
+
/**
|
|
83
|
+
* DriftDetection holds the configuration for detecting and handling
|
|
84
|
+
* differences between the manifest in the Helm storage and the resources
|
|
85
|
+
* currently existing in the cluster.
|
|
86
|
+
*
|
|
87
|
+
* @schema HelmReleaseSpec#driftDetection
|
|
88
|
+
*/
|
|
89
|
+
readonly driftDetection?: HelmReleaseSpecDriftDetection;
|
|
90
|
+
/**
|
|
91
|
+
* Install holds the configuration for Helm install actions for this HelmRelease.
|
|
92
|
+
*
|
|
93
|
+
* @schema HelmReleaseSpec#install
|
|
94
|
+
*/
|
|
95
|
+
readonly install?: HelmReleaseSpecInstall;
|
|
96
|
+
/**
|
|
97
|
+
* Interval at which to reconcile the Helm release.
|
|
98
|
+
*
|
|
99
|
+
* @schema HelmReleaseSpec#interval
|
|
100
|
+
*/
|
|
101
|
+
readonly interval: string;
|
|
102
|
+
/**
|
|
103
|
+
* KubeConfig for reconciling the HelmRelease on a remote cluster.
|
|
104
|
+
* When used in combination with HelmReleaseSpec.ServiceAccountName,
|
|
105
|
+
* forces the controller to act on behalf of that Service Account at the
|
|
106
|
+
* target cluster.
|
|
107
|
+
* If the --default-service-account flag is set, its value will be used as
|
|
108
|
+
* a controller level fallback for when HelmReleaseSpec.ServiceAccountName
|
|
109
|
+
* is empty.
|
|
110
|
+
*
|
|
111
|
+
* @schema HelmReleaseSpec#kubeConfig
|
|
112
|
+
*/
|
|
113
|
+
readonly kubeConfig?: HelmReleaseSpecKubeConfig;
|
|
114
|
+
/**
|
|
115
|
+
* MaxHistory is the number of revisions saved by Helm for this HelmRelease.
|
|
116
|
+
* Use '0' for an unlimited number of revisions; defaults to '5'.
|
|
117
|
+
*
|
|
118
|
+
* @schema HelmReleaseSpec#maxHistory
|
|
119
|
+
*/
|
|
120
|
+
readonly maxHistory?: number;
|
|
121
|
+
/**
|
|
122
|
+
* PersistentClient tells the controller to use a persistent Kubernetes
|
|
123
|
+
* client for this release. When enabled, the client will be reused for the
|
|
124
|
+
* duration of the reconciliation, instead of being created and destroyed
|
|
125
|
+
* for each (step of a) Helm action.
|
|
126
|
+
*
|
|
127
|
+
* This can improve performance, but may cause issues with some Helm charts
|
|
128
|
+
* that for example do create Custom Resource Definitions during installation
|
|
129
|
+
* outside Helm's CRD lifecycle hooks, which are then not observed to be
|
|
130
|
+
* available by e.g. post-install hooks.
|
|
131
|
+
*
|
|
132
|
+
* If not set, it defaults to true.
|
|
133
|
+
*
|
|
134
|
+
* @schema HelmReleaseSpec#persistentClient
|
|
135
|
+
*/
|
|
136
|
+
readonly persistentClient?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* PostRenderers holds an array of Helm PostRenderers, which will be applied in order
|
|
139
|
+
* of their definition.
|
|
140
|
+
*
|
|
141
|
+
* @schema HelmReleaseSpec#postRenderers
|
|
142
|
+
*/
|
|
143
|
+
readonly postRenderers?: HelmReleaseSpecPostRenderers[];
|
|
144
|
+
/**
|
|
145
|
+
* ReleaseName used for the Helm release. Defaults to a composition of
|
|
146
|
+
* '[TargetNamespace-]Name'.
|
|
147
|
+
*
|
|
148
|
+
* @default a composition of
|
|
149
|
+
* @schema HelmReleaseSpec#releaseName
|
|
150
|
+
*/
|
|
151
|
+
readonly releaseName?: string;
|
|
152
|
+
/**
|
|
153
|
+
* Rollback holds the configuration for Helm rollback actions for this HelmRelease.
|
|
154
|
+
*
|
|
155
|
+
* @schema HelmReleaseSpec#rollback
|
|
156
|
+
*/
|
|
157
|
+
readonly rollback?: HelmReleaseSpecRollback;
|
|
158
|
+
/**
|
|
159
|
+
* The name of the Kubernetes service account to impersonate
|
|
160
|
+
* when reconciling this HelmRelease.
|
|
161
|
+
*
|
|
162
|
+
* @schema HelmReleaseSpec#serviceAccountName
|
|
163
|
+
*/
|
|
164
|
+
readonly serviceAccountName?: string;
|
|
165
|
+
/**
|
|
166
|
+
* StorageNamespace used for the Helm storage.
|
|
167
|
+
* Defaults to the namespace of the HelmRelease.
|
|
168
|
+
*
|
|
169
|
+
* @default the namespace of the HelmRelease.
|
|
170
|
+
* @schema HelmReleaseSpec#storageNamespace
|
|
171
|
+
*/
|
|
172
|
+
readonly storageNamespace?: string;
|
|
173
|
+
/**
|
|
174
|
+
* Suspend tells the controller to suspend reconciliation for this HelmRelease,
|
|
175
|
+
* it does not apply to already started reconciliations. Defaults to false.
|
|
176
|
+
*
|
|
177
|
+
* @default false.
|
|
178
|
+
* @schema HelmReleaseSpec#suspend
|
|
179
|
+
*/
|
|
180
|
+
readonly suspend?: boolean;
|
|
181
|
+
/**
|
|
182
|
+
* TargetNamespace to target when performing operations for the HelmRelease.
|
|
183
|
+
* Defaults to the namespace of the HelmRelease.
|
|
184
|
+
*
|
|
185
|
+
* @default the namespace of the HelmRelease.
|
|
186
|
+
* @schema HelmReleaseSpec#targetNamespace
|
|
187
|
+
*/
|
|
188
|
+
readonly targetNamespace?: string;
|
|
189
|
+
/**
|
|
190
|
+
* Test holds the configuration for Helm test actions for this HelmRelease.
|
|
191
|
+
*
|
|
192
|
+
* @schema HelmReleaseSpec#test
|
|
193
|
+
*/
|
|
194
|
+
readonly test?: HelmReleaseSpecTest;
|
|
195
|
+
/**
|
|
196
|
+
* Timeout is the time to wait for any individual Kubernetes operation (like Jobs
|
|
197
|
+
* for hooks) during the performance of a Helm action. Defaults to '5m0s'.
|
|
198
|
+
*
|
|
199
|
+
* @default 5m0s'.
|
|
200
|
+
* @schema HelmReleaseSpec#timeout
|
|
201
|
+
*/
|
|
202
|
+
readonly timeout?: string;
|
|
203
|
+
/**
|
|
204
|
+
* Uninstall holds the configuration for Helm uninstall actions for this HelmRelease.
|
|
205
|
+
*
|
|
206
|
+
* @schema HelmReleaseSpec#uninstall
|
|
207
|
+
*/
|
|
208
|
+
readonly uninstall?: HelmReleaseSpecUninstall;
|
|
209
|
+
/**
|
|
210
|
+
* Upgrade holds the configuration for Helm upgrade actions for this HelmRelease.
|
|
211
|
+
*
|
|
212
|
+
* @schema HelmReleaseSpec#upgrade
|
|
213
|
+
*/
|
|
214
|
+
readonly upgrade?: HelmReleaseSpecUpgrade;
|
|
215
|
+
/**
|
|
216
|
+
* Values holds the values for this Helm release.
|
|
217
|
+
*
|
|
218
|
+
* @schema HelmReleaseSpec#values
|
|
219
|
+
*/
|
|
220
|
+
readonly values?: any;
|
|
221
|
+
/**
|
|
222
|
+
* ValuesFrom holds references to resources containing Helm values for this HelmRelease,
|
|
223
|
+
* and information about how they should be merged.
|
|
224
|
+
*
|
|
225
|
+
* @schema HelmReleaseSpec#valuesFrom
|
|
226
|
+
*/
|
|
227
|
+
readonly valuesFrom?: HelmReleaseSpecValuesFrom[];
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Converts an object of type 'HelmReleaseSpec' to JSON representation.
|
|
231
|
+
*/
|
|
232
|
+
export declare function toJson_HelmReleaseSpec(obj: HelmReleaseSpec | undefined): Record<string, any> | undefined;
|
|
233
|
+
/**
|
|
234
|
+
* Chart defines the template of the v1.HelmChart that should be created
|
|
235
|
+
* for this HelmRelease.
|
|
236
|
+
*
|
|
237
|
+
* @schema HelmReleaseSpecChart
|
|
238
|
+
*/
|
|
239
|
+
export interface HelmReleaseSpecChart {
|
|
240
|
+
/**
|
|
241
|
+
* ObjectMeta holds the template for metadata like labels and annotations.
|
|
242
|
+
*
|
|
243
|
+
* @schema HelmReleaseSpecChart#metadata
|
|
244
|
+
*/
|
|
245
|
+
readonly metadata?: HelmReleaseSpecChartMetadata;
|
|
246
|
+
/**
|
|
247
|
+
* Spec holds the template for the v1.HelmChartSpec for this HelmRelease.
|
|
248
|
+
*
|
|
249
|
+
* @schema HelmReleaseSpecChart#spec
|
|
250
|
+
*/
|
|
251
|
+
readonly spec: HelmReleaseSpecChartSpec;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Converts an object of type 'HelmReleaseSpecChart' to JSON representation.
|
|
255
|
+
*/
|
|
256
|
+
export declare function toJson_HelmReleaseSpecChart(obj: HelmReleaseSpecChart | undefined): Record<string, any> | undefined;
|
|
257
|
+
/**
|
|
258
|
+
* ChartRef holds a reference to a source controller resource containing the
|
|
259
|
+
* Helm chart artifact.
|
|
260
|
+
*
|
|
261
|
+
* @schema HelmReleaseSpecChartRef
|
|
262
|
+
*/
|
|
263
|
+
export interface HelmReleaseSpecChartRef {
|
|
264
|
+
/**
|
|
265
|
+
* APIVersion of the referent.
|
|
266
|
+
*
|
|
267
|
+
* @schema HelmReleaseSpecChartRef#apiVersion
|
|
268
|
+
*/
|
|
269
|
+
readonly apiVersion?: string;
|
|
270
|
+
/**
|
|
271
|
+
* Kind of the referent.
|
|
272
|
+
*
|
|
273
|
+
* @schema HelmReleaseSpecChartRef#kind
|
|
274
|
+
*/
|
|
275
|
+
readonly kind: HelmReleaseSpecChartRefKind;
|
|
276
|
+
/**
|
|
277
|
+
* Name of the referent.
|
|
278
|
+
*
|
|
279
|
+
* @schema HelmReleaseSpecChartRef#name
|
|
280
|
+
*/
|
|
281
|
+
readonly name: string;
|
|
282
|
+
/**
|
|
283
|
+
* Namespace of the referent, defaults to the namespace of the Kubernetes
|
|
284
|
+
* resource object that contains the reference.
|
|
285
|
+
*
|
|
286
|
+
* @schema HelmReleaseSpecChartRef#namespace
|
|
287
|
+
*/
|
|
288
|
+
readonly namespace?: string;
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* Converts an object of type 'HelmReleaseSpecChartRef' to JSON representation.
|
|
292
|
+
*/
|
|
293
|
+
export declare function toJson_HelmReleaseSpecChartRef(obj: HelmReleaseSpecChartRef | undefined): Record<string, any> | undefined;
|
|
294
|
+
/**
|
|
295
|
+
* NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any
|
|
296
|
+
* namespace.
|
|
297
|
+
*
|
|
298
|
+
* @schema HelmReleaseSpecDependsOn
|
|
299
|
+
*/
|
|
300
|
+
export interface HelmReleaseSpecDependsOn {
|
|
301
|
+
/**
|
|
302
|
+
* Name of the referent.
|
|
303
|
+
*
|
|
304
|
+
* @schema HelmReleaseSpecDependsOn#name
|
|
305
|
+
*/
|
|
306
|
+
readonly name: string;
|
|
307
|
+
/**
|
|
308
|
+
* Namespace of the referent, when not specified it acts as LocalObjectReference.
|
|
309
|
+
*
|
|
310
|
+
* @schema HelmReleaseSpecDependsOn#namespace
|
|
311
|
+
*/
|
|
312
|
+
readonly namespace?: string;
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Converts an object of type 'HelmReleaseSpecDependsOn' to JSON representation.
|
|
316
|
+
*/
|
|
317
|
+
export declare function toJson_HelmReleaseSpecDependsOn(obj: HelmReleaseSpecDependsOn | undefined): Record<string, any> | undefined;
|
|
318
|
+
/**
|
|
319
|
+
* DriftDetection holds the configuration for detecting and handling
|
|
320
|
+
* differences between the manifest in the Helm storage and the resources
|
|
321
|
+
* currently existing in the cluster.
|
|
322
|
+
*
|
|
323
|
+
* @schema HelmReleaseSpecDriftDetection
|
|
324
|
+
*/
|
|
325
|
+
export interface HelmReleaseSpecDriftDetection {
|
|
326
|
+
/**
|
|
327
|
+
* Ignore contains a list of rules for specifying which changes to ignore
|
|
328
|
+
* during diffing.
|
|
329
|
+
*
|
|
330
|
+
* @schema HelmReleaseSpecDriftDetection#ignore
|
|
331
|
+
*/
|
|
332
|
+
readonly ignore?: HelmReleaseSpecDriftDetectionIgnore[];
|
|
333
|
+
/**
|
|
334
|
+
* Mode defines how differences should be handled between the Helm manifest
|
|
335
|
+
* and the manifest currently applied to the cluster.
|
|
336
|
+
* If not explicitly set, it defaults to DiffModeDisabled.
|
|
337
|
+
*
|
|
338
|
+
* @schema HelmReleaseSpecDriftDetection#mode
|
|
339
|
+
*/
|
|
340
|
+
readonly mode?: HelmReleaseSpecDriftDetectionMode;
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* Converts an object of type 'HelmReleaseSpecDriftDetection' to JSON representation.
|
|
344
|
+
*/
|
|
345
|
+
export declare function toJson_HelmReleaseSpecDriftDetection(obj: HelmReleaseSpecDriftDetection | undefined): Record<string, any> | undefined;
|
|
346
|
+
/**
|
|
347
|
+
* Install holds the configuration for Helm install actions for this HelmRelease.
|
|
348
|
+
*
|
|
349
|
+
* @schema HelmReleaseSpecInstall
|
|
350
|
+
*/
|
|
351
|
+
export interface HelmReleaseSpecInstall {
|
|
352
|
+
/**
|
|
353
|
+
* CRDs upgrade CRDs from the Helm Chart's crds directory according
|
|
354
|
+
* to the CRD upgrade policy provided here. Valid values are `Skip`,
|
|
355
|
+
* `Create` or `CreateReplace`. Default is `Create` and if omitted
|
|
356
|
+
* CRDs are installed but not updated.
|
|
357
|
+
*
|
|
358
|
+
* Skip: do neither install nor replace (update) any CRDs.
|
|
359
|
+
*
|
|
360
|
+
* Create: new CRDs are created, existing CRDs are neither updated nor deleted.
|
|
361
|
+
*
|
|
362
|
+
* CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
|
|
363
|
+
* but not deleted.
|
|
364
|
+
*
|
|
365
|
+
* By default, CRDs are applied (installed) during Helm install action.
|
|
366
|
+
* With this option users can opt in to CRD replace existing CRDs on Helm
|
|
367
|
+
* install actions, which is not (yet) natively supported by Helm.
|
|
368
|
+
* https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
|
|
369
|
+
*
|
|
370
|
+
* @default Create` and if omitted
|
|
371
|
+
* @schema HelmReleaseSpecInstall#crds
|
|
372
|
+
*/
|
|
373
|
+
readonly crds?: HelmReleaseSpecInstallCrds;
|
|
374
|
+
/**
|
|
375
|
+
* CreateNamespace tells the Helm install action to create the
|
|
376
|
+
* HelmReleaseSpec.TargetNamespace if it does not exist yet.
|
|
377
|
+
* On uninstall, the namespace will not be garbage collected.
|
|
378
|
+
*
|
|
379
|
+
* @schema HelmReleaseSpecInstall#createNamespace
|
|
380
|
+
*/
|
|
381
|
+
readonly createNamespace?: boolean;
|
|
382
|
+
/**
|
|
383
|
+
* DisableHooks prevents hooks from running during the Helm install action.
|
|
384
|
+
*
|
|
385
|
+
* @schema HelmReleaseSpecInstall#disableHooks
|
|
386
|
+
*/
|
|
387
|
+
readonly disableHooks?: boolean;
|
|
388
|
+
/**
|
|
389
|
+
* DisableOpenAPIValidation prevents the Helm install action from validating
|
|
390
|
+
* rendered templates against the Kubernetes OpenAPI Schema.
|
|
391
|
+
*
|
|
392
|
+
* @schema HelmReleaseSpecInstall#disableOpenAPIValidation
|
|
393
|
+
*/
|
|
394
|
+
readonly disableOpenApiValidation?: boolean;
|
|
395
|
+
/**
|
|
396
|
+
* DisableSchemaValidation prevents the Helm install action from validating
|
|
397
|
+
* the values against the JSON Schema.
|
|
398
|
+
*
|
|
399
|
+
* @schema HelmReleaseSpecInstall#disableSchemaValidation
|
|
400
|
+
*/
|
|
401
|
+
readonly disableSchemaValidation?: boolean;
|
|
402
|
+
/**
|
|
403
|
+
* DisableTakeOwnership disables taking ownership of existing resources
|
|
404
|
+
* during the Helm install action. Defaults to false.
|
|
405
|
+
*
|
|
406
|
+
* @default false.
|
|
407
|
+
* @schema HelmReleaseSpecInstall#disableTakeOwnership
|
|
408
|
+
*/
|
|
409
|
+
readonly disableTakeOwnership?: boolean;
|
|
410
|
+
/**
|
|
411
|
+
* DisableWait disables the waiting for resources to be ready after a Helm
|
|
412
|
+
* install has been performed.
|
|
413
|
+
*
|
|
414
|
+
* @schema HelmReleaseSpecInstall#disableWait
|
|
415
|
+
*/
|
|
416
|
+
readonly disableWait?: boolean;
|
|
417
|
+
/**
|
|
418
|
+
* DisableWaitForJobs disables waiting for jobs to complete after a Helm
|
|
419
|
+
* install has been performed.
|
|
420
|
+
*
|
|
421
|
+
* @schema HelmReleaseSpecInstall#disableWaitForJobs
|
|
422
|
+
*/
|
|
423
|
+
readonly disableWaitForJobs?: boolean;
|
|
424
|
+
/**
|
|
425
|
+
* Remediation holds the remediation configuration for when the Helm install
|
|
426
|
+
* action for the HelmRelease fails. The default is to not perform any action.
|
|
427
|
+
*
|
|
428
|
+
* @schema HelmReleaseSpecInstall#remediation
|
|
429
|
+
*/
|
|
430
|
+
readonly remediation?: HelmReleaseSpecInstallRemediation;
|
|
431
|
+
/**
|
|
432
|
+
* Replace tells the Helm install action to re-use the 'ReleaseName', but only
|
|
433
|
+
* if that name is a deleted release which remains in the history.
|
|
434
|
+
*
|
|
435
|
+
* @schema HelmReleaseSpecInstall#replace
|
|
436
|
+
*/
|
|
437
|
+
readonly replace?: boolean;
|
|
438
|
+
/**
|
|
439
|
+
* SkipCRDs tells the Helm install action to not install any CRDs. By default,
|
|
440
|
+
* CRDs are installed if not already present.
|
|
441
|
+
*
|
|
442
|
+
* Deprecated use CRD policy (`crds`) attribute with value `Skip` instead.
|
|
443
|
+
*
|
|
444
|
+
* @schema HelmReleaseSpecInstall#skipCRDs
|
|
445
|
+
*/
|
|
446
|
+
readonly skipCrDs?: boolean;
|
|
447
|
+
/**
|
|
448
|
+
* Timeout is the time to wait for any individual Kubernetes operation (like
|
|
449
|
+
* Jobs for hooks) during the performance of a Helm install action. Defaults to
|
|
450
|
+
* 'HelmReleaseSpec.Timeout'.
|
|
451
|
+
*
|
|
452
|
+
* @default HelmReleaseSpec.Timeout'.
|
|
453
|
+
* @schema HelmReleaseSpecInstall#timeout
|
|
454
|
+
*/
|
|
455
|
+
readonly timeout?: string;
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
* Converts an object of type 'HelmReleaseSpecInstall' to JSON representation.
|
|
459
|
+
*/
|
|
460
|
+
export declare function toJson_HelmReleaseSpecInstall(obj: HelmReleaseSpecInstall | undefined): Record<string, any> | undefined;
|
|
461
|
+
/**
|
|
462
|
+
* KubeConfig for reconciling the HelmRelease on a remote cluster.
|
|
463
|
+
* When used in combination with HelmReleaseSpec.ServiceAccountName,
|
|
464
|
+
* forces the controller to act on behalf of that Service Account at the
|
|
465
|
+
* target cluster.
|
|
466
|
+
* If the --default-service-account flag is set, its value will be used as
|
|
467
|
+
* a controller level fallback for when HelmReleaseSpec.ServiceAccountName
|
|
468
|
+
* is empty.
|
|
469
|
+
*
|
|
470
|
+
* @schema HelmReleaseSpecKubeConfig
|
|
471
|
+
*/
|
|
472
|
+
export interface HelmReleaseSpecKubeConfig {
|
|
473
|
+
/**
|
|
474
|
+
* SecretRef holds the name of a secret that contains a key with
|
|
475
|
+
* the kubeconfig file as the value. If no key is set, the key will default
|
|
476
|
+
* to 'value'.
|
|
477
|
+
* It is recommended that the kubeconfig is self-contained, and the secret
|
|
478
|
+
* is regularly updated if credentials such as a cloud-access-token expire.
|
|
479
|
+
* Cloud specific `cmd-path` auth helpers will not function without adding
|
|
480
|
+
* binaries and credentials to the Pod that is responsible for reconciling
|
|
481
|
+
* Kubernetes resources.
|
|
482
|
+
*
|
|
483
|
+
* @schema HelmReleaseSpecKubeConfig#secretRef
|
|
484
|
+
*/
|
|
485
|
+
readonly secretRef: HelmReleaseSpecKubeConfigSecretRef;
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* Converts an object of type 'HelmReleaseSpecKubeConfig' to JSON representation.
|
|
489
|
+
*/
|
|
490
|
+
export declare function toJson_HelmReleaseSpecKubeConfig(obj: HelmReleaseSpecKubeConfig | undefined): Record<string, any> | undefined;
|
|
491
|
+
/**
|
|
492
|
+
* PostRenderer contains a Helm PostRenderer specification.
|
|
493
|
+
*
|
|
494
|
+
* @schema HelmReleaseSpecPostRenderers
|
|
495
|
+
*/
|
|
496
|
+
export interface HelmReleaseSpecPostRenderers {
|
|
497
|
+
/**
|
|
498
|
+
* Kustomization to apply as PostRenderer.
|
|
499
|
+
*
|
|
500
|
+
* @schema HelmReleaseSpecPostRenderers#kustomize
|
|
501
|
+
*/
|
|
502
|
+
readonly kustomize?: HelmReleaseSpecPostRenderersKustomize;
|
|
503
|
+
}
|
|
504
|
+
/**
|
|
505
|
+
* Converts an object of type 'HelmReleaseSpecPostRenderers' to JSON representation.
|
|
506
|
+
*/
|
|
507
|
+
export declare function toJson_HelmReleaseSpecPostRenderers(obj: HelmReleaseSpecPostRenderers | undefined): Record<string, any> | undefined;
|
|
508
|
+
/**
|
|
509
|
+
* Rollback holds the configuration for Helm rollback actions for this HelmRelease.
|
|
510
|
+
*
|
|
511
|
+
* @schema HelmReleaseSpecRollback
|
|
512
|
+
*/
|
|
513
|
+
export interface HelmReleaseSpecRollback {
|
|
514
|
+
/**
|
|
515
|
+
* CleanupOnFail allows deletion of new resources created during the Helm
|
|
516
|
+
* rollback action when it fails.
|
|
517
|
+
*
|
|
518
|
+
* @schema HelmReleaseSpecRollback#cleanupOnFail
|
|
519
|
+
*/
|
|
520
|
+
readonly cleanupOnFail?: boolean;
|
|
521
|
+
/**
|
|
522
|
+
* DisableHooks prevents hooks from running during the Helm rollback action.
|
|
523
|
+
*
|
|
524
|
+
* @schema HelmReleaseSpecRollback#disableHooks
|
|
525
|
+
*/
|
|
526
|
+
readonly disableHooks?: boolean;
|
|
527
|
+
/**
|
|
528
|
+
* DisableWait disables the waiting for resources to be ready after a Helm
|
|
529
|
+
* rollback has been performed.
|
|
530
|
+
*
|
|
531
|
+
* @schema HelmReleaseSpecRollback#disableWait
|
|
532
|
+
*/
|
|
533
|
+
readonly disableWait?: boolean;
|
|
534
|
+
/**
|
|
535
|
+
* DisableWaitForJobs disables waiting for jobs to complete after a Helm
|
|
536
|
+
* rollback has been performed.
|
|
537
|
+
*
|
|
538
|
+
* @schema HelmReleaseSpecRollback#disableWaitForJobs
|
|
539
|
+
*/
|
|
540
|
+
readonly disableWaitForJobs?: boolean;
|
|
541
|
+
/**
|
|
542
|
+
* Force forces resource updates through a replacement strategy.
|
|
543
|
+
*
|
|
544
|
+
* @schema HelmReleaseSpecRollback#force
|
|
545
|
+
*/
|
|
546
|
+
readonly force?: boolean;
|
|
547
|
+
/**
|
|
548
|
+
* Recreate performs pod restarts for the resource if applicable.
|
|
549
|
+
*
|
|
550
|
+
* @schema HelmReleaseSpecRollback#recreate
|
|
551
|
+
*/
|
|
552
|
+
readonly recreate?: boolean;
|
|
553
|
+
/**
|
|
554
|
+
* Timeout is the time to wait for any individual Kubernetes operation (like
|
|
555
|
+
* Jobs for hooks) during the performance of a Helm rollback action. Defaults to
|
|
556
|
+
* 'HelmReleaseSpec.Timeout'.
|
|
557
|
+
*
|
|
558
|
+
* @default HelmReleaseSpec.Timeout'.
|
|
559
|
+
* @schema HelmReleaseSpecRollback#timeout
|
|
560
|
+
*/
|
|
561
|
+
readonly timeout?: string;
|
|
562
|
+
}
|
|
563
|
+
/**
|
|
564
|
+
* Converts an object of type 'HelmReleaseSpecRollback' to JSON representation.
|
|
565
|
+
*/
|
|
566
|
+
export declare function toJson_HelmReleaseSpecRollback(obj: HelmReleaseSpecRollback | undefined): Record<string, any> | undefined;
|
|
567
|
+
/**
|
|
568
|
+
* Test holds the configuration for Helm test actions for this HelmRelease.
|
|
569
|
+
*
|
|
570
|
+
* @schema HelmReleaseSpecTest
|
|
571
|
+
*/
|
|
572
|
+
export interface HelmReleaseSpecTest {
|
|
573
|
+
/**
|
|
574
|
+
* Enable enables Helm test actions for this HelmRelease after an Helm install
|
|
575
|
+
* or upgrade action has been performed.
|
|
576
|
+
*
|
|
577
|
+
* @schema HelmReleaseSpecTest#enable
|
|
578
|
+
*/
|
|
579
|
+
readonly enable?: boolean;
|
|
580
|
+
/**
|
|
581
|
+
* Filters is a list of tests to run or exclude from running.
|
|
582
|
+
*
|
|
583
|
+
* @schema HelmReleaseSpecTest#filters
|
|
584
|
+
*/
|
|
585
|
+
readonly filters?: HelmReleaseSpecTestFilters[];
|
|
586
|
+
/**
|
|
587
|
+
* IgnoreFailures tells the controller to skip remediation when the Helm tests
|
|
588
|
+
* are run but fail. Can be overwritten for tests run after install or upgrade
|
|
589
|
+
* actions in 'Install.IgnoreTestFailures' and 'Upgrade.IgnoreTestFailures'.
|
|
590
|
+
*
|
|
591
|
+
* @schema HelmReleaseSpecTest#ignoreFailures
|
|
592
|
+
*/
|
|
593
|
+
readonly ignoreFailures?: boolean;
|
|
594
|
+
/**
|
|
595
|
+
* Timeout is the time to wait for any individual Kubernetes operation during
|
|
596
|
+
* the performance of a Helm test action. Defaults to 'HelmReleaseSpec.Timeout'.
|
|
597
|
+
*
|
|
598
|
+
* @default HelmReleaseSpec.Timeout'.
|
|
599
|
+
* @schema HelmReleaseSpecTest#timeout
|
|
600
|
+
*/
|
|
601
|
+
readonly timeout?: string;
|
|
602
|
+
}
|
|
603
|
+
/**
|
|
604
|
+
* Converts an object of type 'HelmReleaseSpecTest' to JSON representation.
|
|
605
|
+
*/
|
|
606
|
+
export declare function toJson_HelmReleaseSpecTest(obj: HelmReleaseSpecTest | undefined): Record<string, any> | undefined;
|
|
607
|
+
/**
|
|
608
|
+
* Uninstall holds the configuration for Helm uninstall actions for this HelmRelease.
|
|
609
|
+
*
|
|
610
|
+
* @schema HelmReleaseSpecUninstall
|
|
611
|
+
*/
|
|
612
|
+
export interface HelmReleaseSpecUninstall {
|
|
613
|
+
/**
|
|
614
|
+
* DeletionPropagation specifies the deletion propagation policy when
|
|
615
|
+
* a Helm uninstall is performed.
|
|
616
|
+
*
|
|
617
|
+
* @schema HelmReleaseSpecUninstall#deletionPropagation
|
|
618
|
+
*/
|
|
619
|
+
readonly deletionPropagation?: HelmReleaseSpecUninstallDeletionPropagation;
|
|
620
|
+
/**
|
|
621
|
+
* DisableHooks prevents hooks from running during the Helm rollback action.
|
|
622
|
+
*
|
|
623
|
+
* @schema HelmReleaseSpecUninstall#disableHooks
|
|
624
|
+
*/
|
|
625
|
+
readonly disableHooks?: boolean;
|
|
626
|
+
/**
|
|
627
|
+
* DisableWait disables waiting for all the resources to be deleted after
|
|
628
|
+
* a Helm uninstall is performed.
|
|
629
|
+
*
|
|
630
|
+
* @schema HelmReleaseSpecUninstall#disableWait
|
|
631
|
+
*/
|
|
632
|
+
readonly disableWait?: boolean;
|
|
633
|
+
/**
|
|
634
|
+
* KeepHistory tells Helm to remove all associated resources and mark the
|
|
635
|
+
* release as deleted, but retain the release history.
|
|
636
|
+
*
|
|
637
|
+
* @schema HelmReleaseSpecUninstall#keepHistory
|
|
638
|
+
*/
|
|
639
|
+
readonly keepHistory?: boolean;
|
|
640
|
+
/**
|
|
641
|
+
* Timeout is the time to wait for any individual Kubernetes operation (like
|
|
642
|
+
* Jobs for hooks) during the performance of a Helm uninstall action. Defaults
|
|
643
|
+
* to 'HelmReleaseSpec.Timeout'.
|
|
644
|
+
*
|
|
645
|
+
* @default HelmReleaseSpec.Timeout'.
|
|
646
|
+
* @schema HelmReleaseSpecUninstall#timeout
|
|
647
|
+
*/
|
|
648
|
+
readonly timeout?: string;
|
|
649
|
+
}
|
|
650
|
+
/**
|
|
651
|
+
* Converts an object of type 'HelmReleaseSpecUninstall' to JSON representation.
|
|
652
|
+
*/
|
|
653
|
+
export declare function toJson_HelmReleaseSpecUninstall(obj: HelmReleaseSpecUninstall | undefined): Record<string, any> | undefined;
|
|
654
|
+
/**
|
|
655
|
+
* Upgrade holds the configuration for Helm upgrade actions for this HelmRelease.
|
|
656
|
+
*
|
|
657
|
+
* @schema HelmReleaseSpecUpgrade
|
|
658
|
+
*/
|
|
659
|
+
export interface HelmReleaseSpecUpgrade {
|
|
660
|
+
/**
|
|
661
|
+
* CleanupOnFail allows deletion of new resources created during the Helm
|
|
662
|
+
* upgrade action when it fails.
|
|
663
|
+
*
|
|
664
|
+
* @schema HelmReleaseSpecUpgrade#cleanupOnFail
|
|
665
|
+
*/
|
|
666
|
+
readonly cleanupOnFail?: boolean;
|
|
667
|
+
/**
|
|
668
|
+
* CRDs upgrade CRDs from the Helm Chart's crds directory according
|
|
669
|
+
* to the CRD upgrade policy provided here. Valid values are `Skip`,
|
|
670
|
+
* `Create` or `CreateReplace`. Default is `Skip` and if omitted
|
|
671
|
+
* CRDs are neither installed nor upgraded.
|
|
672
|
+
*
|
|
673
|
+
* Skip: do neither install nor replace (update) any CRDs.
|
|
674
|
+
*
|
|
675
|
+
* Create: new CRDs are created, existing CRDs are neither updated nor deleted.
|
|
676
|
+
*
|
|
677
|
+
* CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
|
|
678
|
+
* but not deleted.
|
|
679
|
+
*
|
|
680
|
+
* By default, CRDs are not applied during Helm upgrade action. With this
|
|
681
|
+
* option users can opt-in to CRD upgrade, which is not (yet) natively supported by Helm.
|
|
682
|
+
* https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
|
|
683
|
+
*
|
|
684
|
+
* @default Skip` and if omitted
|
|
685
|
+
* @schema HelmReleaseSpecUpgrade#crds
|
|
686
|
+
*/
|
|
687
|
+
readonly crds?: HelmReleaseSpecUpgradeCrds;
|
|
688
|
+
/**
|
|
689
|
+
* DisableHooks prevents hooks from running during the Helm upgrade action.
|
|
690
|
+
*
|
|
691
|
+
* @schema HelmReleaseSpecUpgrade#disableHooks
|
|
692
|
+
*/
|
|
693
|
+
readonly disableHooks?: boolean;
|
|
694
|
+
/**
|
|
695
|
+
* DisableOpenAPIValidation prevents the Helm upgrade action from validating
|
|
696
|
+
* rendered templates against the Kubernetes OpenAPI Schema.
|
|
697
|
+
*
|
|
698
|
+
* @schema HelmReleaseSpecUpgrade#disableOpenAPIValidation
|
|
699
|
+
*/
|
|
700
|
+
readonly disableOpenApiValidation?: boolean;
|
|
701
|
+
/**
|
|
702
|
+
* DisableSchemaValidation prevents the Helm upgrade action from validating
|
|
703
|
+
* the values against the JSON Schema.
|
|
704
|
+
*
|
|
705
|
+
* @schema HelmReleaseSpecUpgrade#disableSchemaValidation
|
|
706
|
+
*/
|
|
707
|
+
readonly disableSchemaValidation?: boolean;
|
|
708
|
+
/**
|
|
709
|
+
* DisableTakeOwnership disables taking ownership of existing resources
|
|
710
|
+
* during the Helm upgrade action. Defaults to false.
|
|
711
|
+
*
|
|
712
|
+
* @default false.
|
|
713
|
+
* @schema HelmReleaseSpecUpgrade#disableTakeOwnership
|
|
714
|
+
*/
|
|
715
|
+
readonly disableTakeOwnership?: boolean;
|
|
716
|
+
/**
|
|
717
|
+
* DisableWait disables the waiting for resources to be ready after a Helm
|
|
718
|
+
* upgrade has been performed.
|
|
719
|
+
*
|
|
720
|
+
* @schema HelmReleaseSpecUpgrade#disableWait
|
|
721
|
+
*/
|
|
722
|
+
readonly disableWait?: boolean;
|
|
723
|
+
/**
|
|
724
|
+
* DisableWaitForJobs disables waiting for jobs to complete after a Helm
|
|
725
|
+
* upgrade has been performed.
|
|
726
|
+
*
|
|
727
|
+
* @schema HelmReleaseSpecUpgrade#disableWaitForJobs
|
|
728
|
+
*/
|
|
729
|
+
readonly disableWaitForJobs?: boolean;
|
|
730
|
+
/**
|
|
731
|
+
* Force forces resource updates through a replacement strategy.
|
|
732
|
+
*
|
|
733
|
+
* @schema HelmReleaseSpecUpgrade#force
|
|
734
|
+
*/
|
|
735
|
+
readonly force?: boolean;
|
|
736
|
+
/**
|
|
737
|
+
* PreserveValues will make Helm reuse the last release's values and merge in
|
|
738
|
+
* overrides from 'Values'. Setting this flag makes the HelmRelease
|
|
739
|
+
* non-declarative.
|
|
740
|
+
*
|
|
741
|
+
* @schema HelmReleaseSpecUpgrade#preserveValues
|
|
742
|
+
*/
|
|
743
|
+
readonly preserveValues?: boolean;
|
|
744
|
+
/**
|
|
745
|
+
* Remediation holds the remediation configuration for when the Helm upgrade
|
|
746
|
+
* action for the HelmRelease fails. The default is to not perform any action.
|
|
747
|
+
*
|
|
748
|
+
* @schema HelmReleaseSpecUpgrade#remediation
|
|
749
|
+
*/
|
|
750
|
+
readonly remediation?: HelmReleaseSpecUpgradeRemediation;
|
|
751
|
+
/**
|
|
752
|
+
* Timeout is the time to wait for any individual Kubernetes operation (like
|
|
753
|
+
* Jobs for hooks) during the performance of a Helm upgrade action. Defaults to
|
|
754
|
+
* 'HelmReleaseSpec.Timeout'.
|
|
755
|
+
*
|
|
756
|
+
* @default HelmReleaseSpec.Timeout'.
|
|
757
|
+
* @schema HelmReleaseSpecUpgrade#timeout
|
|
758
|
+
*/
|
|
759
|
+
readonly timeout?: string;
|
|
760
|
+
}
|
|
761
|
+
/**
|
|
762
|
+
* Converts an object of type 'HelmReleaseSpecUpgrade' to JSON representation.
|
|
763
|
+
*/
|
|
764
|
+
export declare function toJson_HelmReleaseSpecUpgrade(obj: HelmReleaseSpecUpgrade | undefined): Record<string, any> | undefined;
|
|
765
|
+
/**
|
|
766
|
+
* ValuesReference contains a reference to a resource containing Helm values,
|
|
767
|
+
* and optionally the key they can be found at.
|
|
768
|
+
*
|
|
769
|
+
* @schema HelmReleaseSpecValuesFrom
|
|
770
|
+
*/
|
|
771
|
+
export interface HelmReleaseSpecValuesFrom {
|
|
772
|
+
/**
|
|
773
|
+
* Kind of the values referent, valid values are ('Secret', 'ConfigMap').
|
|
774
|
+
*
|
|
775
|
+
* @schema HelmReleaseSpecValuesFrom#kind
|
|
776
|
+
*/
|
|
777
|
+
readonly kind: HelmReleaseSpecValuesFromKind;
|
|
778
|
+
/**
|
|
779
|
+
* Name of the values referent. Should reside in the same namespace as the
|
|
780
|
+
* referring resource.
|
|
781
|
+
*
|
|
782
|
+
* @schema HelmReleaseSpecValuesFrom#name
|
|
783
|
+
*/
|
|
784
|
+
readonly name: string;
|
|
785
|
+
/**
|
|
786
|
+
* Optional marks this ValuesReference as optional. When set, a not found error
|
|
787
|
+
* for the values reference is ignored, but any ValuesKey, TargetPath or
|
|
788
|
+
* transient error will still result in a reconciliation failure.
|
|
789
|
+
*
|
|
790
|
+
* @schema HelmReleaseSpecValuesFrom#optional
|
|
791
|
+
*/
|
|
792
|
+
readonly optional?: boolean;
|
|
793
|
+
/**
|
|
794
|
+
* TargetPath is the YAML dot notation path the value should be merged at. When
|
|
795
|
+
* set, the ValuesKey is expected to be a single flat value. Defaults to 'None',
|
|
796
|
+
* which results in the values getting merged at the root.
|
|
797
|
+
*
|
|
798
|
+
* @default None',
|
|
799
|
+
* @schema HelmReleaseSpecValuesFrom#targetPath
|
|
800
|
+
*/
|
|
801
|
+
readonly targetPath?: string;
|
|
802
|
+
/**
|
|
803
|
+
* ValuesKey is the data key where the values.yaml or a specific value can be
|
|
804
|
+
* found at. Defaults to 'values.yaml'.
|
|
805
|
+
*
|
|
806
|
+
* @default values.yaml'.
|
|
807
|
+
* @schema HelmReleaseSpecValuesFrom#valuesKey
|
|
808
|
+
*/
|
|
809
|
+
readonly valuesKey?: string;
|
|
810
|
+
}
|
|
811
|
+
/**
|
|
812
|
+
* Converts an object of type 'HelmReleaseSpecValuesFrom' to JSON representation.
|
|
813
|
+
*/
|
|
814
|
+
export declare function toJson_HelmReleaseSpecValuesFrom(obj: HelmReleaseSpecValuesFrom | undefined): Record<string, any> | undefined;
|
|
815
|
+
/**
|
|
816
|
+
* ObjectMeta holds the template for metadata like labels and annotations.
|
|
817
|
+
*
|
|
818
|
+
* @schema HelmReleaseSpecChartMetadata
|
|
819
|
+
*/
|
|
820
|
+
export interface HelmReleaseSpecChartMetadata {
|
|
821
|
+
/**
|
|
822
|
+
* Annotations is an unstructured key value map stored with a resource that may be
|
|
823
|
+
* set by external tools to store and retrieve arbitrary metadata. They are not
|
|
824
|
+
* queryable and should be preserved when modifying objects.
|
|
825
|
+
* More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
826
|
+
*
|
|
827
|
+
* @schema HelmReleaseSpecChartMetadata#annotations
|
|
828
|
+
*/
|
|
829
|
+
readonly annotations?: {
|
|
830
|
+
[key: string]: string;
|
|
831
|
+
};
|
|
832
|
+
/**
|
|
833
|
+
* Map of string keys and values that can be used to organize and categorize
|
|
834
|
+
* (scope and select) objects.
|
|
835
|
+
* More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
|
836
|
+
*
|
|
837
|
+
* @schema HelmReleaseSpecChartMetadata#labels
|
|
838
|
+
*/
|
|
839
|
+
readonly labels?: {
|
|
840
|
+
[key: string]: string;
|
|
841
|
+
};
|
|
842
|
+
}
|
|
843
|
+
/**
|
|
844
|
+
* Converts an object of type 'HelmReleaseSpecChartMetadata' to JSON representation.
|
|
845
|
+
*/
|
|
846
|
+
export declare function toJson_HelmReleaseSpecChartMetadata(obj: HelmReleaseSpecChartMetadata | undefined): Record<string, any> | undefined;
|
|
847
|
+
/**
|
|
848
|
+
* Spec holds the template for the v1.HelmChartSpec for this HelmRelease.
|
|
849
|
+
*
|
|
850
|
+
* @schema HelmReleaseSpecChartSpec
|
|
851
|
+
*/
|
|
852
|
+
export interface HelmReleaseSpecChartSpec {
|
|
853
|
+
/**
|
|
854
|
+
* The name or path the Helm chart is available at in the SourceRef.
|
|
855
|
+
*
|
|
856
|
+
* @schema HelmReleaseSpecChartSpec#chart
|
|
857
|
+
*/
|
|
858
|
+
readonly chart: string;
|
|
859
|
+
/**
|
|
860
|
+
* IgnoreMissingValuesFiles controls whether to silently ignore missing values files rather than failing.
|
|
861
|
+
*
|
|
862
|
+
* @schema HelmReleaseSpecChartSpec#ignoreMissingValuesFiles
|
|
863
|
+
*/
|
|
864
|
+
readonly ignoreMissingValuesFiles?: boolean;
|
|
865
|
+
/**
|
|
866
|
+
* Interval at which to check the v1.Source for updates. Defaults to
|
|
867
|
+
* 'HelmReleaseSpec.Interval'.
|
|
868
|
+
*
|
|
869
|
+
* @default HelmReleaseSpec.Interval'.
|
|
870
|
+
* @schema HelmReleaseSpecChartSpec#interval
|
|
871
|
+
*/
|
|
872
|
+
readonly interval?: string;
|
|
873
|
+
/**
|
|
874
|
+
* Determines what enables the creation of a new artifact. Valid values are
|
|
875
|
+
* ('ChartVersion', 'Revision').
|
|
876
|
+
* See the documentation of the values for an explanation on their behavior.
|
|
877
|
+
* Defaults to ChartVersion when omitted.
|
|
878
|
+
*
|
|
879
|
+
* @default ChartVersion when omitted.
|
|
880
|
+
* @schema HelmReleaseSpecChartSpec#reconcileStrategy
|
|
881
|
+
*/
|
|
882
|
+
readonly reconcileStrategy?: HelmReleaseSpecChartSpecReconcileStrategy;
|
|
883
|
+
/**
|
|
884
|
+
* The name and namespace of the v1.Source the chart is available at.
|
|
885
|
+
*
|
|
886
|
+
* @schema HelmReleaseSpecChartSpec#sourceRef
|
|
887
|
+
*/
|
|
888
|
+
readonly sourceRef: HelmReleaseSpecChartSpecSourceRef;
|
|
889
|
+
/**
|
|
890
|
+
* Alternative list of values files to use as the chart values (values.yaml
|
|
891
|
+
* is not included by default), expected to be a relative path in the SourceRef.
|
|
892
|
+
* Values files are merged in the order of this list with the last file overriding
|
|
893
|
+
* the first. Ignored when omitted.
|
|
894
|
+
*
|
|
895
|
+
* @schema HelmReleaseSpecChartSpec#valuesFiles
|
|
896
|
+
*/
|
|
897
|
+
readonly valuesFiles?: string[];
|
|
898
|
+
/**
|
|
899
|
+
* Verify contains the secret name containing the trusted public keys
|
|
900
|
+
* used to verify the signature and specifies which provider to use to check
|
|
901
|
+
* whether OCI image is authentic.
|
|
902
|
+
* This field is only supported for OCI sources.
|
|
903
|
+
* Chart dependencies, which are not bundled in the umbrella chart artifact,
|
|
904
|
+
* are not verified.
|
|
905
|
+
*
|
|
906
|
+
* @schema HelmReleaseSpecChartSpec#verify
|
|
907
|
+
*/
|
|
908
|
+
readonly verify?: HelmReleaseSpecChartSpecVerify;
|
|
909
|
+
/**
|
|
910
|
+
* Version semver expression, ignored for charts from v1.GitRepository and
|
|
911
|
+
* v1beta2.Bucket sources. Defaults to latest when omitted.
|
|
912
|
+
*
|
|
913
|
+
* @default latest when omitted.
|
|
914
|
+
* @schema HelmReleaseSpecChartSpec#version
|
|
915
|
+
*/
|
|
916
|
+
readonly version?: string;
|
|
917
|
+
}
|
|
918
|
+
/**
|
|
919
|
+
* Converts an object of type 'HelmReleaseSpecChartSpec' to JSON representation.
|
|
920
|
+
*/
|
|
921
|
+
export declare function toJson_HelmReleaseSpecChartSpec(obj: HelmReleaseSpecChartSpec | undefined): Record<string, any> | undefined;
|
|
922
|
+
/**
|
|
923
|
+
* Kind of the referent.
|
|
924
|
+
*
|
|
925
|
+
* @schema HelmReleaseSpecChartRefKind
|
|
926
|
+
*/
|
|
927
|
+
export declare enum HelmReleaseSpecChartRefKind {
|
|
928
|
+
/** OCIRepository */
|
|
929
|
+
OCI_REPOSITORY = "OCIRepository",
|
|
930
|
+
/** HelmChart */
|
|
931
|
+
HELM_CHART = "HelmChart"
|
|
932
|
+
}
|
|
933
|
+
/**
|
|
934
|
+
* IgnoreRule defines a rule to selectively disregard specific changes during
|
|
935
|
+
* the drift detection process.
|
|
936
|
+
*
|
|
937
|
+
* @schema HelmReleaseSpecDriftDetectionIgnore
|
|
938
|
+
*/
|
|
939
|
+
export interface HelmReleaseSpecDriftDetectionIgnore {
|
|
940
|
+
/**
|
|
941
|
+
* Paths is a list of JSON Pointer (RFC 6901) paths to be excluded from
|
|
942
|
+
* consideration in a Kubernetes object.
|
|
943
|
+
*
|
|
944
|
+
* @schema HelmReleaseSpecDriftDetectionIgnore#paths
|
|
945
|
+
*/
|
|
946
|
+
readonly paths: string[];
|
|
947
|
+
/**
|
|
948
|
+
* Target is a selector for specifying Kubernetes objects to which this
|
|
949
|
+
* rule applies.
|
|
950
|
+
* If Target is not set, the Paths will be ignored for all Kubernetes
|
|
951
|
+
* objects within the manifest of the Helm release.
|
|
952
|
+
*
|
|
953
|
+
* @schema HelmReleaseSpecDriftDetectionIgnore#target
|
|
954
|
+
*/
|
|
955
|
+
readonly target?: HelmReleaseSpecDriftDetectionIgnoreTarget;
|
|
956
|
+
}
|
|
957
|
+
/**
|
|
958
|
+
* Converts an object of type 'HelmReleaseSpecDriftDetectionIgnore' to JSON representation.
|
|
959
|
+
*/
|
|
960
|
+
export declare function toJson_HelmReleaseSpecDriftDetectionIgnore(obj: HelmReleaseSpecDriftDetectionIgnore | undefined): Record<string, any> | undefined;
|
|
961
|
+
/**
|
|
962
|
+
* Mode defines how differences should be handled between the Helm manifest
|
|
963
|
+
* and the manifest currently applied to the cluster.
|
|
964
|
+
* If not explicitly set, it defaults to DiffModeDisabled.
|
|
965
|
+
*
|
|
966
|
+
* @schema HelmReleaseSpecDriftDetectionMode
|
|
967
|
+
*/
|
|
968
|
+
export declare enum HelmReleaseSpecDriftDetectionMode {
|
|
969
|
+
/** enabled */
|
|
970
|
+
ENABLED = "enabled",
|
|
971
|
+
/** warn */
|
|
972
|
+
WARN = "warn",
|
|
973
|
+
/** disabled */
|
|
974
|
+
DISABLED = "disabled"
|
|
975
|
+
}
|
|
976
|
+
/**
|
|
977
|
+
* CRDs upgrade CRDs from the Helm Chart's crds directory according
|
|
978
|
+
* to the CRD upgrade policy provided here. Valid values are `Skip`,
|
|
979
|
+
* `Create` or `CreateReplace`. Default is `Create` and if omitted
|
|
980
|
+
* CRDs are installed but not updated.
|
|
981
|
+
*
|
|
982
|
+
* Skip: do neither install nor replace (update) any CRDs.
|
|
983
|
+
*
|
|
984
|
+
* Create: new CRDs are created, existing CRDs are neither updated nor deleted.
|
|
985
|
+
*
|
|
986
|
+
* CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
|
|
987
|
+
* but not deleted.
|
|
988
|
+
*
|
|
989
|
+
* By default, CRDs are applied (installed) during Helm install action.
|
|
990
|
+
* With this option users can opt in to CRD replace existing CRDs on Helm
|
|
991
|
+
* install actions, which is not (yet) natively supported by Helm.
|
|
992
|
+
* https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
|
|
993
|
+
*
|
|
994
|
+
* @default Create` and if omitted
|
|
995
|
+
* @schema HelmReleaseSpecInstallCrds
|
|
996
|
+
*/
|
|
997
|
+
export declare enum HelmReleaseSpecInstallCrds {
|
|
998
|
+
/** Skip */
|
|
999
|
+
SKIP = "Skip",
|
|
1000
|
+
/** Create */
|
|
1001
|
+
CREATE = "Create",
|
|
1002
|
+
/** CreateReplace */
|
|
1003
|
+
CREATE_REPLACE = "CreateReplace"
|
|
1004
|
+
}
|
|
1005
|
+
/**
|
|
1006
|
+
* Remediation holds the remediation configuration for when the Helm install
|
|
1007
|
+
* action for the HelmRelease fails. The default is to not perform any action.
|
|
1008
|
+
*
|
|
1009
|
+
* @schema HelmReleaseSpecInstallRemediation
|
|
1010
|
+
*/
|
|
1011
|
+
export interface HelmReleaseSpecInstallRemediation {
|
|
1012
|
+
/**
|
|
1013
|
+
* IgnoreTestFailures tells the controller to skip remediation when the Helm
|
|
1014
|
+
* tests are run after an install action but fail. Defaults to
|
|
1015
|
+
* 'Test.IgnoreFailures'.
|
|
1016
|
+
*
|
|
1017
|
+
* @default Test.IgnoreFailures'.
|
|
1018
|
+
* @schema HelmReleaseSpecInstallRemediation#ignoreTestFailures
|
|
1019
|
+
*/
|
|
1020
|
+
readonly ignoreTestFailures?: boolean;
|
|
1021
|
+
/**
|
|
1022
|
+
* RemediateLastFailure tells the controller to remediate the last failure, when
|
|
1023
|
+
* no retries remain. Defaults to 'false'.
|
|
1024
|
+
*
|
|
1025
|
+
* @default false'.
|
|
1026
|
+
* @schema HelmReleaseSpecInstallRemediation#remediateLastFailure
|
|
1027
|
+
*/
|
|
1028
|
+
readonly remediateLastFailure?: boolean;
|
|
1029
|
+
/**
|
|
1030
|
+
* Retries is the number of retries that should be attempted on failures before
|
|
1031
|
+
* bailing. Remediation, using an uninstall, is performed between each attempt.
|
|
1032
|
+
* Defaults to '0', a negative integer equals to unlimited retries.
|
|
1033
|
+
*
|
|
1034
|
+
* @default 0', a negative integer equals to unlimited retries.
|
|
1035
|
+
* @schema HelmReleaseSpecInstallRemediation#retries
|
|
1036
|
+
*/
|
|
1037
|
+
readonly retries?: number;
|
|
1038
|
+
}
|
|
1039
|
+
/**
|
|
1040
|
+
* Converts an object of type 'HelmReleaseSpecInstallRemediation' to JSON representation.
|
|
1041
|
+
*/
|
|
1042
|
+
export declare function toJson_HelmReleaseSpecInstallRemediation(obj: HelmReleaseSpecInstallRemediation | undefined): Record<string, any> | undefined;
|
|
1043
|
+
/**
|
|
1044
|
+
* SecretRef holds the name of a secret that contains a key with
|
|
1045
|
+
* the kubeconfig file as the value. If no key is set, the key will default
|
|
1046
|
+
* to 'value'.
|
|
1047
|
+
* It is recommended that the kubeconfig is self-contained, and the secret
|
|
1048
|
+
* is regularly updated if credentials such as a cloud-access-token expire.
|
|
1049
|
+
* Cloud specific `cmd-path` auth helpers will not function without adding
|
|
1050
|
+
* binaries and credentials to the Pod that is responsible for reconciling
|
|
1051
|
+
* Kubernetes resources.
|
|
1052
|
+
*
|
|
1053
|
+
* @schema HelmReleaseSpecKubeConfigSecretRef
|
|
1054
|
+
*/
|
|
1055
|
+
export interface HelmReleaseSpecKubeConfigSecretRef {
|
|
1056
|
+
/**
|
|
1057
|
+
* Key in the Secret, when not specified an implementation-specific default key is used.
|
|
1058
|
+
*
|
|
1059
|
+
* @schema HelmReleaseSpecKubeConfigSecretRef#key
|
|
1060
|
+
*/
|
|
1061
|
+
readonly key?: string;
|
|
1062
|
+
/**
|
|
1063
|
+
* Name of the Secret.
|
|
1064
|
+
*
|
|
1065
|
+
* @schema HelmReleaseSpecKubeConfigSecretRef#name
|
|
1066
|
+
*/
|
|
1067
|
+
readonly name: string;
|
|
1068
|
+
}
|
|
1069
|
+
/**
|
|
1070
|
+
* Converts an object of type 'HelmReleaseSpecKubeConfigSecretRef' to JSON representation.
|
|
1071
|
+
*/
|
|
1072
|
+
export declare function toJson_HelmReleaseSpecKubeConfigSecretRef(obj: HelmReleaseSpecKubeConfigSecretRef | undefined): Record<string, any> | undefined;
|
|
1073
|
+
/**
|
|
1074
|
+
* Kustomization to apply as PostRenderer.
|
|
1075
|
+
*
|
|
1076
|
+
* @schema HelmReleaseSpecPostRenderersKustomize
|
|
1077
|
+
*/
|
|
1078
|
+
export interface HelmReleaseSpecPostRenderersKustomize {
|
|
1079
|
+
/**
|
|
1080
|
+
* Images is a list of (image name, new name, new tag or digest)
|
|
1081
|
+
* for changing image names, tags or digests. This can also be achieved with a
|
|
1082
|
+
* patch, but this operator is simpler to specify.
|
|
1083
|
+
*
|
|
1084
|
+
* @schema HelmReleaseSpecPostRenderersKustomize#images
|
|
1085
|
+
*/
|
|
1086
|
+
readonly images?: HelmReleaseSpecPostRenderersKustomizeImages[];
|
|
1087
|
+
/**
|
|
1088
|
+
* Strategic merge and JSON patches, defined as inline YAML objects,
|
|
1089
|
+
* capable of targeting objects based on kind, label and annotation selectors.
|
|
1090
|
+
*
|
|
1091
|
+
* @schema HelmReleaseSpecPostRenderersKustomize#patches
|
|
1092
|
+
*/
|
|
1093
|
+
readonly patches?: HelmReleaseSpecPostRenderersKustomizePatches[];
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
* Converts an object of type 'HelmReleaseSpecPostRenderersKustomize' to JSON representation.
|
|
1097
|
+
*/
|
|
1098
|
+
export declare function toJson_HelmReleaseSpecPostRenderersKustomize(obj: HelmReleaseSpecPostRenderersKustomize | undefined): Record<string, any> | undefined;
|
|
1099
|
+
/**
|
|
1100
|
+
* Filter holds the configuration for individual Helm test filters.
|
|
1101
|
+
*
|
|
1102
|
+
* @schema HelmReleaseSpecTestFilters
|
|
1103
|
+
*/
|
|
1104
|
+
export interface HelmReleaseSpecTestFilters {
|
|
1105
|
+
/**
|
|
1106
|
+
* Exclude specifies whether the named test should be excluded.
|
|
1107
|
+
*
|
|
1108
|
+
* @schema HelmReleaseSpecTestFilters#exclude
|
|
1109
|
+
*/
|
|
1110
|
+
readonly exclude?: boolean;
|
|
1111
|
+
/**
|
|
1112
|
+
* Name is the name of the test.
|
|
1113
|
+
*
|
|
1114
|
+
* @schema HelmReleaseSpecTestFilters#name
|
|
1115
|
+
*/
|
|
1116
|
+
readonly name: string;
|
|
1117
|
+
}
|
|
1118
|
+
/**
|
|
1119
|
+
* Converts an object of type 'HelmReleaseSpecTestFilters' to JSON representation.
|
|
1120
|
+
*/
|
|
1121
|
+
export declare function toJson_HelmReleaseSpecTestFilters(obj: HelmReleaseSpecTestFilters | undefined): Record<string, any> | undefined;
|
|
1122
|
+
/**
|
|
1123
|
+
* DeletionPropagation specifies the deletion propagation policy when
|
|
1124
|
+
* a Helm uninstall is performed.
|
|
1125
|
+
*
|
|
1126
|
+
* @schema HelmReleaseSpecUninstallDeletionPropagation
|
|
1127
|
+
*/
|
|
1128
|
+
export declare enum HelmReleaseSpecUninstallDeletionPropagation {
|
|
1129
|
+
/** background */
|
|
1130
|
+
BACKGROUND = "background",
|
|
1131
|
+
/** foreground */
|
|
1132
|
+
FOREGROUND = "foreground",
|
|
1133
|
+
/** orphan */
|
|
1134
|
+
ORPHAN = "orphan"
|
|
1135
|
+
}
|
|
1136
|
+
/**
|
|
1137
|
+
* CRDs upgrade CRDs from the Helm Chart's crds directory according
|
|
1138
|
+
* to the CRD upgrade policy provided here. Valid values are `Skip`,
|
|
1139
|
+
* `Create` or `CreateReplace`. Default is `Skip` and if omitted
|
|
1140
|
+
* CRDs are neither installed nor upgraded.
|
|
1141
|
+
*
|
|
1142
|
+
* Skip: do neither install nor replace (update) any CRDs.
|
|
1143
|
+
*
|
|
1144
|
+
* Create: new CRDs are created, existing CRDs are neither updated nor deleted.
|
|
1145
|
+
*
|
|
1146
|
+
* CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
|
|
1147
|
+
* but not deleted.
|
|
1148
|
+
*
|
|
1149
|
+
* By default, CRDs are not applied during Helm upgrade action. With this
|
|
1150
|
+
* option users can opt-in to CRD upgrade, which is not (yet) natively supported by Helm.
|
|
1151
|
+
* https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
|
|
1152
|
+
*
|
|
1153
|
+
* @default Skip` and if omitted
|
|
1154
|
+
* @schema HelmReleaseSpecUpgradeCrds
|
|
1155
|
+
*/
|
|
1156
|
+
export declare enum HelmReleaseSpecUpgradeCrds {
|
|
1157
|
+
/** Skip */
|
|
1158
|
+
SKIP = "Skip",
|
|
1159
|
+
/** Create */
|
|
1160
|
+
CREATE = "Create",
|
|
1161
|
+
/** CreateReplace */
|
|
1162
|
+
CREATE_REPLACE = "CreateReplace"
|
|
1163
|
+
}
|
|
1164
|
+
/**
|
|
1165
|
+
* Remediation holds the remediation configuration for when the Helm upgrade
|
|
1166
|
+
* action for the HelmRelease fails. The default is to not perform any action.
|
|
1167
|
+
*
|
|
1168
|
+
* @schema HelmReleaseSpecUpgradeRemediation
|
|
1169
|
+
*/
|
|
1170
|
+
export interface HelmReleaseSpecUpgradeRemediation {
|
|
1171
|
+
/**
|
|
1172
|
+
* IgnoreTestFailures tells the controller to skip remediation when the Helm
|
|
1173
|
+
* tests are run after an upgrade action but fail.
|
|
1174
|
+
* Defaults to 'Test.IgnoreFailures'.
|
|
1175
|
+
*
|
|
1176
|
+
* @default Test.IgnoreFailures'.
|
|
1177
|
+
* @schema HelmReleaseSpecUpgradeRemediation#ignoreTestFailures
|
|
1178
|
+
*/
|
|
1179
|
+
readonly ignoreTestFailures?: boolean;
|
|
1180
|
+
/**
|
|
1181
|
+
* RemediateLastFailure tells the controller to remediate the last failure, when
|
|
1182
|
+
* no retries remain. Defaults to 'false' unless 'Retries' is greater than 0.
|
|
1183
|
+
*
|
|
1184
|
+
* @default false' unless 'Retries' is greater than 0.
|
|
1185
|
+
* @schema HelmReleaseSpecUpgradeRemediation#remediateLastFailure
|
|
1186
|
+
*/
|
|
1187
|
+
readonly remediateLastFailure?: boolean;
|
|
1188
|
+
/**
|
|
1189
|
+
* Retries is the number of retries that should be attempted on failures before
|
|
1190
|
+
* bailing. Remediation, using 'Strategy', is performed between each attempt.
|
|
1191
|
+
* Defaults to '0', a negative integer equals to unlimited retries.
|
|
1192
|
+
*
|
|
1193
|
+
* @default 0', a negative integer equals to unlimited retries.
|
|
1194
|
+
* @schema HelmReleaseSpecUpgradeRemediation#retries
|
|
1195
|
+
*/
|
|
1196
|
+
readonly retries?: number;
|
|
1197
|
+
/**
|
|
1198
|
+
* Strategy to use for failure remediation. Defaults to 'rollback'.
|
|
1199
|
+
*
|
|
1200
|
+
* @default rollback'.
|
|
1201
|
+
* @schema HelmReleaseSpecUpgradeRemediation#strategy
|
|
1202
|
+
*/
|
|
1203
|
+
readonly strategy?: HelmReleaseSpecUpgradeRemediationStrategy;
|
|
1204
|
+
}
|
|
1205
|
+
/**
|
|
1206
|
+
* Converts an object of type 'HelmReleaseSpecUpgradeRemediation' to JSON representation.
|
|
1207
|
+
*/
|
|
1208
|
+
export declare function toJson_HelmReleaseSpecUpgradeRemediation(obj: HelmReleaseSpecUpgradeRemediation | undefined): Record<string, any> | undefined;
|
|
1209
|
+
/**
|
|
1210
|
+
* Kind of the values referent, valid values are ('Secret', 'ConfigMap').
|
|
1211
|
+
*
|
|
1212
|
+
* @schema HelmReleaseSpecValuesFromKind
|
|
1213
|
+
*/
|
|
1214
|
+
export declare enum HelmReleaseSpecValuesFromKind {
|
|
1215
|
+
/** Secret */
|
|
1216
|
+
SECRET = "Secret",
|
|
1217
|
+
/** ConfigMap */
|
|
1218
|
+
CONFIG_MAP = "ConfigMap"
|
|
1219
|
+
}
|
|
1220
|
+
/**
|
|
1221
|
+
* Determines what enables the creation of a new artifact. Valid values are
|
|
1222
|
+
* ('ChartVersion', 'Revision').
|
|
1223
|
+
* See the documentation of the values for an explanation on their behavior.
|
|
1224
|
+
* Defaults to ChartVersion when omitted.
|
|
1225
|
+
*
|
|
1226
|
+
* @default ChartVersion when omitted.
|
|
1227
|
+
* @schema HelmReleaseSpecChartSpecReconcileStrategy
|
|
1228
|
+
*/
|
|
1229
|
+
export declare enum HelmReleaseSpecChartSpecReconcileStrategy {
|
|
1230
|
+
/** ChartVersion */
|
|
1231
|
+
CHART_VERSION = "ChartVersion",
|
|
1232
|
+
/** Revision */
|
|
1233
|
+
REVISION = "Revision"
|
|
1234
|
+
}
|
|
1235
|
+
/**
|
|
1236
|
+
* The name and namespace of the v1.Source the chart is available at.
|
|
1237
|
+
*
|
|
1238
|
+
* @schema HelmReleaseSpecChartSpecSourceRef
|
|
1239
|
+
*/
|
|
1240
|
+
export interface HelmReleaseSpecChartSpecSourceRef {
|
|
1241
|
+
/**
|
|
1242
|
+
* APIVersion of the referent.
|
|
1243
|
+
*
|
|
1244
|
+
* @schema HelmReleaseSpecChartSpecSourceRef#apiVersion
|
|
1245
|
+
*/
|
|
1246
|
+
readonly apiVersion?: string;
|
|
1247
|
+
/**
|
|
1248
|
+
* Kind of the referent.
|
|
1249
|
+
*
|
|
1250
|
+
* @schema HelmReleaseSpecChartSpecSourceRef#kind
|
|
1251
|
+
*/
|
|
1252
|
+
readonly kind: HelmReleaseSpecChartSpecSourceRefKind;
|
|
1253
|
+
/**
|
|
1254
|
+
* Name of the referent.
|
|
1255
|
+
*
|
|
1256
|
+
* @schema HelmReleaseSpecChartSpecSourceRef#name
|
|
1257
|
+
*/
|
|
1258
|
+
readonly name: string;
|
|
1259
|
+
/**
|
|
1260
|
+
* Namespace of the referent.
|
|
1261
|
+
*
|
|
1262
|
+
* @schema HelmReleaseSpecChartSpecSourceRef#namespace
|
|
1263
|
+
*/
|
|
1264
|
+
readonly namespace?: string;
|
|
1265
|
+
}
|
|
1266
|
+
/**
|
|
1267
|
+
* Converts an object of type 'HelmReleaseSpecChartSpecSourceRef' to JSON representation.
|
|
1268
|
+
*/
|
|
1269
|
+
export declare function toJson_HelmReleaseSpecChartSpecSourceRef(obj: HelmReleaseSpecChartSpecSourceRef | undefined): Record<string, any> | undefined;
|
|
1270
|
+
/**
|
|
1271
|
+
* Verify contains the secret name containing the trusted public keys
|
|
1272
|
+
* used to verify the signature and specifies which provider to use to check
|
|
1273
|
+
* whether OCI image is authentic.
|
|
1274
|
+
* This field is only supported for OCI sources.
|
|
1275
|
+
* Chart dependencies, which are not bundled in the umbrella chart artifact,
|
|
1276
|
+
* are not verified.
|
|
1277
|
+
*
|
|
1278
|
+
* @schema HelmReleaseSpecChartSpecVerify
|
|
1279
|
+
*/
|
|
1280
|
+
export interface HelmReleaseSpecChartSpecVerify {
|
|
1281
|
+
/**
|
|
1282
|
+
* Provider specifies the technology used to sign the OCI Helm chart.
|
|
1283
|
+
*
|
|
1284
|
+
* @schema HelmReleaseSpecChartSpecVerify#provider
|
|
1285
|
+
*/
|
|
1286
|
+
readonly provider: HelmReleaseSpecChartSpecVerifyProvider;
|
|
1287
|
+
/**
|
|
1288
|
+
* SecretRef specifies the Kubernetes Secret containing the
|
|
1289
|
+
* trusted public keys.
|
|
1290
|
+
*
|
|
1291
|
+
* @schema HelmReleaseSpecChartSpecVerify#secretRef
|
|
1292
|
+
*/
|
|
1293
|
+
readonly secretRef?: HelmReleaseSpecChartSpecVerifySecretRef;
|
|
1294
|
+
}
|
|
1295
|
+
/**
|
|
1296
|
+
* Converts an object of type 'HelmReleaseSpecChartSpecVerify' to JSON representation.
|
|
1297
|
+
*/
|
|
1298
|
+
export declare function toJson_HelmReleaseSpecChartSpecVerify(obj: HelmReleaseSpecChartSpecVerify | undefined): Record<string, any> | undefined;
|
|
1299
|
+
/**
|
|
1300
|
+
* Target is a selector for specifying Kubernetes objects to which this
|
|
1301
|
+
* rule applies.
|
|
1302
|
+
* If Target is not set, the Paths will be ignored for all Kubernetes
|
|
1303
|
+
* objects within the manifest of the Helm release.
|
|
1304
|
+
*
|
|
1305
|
+
* @schema HelmReleaseSpecDriftDetectionIgnoreTarget
|
|
1306
|
+
*/
|
|
1307
|
+
export interface HelmReleaseSpecDriftDetectionIgnoreTarget {
|
|
1308
|
+
/**
|
|
1309
|
+
* AnnotationSelector is a string that follows the label selection expression
|
|
1310
|
+
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
|
|
1311
|
+
* It matches with the resource annotations.
|
|
1312
|
+
*
|
|
1313
|
+
* @schema HelmReleaseSpecDriftDetectionIgnoreTarget#annotationSelector
|
|
1314
|
+
*/
|
|
1315
|
+
readonly annotationSelector?: string;
|
|
1316
|
+
/**
|
|
1317
|
+
* Group is the API group to select resources from.
|
|
1318
|
+
* Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
|
|
1319
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
1320
|
+
*
|
|
1321
|
+
* @schema HelmReleaseSpecDriftDetectionIgnoreTarget#group
|
|
1322
|
+
*/
|
|
1323
|
+
readonly group?: string;
|
|
1324
|
+
/**
|
|
1325
|
+
* Kind of the API Group to select resources from.
|
|
1326
|
+
* Together with Group and Version it is capable of unambiguously
|
|
1327
|
+
* identifying and/or selecting resources.
|
|
1328
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
1329
|
+
*
|
|
1330
|
+
* @schema HelmReleaseSpecDriftDetectionIgnoreTarget#kind
|
|
1331
|
+
*/
|
|
1332
|
+
readonly kind?: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* LabelSelector is a string that follows the label selection expression
|
|
1335
|
+
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
|
|
1336
|
+
* It matches with the resource labels.
|
|
1337
|
+
*
|
|
1338
|
+
* @schema HelmReleaseSpecDriftDetectionIgnoreTarget#labelSelector
|
|
1339
|
+
*/
|
|
1340
|
+
readonly labelSelector?: string;
|
|
1341
|
+
/**
|
|
1342
|
+
* Name to match resources with.
|
|
1343
|
+
*
|
|
1344
|
+
* @schema HelmReleaseSpecDriftDetectionIgnoreTarget#name
|
|
1345
|
+
*/
|
|
1346
|
+
readonly name?: string;
|
|
1347
|
+
/**
|
|
1348
|
+
* Namespace to select resources from.
|
|
1349
|
+
*
|
|
1350
|
+
* @schema HelmReleaseSpecDriftDetectionIgnoreTarget#namespace
|
|
1351
|
+
*/
|
|
1352
|
+
readonly namespace?: string;
|
|
1353
|
+
/**
|
|
1354
|
+
* Version of the API Group to select resources from.
|
|
1355
|
+
* Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
|
|
1356
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
1357
|
+
*
|
|
1358
|
+
* @schema HelmReleaseSpecDriftDetectionIgnoreTarget#version
|
|
1359
|
+
*/
|
|
1360
|
+
readonly version?: string;
|
|
1361
|
+
}
|
|
1362
|
+
/**
|
|
1363
|
+
* Converts an object of type 'HelmReleaseSpecDriftDetectionIgnoreTarget' to JSON representation.
|
|
1364
|
+
*/
|
|
1365
|
+
export declare function toJson_HelmReleaseSpecDriftDetectionIgnoreTarget(obj: HelmReleaseSpecDriftDetectionIgnoreTarget | undefined): Record<string, any> | undefined;
|
|
1366
|
+
/**
|
|
1367
|
+
* Image contains an image name, a new name, a new tag or digest, which will replace the original name and tag.
|
|
1368
|
+
*
|
|
1369
|
+
* @schema HelmReleaseSpecPostRenderersKustomizeImages
|
|
1370
|
+
*/
|
|
1371
|
+
export interface HelmReleaseSpecPostRenderersKustomizeImages {
|
|
1372
|
+
/**
|
|
1373
|
+
* Digest is the value used to replace the original image tag.
|
|
1374
|
+
* If digest is present NewTag value is ignored.
|
|
1375
|
+
*
|
|
1376
|
+
* @schema HelmReleaseSpecPostRenderersKustomizeImages#digest
|
|
1377
|
+
*/
|
|
1378
|
+
readonly digest?: string;
|
|
1379
|
+
/**
|
|
1380
|
+
* Name is a tag-less image name.
|
|
1381
|
+
*
|
|
1382
|
+
* @schema HelmReleaseSpecPostRenderersKustomizeImages#name
|
|
1383
|
+
*/
|
|
1384
|
+
readonly name: string;
|
|
1385
|
+
/**
|
|
1386
|
+
* NewName is the value used to replace the original name.
|
|
1387
|
+
*
|
|
1388
|
+
* @schema HelmReleaseSpecPostRenderersKustomizeImages#newName
|
|
1389
|
+
*/
|
|
1390
|
+
readonly newName?: string;
|
|
1391
|
+
/**
|
|
1392
|
+
* NewTag is the value used to replace the original tag.
|
|
1393
|
+
*
|
|
1394
|
+
* @schema HelmReleaseSpecPostRenderersKustomizeImages#newTag
|
|
1395
|
+
*/
|
|
1396
|
+
readonly newTag?: string;
|
|
1397
|
+
}
|
|
1398
|
+
/**
|
|
1399
|
+
* Converts an object of type 'HelmReleaseSpecPostRenderersKustomizeImages' to JSON representation.
|
|
1400
|
+
*/
|
|
1401
|
+
export declare function toJson_HelmReleaseSpecPostRenderersKustomizeImages(obj: HelmReleaseSpecPostRenderersKustomizeImages | undefined): Record<string, any> | undefined;
|
|
1402
|
+
/**
|
|
1403
|
+
* Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should
|
|
1404
|
+
* be applied to.
|
|
1405
|
+
*
|
|
1406
|
+
* @schema HelmReleaseSpecPostRenderersKustomizePatches
|
|
1407
|
+
*/
|
|
1408
|
+
export interface HelmReleaseSpecPostRenderersKustomizePatches {
|
|
1409
|
+
/**
|
|
1410
|
+
* Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with
|
|
1411
|
+
* an array of operation objects.
|
|
1412
|
+
*
|
|
1413
|
+
* @schema HelmReleaseSpecPostRenderersKustomizePatches#patch
|
|
1414
|
+
*/
|
|
1415
|
+
readonly patch: string;
|
|
1416
|
+
/**
|
|
1417
|
+
* Target points to the resources that the patch document should be applied to.
|
|
1418
|
+
*
|
|
1419
|
+
* @schema HelmReleaseSpecPostRenderersKustomizePatches#target
|
|
1420
|
+
*/
|
|
1421
|
+
readonly target?: HelmReleaseSpecPostRenderersKustomizePatchesTarget;
|
|
1422
|
+
}
|
|
1423
|
+
/**
|
|
1424
|
+
* Converts an object of type 'HelmReleaseSpecPostRenderersKustomizePatches' to JSON representation.
|
|
1425
|
+
*/
|
|
1426
|
+
export declare function toJson_HelmReleaseSpecPostRenderersKustomizePatches(obj: HelmReleaseSpecPostRenderersKustomizePatches | undefined): Record<string, any> | undefined;
|
|
1427
|
+
/**
|
|
1428
|
+
* Strategy to use for failure remediation. Defaults to 'rollback'.
|
|
1429
|
+
*
|
|
1430
|
+
* @default rollback'.
|
|
1431
|
+
* @schema HelmReleaseSpecUpgradeRemediationStrategy
|
|
1432
|
+
*/
|
|
1433
|
+
export declare enum HelmReleaseSpecUpgradeRemediationStrategy {
|
|
1434
|
+
/** rollback */
|
|
1435
|
+
ROLLBACK = "rollback",
|
|
1436
|
+
/** uninstall */
|
|
1437
|
+
UNINSTALL = "uninstall"
|
|
1438
|
+
}
|
|
1439
|
+
/**
|
|
1440
|
+
* Kind of the referent.
|
|
1441
|
+
*
|
|
1442
|
+
* @schema HelmReleaseSpecChartSpecSourceRefKind
|
|
1443
|
+
*/
|
|
1444
|
+
export declare enum HelmReleaseSpecChartSpecSourceRefKind {
|
|
1445
|
+
/** HelmRepository */
|
|
1446
|
+
HELM_REPOSITORY = "HelmRepository",
|
|
1447
|
+
/** GitRepository */
|
|
1448
|
+
GIT_REPOSITORY = "GitRepository",
|
|
1449
|
+
/** Bucket */
|
|
1450
|
+
BUCKET = "Bucket"
|
|
1451
|
+
}
|
|
1452
|
+
/**
|
|
1453
|
+
* Provider specifies the technology used to sign the OCI Helm chart.
|
|
1454
|
+
*
|
|
1455
|
+
* @schema HelmReleaseSpecChartSpecVerifyProvider
|
|
1456
|
+
*/
|
|
1457
|
+
export declare enum HelmReleaseSpecChartSpecVerifyProvider {
|
|
1458
|
+
/** cosign */
|
|
1459
|
+
COSIGN = "cosign",
|
|
1460
|
+
/** notation */
|
|
1461
|
+
NOTATION = "notation"
|
|
1462
|
+
}
|
|
1463
|
+
/**
|
|
1464
|
+
* SecretRef specifies the Kubernetes Secret containing the
|
|
1465
|
+
* trusted public keys.
|
|
1466
|
+
*
|
|
1467
|
+
* @schema HelmReleaseSpecChartSpecVerifySecretRef
|
|
1468
|
+
*/
|
|
1469
|
+
export interface HelmReleaseSpecChartSpecVerifySecretRef {
|
|
1470
|
+
/**
|
|
1471
|
+
* Name of the referent.
|
|
1472
|
+
*
|
|
1473
|
+
* @schema HelmReleaseSpecChartSpecVerifySecretRef#name
|
|
1474
|
+
*/
|
|
1475
|
+
readonly name: string;
|
|
1476
|
+
}
|
|
1477
|
+
/**
|
|
1478
|
+
* Converts an object of type 'HelmReleaseSpecChartSpecVerifySecretRef' to JSON representation.
|
|
1479
|
+
*/
|
|
1480
|
+
export declare function toJson_HelmReleaseSpecChartSpecVerifySecretRef(obj: HelmReleaseSpecChartSpecVerifySecretRef | undefined): Record<string, any> | undefined;
|
|
1481
|
+
/**
|
|
1482
|
+
* Target points to the resources that the patch document should be applied to.
|
|
1483
|
+
*
|
|
1484
|
+
* @schema HelmReleaseSpecPostRenderersKustomizePatchesTarget
|
|
1485
|
+
*/
|
|
1486
|
+
export interface HelmReleaseSpecPostRenderersKustomizePatchesTarget {
|
|
1487
|
+
/**
|
|
1488
|
+
* AnnotationSelector is a string that follows the label selection expression
|
|
1489
|
+
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
|
|
1490
|
+
* It matches with the resource annotations.
|
|
1491
|
+
*
|
|
1492
|
+
* @schema HelmReleaseSpecPostRenderersKustomizePatchesTarget#annotationSelector
|
|
1493
|
+
*/
|
|
1494
|
+
readonly annotationSelector?: string;
|
|
1495
|
+
/**
|
|
1496
|
+
* Group is the API group to select resources from.
|
|
1497
|
+
* Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
|
|
1498
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
1499
|
+
*
|
|
1500
|
+
* @schema HelmReleaseSpecPostRenderersKustomizePatchesTarget#group
|
|
1501
|
+
*/
|
|
1502
|
+
readonly group?: string;
|
|
1503
|
+
/**
|
|
1504
|
+
* Kind of the API Group to select resources from.
|
|
1505
|
+
* Together with Group and Version it is capable of unambiguously
|
|
1506
|
+
* identifying and/or selecting resources.
|
|
1507
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
1508
|
+
*
|
|
1509
|
+
* @schema HelmReleaseSpecPostRenderersKustomizePatchesTarget#kind
|
|
1510
|
+
*/
|
|
1511
|
+
readonly kind?: string;
|
|
1512
|
+
/**
|
|
1513
|
+
* LabelSelector is a string that follows the label selection expression
|
|
1514
|
+
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
|
|
1515
|
+
* It matches with the resource labels.
|
|
1516
|
+
*
|
|
1517
|
+
* @schema HelmReleaseSpecPostRenderersKustomizePatchesTarget#labelSelector
|
|
1518
|
+
*/
|
|
1519
|
+
readonly labelSelector?: string;
|
|
1520
|
+
/**
|
|
1521
|
+
* Name to match resources with.
|
|
1522
|
+
*
|
|
1523
|
+
* @schema HelmReleaseSpecPostRenderersKustomizePatchesTarget#name
|
|
1524
|
+
*/
|
|
1525
|
+
readonly name?: string;
|
|
1526
|
+
/**
|
|
1527
|
+
* Namespace to select resources from.
|
|
1528
|
+
*
|
|
1529
|
+
* @schema HelmReleaseSpecPostRenderersKustomizePatchesTarget#namespace
|
|
1530
|
+
*/
|
|
1531
|
+
readonly namespace?: string;
|
|
1532
|
+
/**
|
|
1533
|
+
* Version of the API Group to select resources from.
|
|
1534
|
+
* Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
|
|
1535
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
1536
|
+
*
|
|
1537
|
+
* @schema HelmReleaseSpecPostRenderersKustomizePatchesTarget#version
|
|
1538
|
+
*/
|
|
1539
|
+
readonly version?: string;
|
|
1540
|
+
}
|
|
1541
|
+
/**
|
|
1542
|
+
* Converts an object of type 'HelmReleaseSpecPostRenderersKustomizePatchesTarget' to JSON representation.
|
|
1543
|
+
*/
|
|
1544
|
+
export declare function toJson_HelmReleaseSpecPostRenderersKustomizePatchesTarget(obj: HelmReleaseSpecPostRenderersKustomizePatchesTarget | undefined): Record<string, any> | undefined;
|
|
1545
|
+
/**
|
|
1546
|
+
* HelmRelease is the Schema for the helmreleases API
|
|
1547
|
+
*
|
|
1548
|
+
* @schema HelmReleaseV2Beta1
|
|
1549
|
+
*/
|
|
1550
|
+
export declare class HelmReleaseV2Beta1 extends ApiObject {
|
|
1551
|
+
/**
|
|
1552
|
+
* Returns the apiVersion and kind for "HelmReleaseV2Beta1"
|
|
1553
|
+
*/
|
|
1554
|
+
static readonly GVK: GroupVersionKind;
|
|
1555
|
+
/**
|
|
1556
|
+
* Renders a Kubernetes manifest for "HelmReleaseV2Beta1".
|
|
1557
|
+
*
|
|
1558
|
+
* This can be used to inline resource manifests inside other objects (e.g. as templates).
|
|
1559
|
+
*
|
|
1560
|
+
* @param props initialization props
|
|
1561
|
+
*/
|
|
1562
|
+
static manifest(props?: HelmReleaseV2Beta1Props): any;
|
|
1563
|
+
/**
|
|
1564
|
+
* Defines a "HelmReleaseV2Beta1" API object
|
|
1565
|
+
* @param scope the scope in which to define this object
|
|
1566
|
+
* @param id a scope-local name for the object
|
|
1567
|
+
* @param props initialization props
|
|
1568
|
+
*/
|
|
1569
|
+
constructor(scope: Construct, id: string, props?: HelmReleaseV2Beta1Props);
|
|
1570
|
+
/**
|
|
1571
|
+
* Renders the object to Kubernetes JSON.
|
|
1572
|
+
*/
|
|
1573
|
+
toJson(): any;
|
|
1574
|
+
}
|
|
1575
|
+
/**
|
|
1576
|
+
* HelmRelease is the Schema for the helmreleases API
|
|
1577
|
+
*
|
|
1578
|
+
* @schema HelmReleaseV2Beta1
|
|
1579
|
+
*/
|
|
1580
|
+
export interface HelmReleaseV2Beta1Props {
|
|
1581
|
+
/**
|
|
1582
|
+
* @schema HelmReleaseV2Beta1#metadata
|
|
1583
|
+
*/
|
|
1584
|
+
readonly metadata?: ApiObjectMetadata;
|
|
1585
|
+
/**
|
|
1586
|
+
* HelmReleaseSpec defines the desired state of a Helm release.
|
|
1587
|
+
*
|
|
1588
|
+
* @schema HelmReleaseV2Beta1#spec
|
|
1589
|
+
*/
|
|
1590
|
+
readonly spec?: HelmReleaseV2Beta1Spec;
|
|
1591
|
+
}
|
|
1592
|
+
/**
|
|
1593
|
+
* Converts an object of type 'HelmReleaseV2Beta1Props' to JSON representation.
|
|
1594
|
+
*/
|
|
1595
|
+
export declare function toJson_HelmReleaseV2Beta1Props(obj: HelmReleaseV2Beta1Props | undefined): Record<string, any> | undefined;
|
|
1596
|
+
/**
|
|
1597
|
+
* HelmReleaseSpec defines the desired state of a Helm release.
|
|
1598
|
+
*
|
|
1599
|
+
* @schema HelmReleaseV2Beta1Spec
|
|
1600
|
+
*/
|
|
1601
|
+
export interface HelmReleaseV2Beta1Spec {
|
|
1602
|
+
/**
|
|
1603
|
+
* Chart defines the template of the v1beta2.HelmChart that should be created
|
|
1604
|
+
* for this HelmRelease.
|
|
1605
|
+
*
|
|
1606
|
+
* @schema HelmReleaseV2Beta1Spec#chart
|
|
1607
|
+
*/
|
|
1608
|
+
readonly chart: HelmReleaseV2Beta1SpecChart;
|
|
1609
|
+
/**
|
|
1610
|
+
* ChartRef holds a reference to a source controller resource containing the
|
|
1611
|
+
* Helm chart artifact.
|
|
1612
|
+
*
|
|
1613
|
+
* Note: this field is provisional to the v2 API, and not actively used
|
|
1614
|
+
* by v2beta1 HelmReleases.
|
|
1615
|
+
*
|
|
1616
|
+
* @schema HelmReleaseV2Beta1Spec#chartRef
|
|
1617
|
+
*/
|
|
1618
|
+
readonly chartRef?: HelmReleaseV2Beta1SpecChartRef;
|
|
1619
|
+
/**
|
|
1620
|
+
* DependsOn may contain a meta.NamespacedObjectReference slice with
|
|
1621
|
+
* references to HelmRelease resources that must be ready before this HelmRelease
|
|
1622
|
+
* can be reconciled.
|
|
1623
|
+
*
|
|
1624
|
+
* @schema HelmReleaseV2Beta1Spec#dependsOn
|
|
1625
|
+
*/
|
|
1626
|
+
readonly dependsOn?: HelmReleaseV2Beta1SpecDependsOn[];
|
|
1627
|
+
/**
|
|
1628
|
+
* DriftDetection holds the configuration for detecting and handling
|
|
1629
|
+
* differences between the manifest in the Helm storage and the resources
|
|
1630
|
+
* currently existing in the cluster.
|
|
1631
|
+
*
|
|
1632
|
+
* Note: this field is provisional to the v2beta2 API, and not actively used
|
|
1633
|
+
* by v2beta1 HelmReleases.
|
|
1634
|
+
*
|
|
1635
|
+
* @schema HelmReleaseV2Beta1Spec#driftDetection
|
|
1636
|
+
*/
|
|
1637
|
+
readonly driftDetection?: HelmReleaseV2Beta1SpecDriftDetection;
|
|
1638
|
+
/**
|
|
1639
|
+
* Install holds the configuration for Helm install actions for this HelmRelease.
|
|
1640
|
+
*
|
|
1641
|
+
* @schema HelmReleaseV2Beta1Spec#install
|
|
1642
|
+
*/
|
|
1643
|
+
readonly install?: HelmReleaseV2Beta1SpecInstall;
|
|
1644
|
+
/**
|
|
1645
|
+
* Interval at which to reconcile the Helm release.
|
|
1646
|
+
* This interval is approximate and may be subject to jitter to ensure
|
|
1647
|
+
* efficient use of resources.
|
|
1648
|
+
*
|
|
1649
|
+
* @schema HelmReleaseV2Beta1Spec#interval
|
|
1650
|
+
*/
|
|
1651
|
+
readonly interval: string;
|
|
1652
|
+
/**
|
|
1653
|
+
* KubeConfig for reconciling the HelmRelease on a remote cluster.
|
|
1654
|
+
* When used in combination with HelmReleaseSpec.ServiceAccountName,
|
|
1655
|
+
* forces the controller to act on behalf of that Service Account at the
|
|
1656
|
+
* target cluster.
|
|
1657
|
+
* If the --default-service-account flag is set, its value will be used as
|
|
1658
|
+
* a controller level fallback for when HelmReleaseSpec.ServiceAccountName
|
|
1659
|
+
* is empty.
|
|
1660
|
+
*
|
|
1661
|
+
* @schema HelmReleaseV2Beta1Spec#kubeConfig
|
|
1662
|
+
*/
|
|
1663
|
+
readonly kubeConfig?: HelmReleaseV2Beta1SpecKubeConfig;
|
|
1664
|
+
/**
|
|
1665
|
+
* MaxHistory is the number of revisions saved by Helm for this HelmRelease.
|
|
1666
|
+
* Use '0' for an unlimited number of revisions; defaults to '10'.
|
|
1667
|
+
*
|
|
1668
|
+
* @schema HelmReleaseV2Beta1Spec#maxHistory
|
|
1669
|
+
*/
|
|
1670
|
+
readonly maxHistory?: number;
|
|
1671
|
+
/**
|
|
1672
|
+
* PersistentClient tells the controller to use a persistent Kubernetes
|
|
1673
|
+
* client for this release. When enabled, the client will be reused for the
|
|
1674
|
+
* duration of the reconciliation, instead of being created and destroyed
|
|
1675
|
+
* for each (step of a) Helm action.
|
|
1676
|
+
*
|
|
1677
|
+
* This can improve performance, but may cause issues with some Helm charts
|
|
1678
|
+
* that for example do create Custom Resource Definitions during installation
|
|
1679
|
+
* outside Helm's CRD lifecycle hooks, which are then not observed to be
|
|
1680
|
+
* available by e.g. post-install hooks.
|
|
1681
|
+
*
|
|
1682
|
+
* If not set, it defaults to true.
|
|
1683
|
+
*
|
|
1684
|
+
* @schema HelmReleaseV2Beta1Spec#persistentClient
|
|
1685
|
+
*/
|
|
1686
|
+
readonly persistentClient?: boolean;
|
|
1687
|
+
/**
|
|
1688
|
+
* PostRenderers holds an array of Helm PostRenderers, which will be applied in order
|
|
1689
|
+
* of their definition.
|
|
1690
|
+
*
|
|
1691
|
+
* @schema HelmReleaseV2Beta1Spec#postRenderers
|
|
1692
|
+
*/
|
|
1693
|
+
readonly postRenderers?: HelmReleaseV2Beta1SpecPostRenderers[];
|
|
1694
|
+
/**
|
|
1695
|
+
* ReleaseName used for the Helm release. Defaults to a composition of
|
|
1696
|
+
* '[TargetNamespace-]Name'.
|
|
1697
|
+
*
|
|
1698
|
+
* @default a composition of
|
|
1699
|
+
* @schema HelmReleaseV2Beta1Spec#releaseName
|
|
1700
|
+
*/
|
|
1701
|
+
readonly releaseName?: string;
|
|
1702
|
+
/**
|
|
1703
|
+
* Rollback holds the configuration for Helm rollback actions for this HelmRelease.
|
|
1704
|
+
*
|
|
1705
|
+
* @schema HelmReleaseV2Beta1Spec#rollback
|
|
1706
|
+
*/
|
|
1707
|
+
readonly rollback?: HelmReleaseV2Beta1SpecRollback;
|
|
1708
|
+
/**
|
|
1709
|
+
* The name of the Kubernetes service account to impersonate
|
|
1710
|
+
* when reconciling this HelmRelease.
|
|
1711
|
+
*
|
|
1712
|
+
* @schema HelmReleaseV2Beta1Spec#serviceAccountName
|
|
1713
|
+
*/
|
|
1714
|
+
readonly serviceAccountName?: string;
|
|
1715
|
+
/**
|
|
1716
|
+
* StorageNamespace used for the Helm storage.
|
|
1717
|
+
* Defaults to the namespace of the HelmRelease.
|
|
1718
|
+
*
|
|
1719
|
+
* @default the namespace of the HelmRelease.
|
|
1720
|
+
* @schema HelmReleaseV2Beta1Spec#storageNamespace
|
|
1721
|
+
*/
|
|
1722
|
+
readonly storageNamespace?: string;
|
|
1723
|
+
/**
|
|
1724
|
+
* Suspend tells the controller to suspend reconciliation for this HelmRelease,
|
|
1725
|
+
* it does not apply to already started reconciliations. Defaults to false.
|
|
1726
|
+
*
|
|
1727
|
+
* @default false.
|
|
1728
|
+
* @schema HelmReleaseV2Beta1Spec#suspend
|
|
1729
|
+
*/
|
|
1730
|
+
readonly suspend?: boolean;
|
|
1731
|
+
/**
|
|
1732
|
+
* TargetNamespace to target when performing operations for the HelmRelease.
|
|
1733
|
+
* Defaults to the namespace of the HelmRelease.
|
|
1734
|
+
*
|
|
1735
|
+
* @default the namespace of the HelmRelease.
|
|
1736
|
+
* @schema HelmReleaseV2Beta1Spec#targetNamespace
|
|
1737
|
+
*/
|
|
1738
|
+
readonly targetNamespace?: string;
|
|
1739
|
+
/**
|
|
1740
|
+
* Test holds the configuration for Helm test actions for this HelmRelease.
|
|
1741
|
+
*
|
|
1742
|
+
* @schema HelmReleaseV2Beta1Spec#test
|
|
1743
|
+
*/
|
|
1744
|
+
readonly test?: HelmReleaseV2Beta1SpecTest;
|
|
1745
|
+
/**
|
|
1746
|
+
* Timeout is the time to wait for any individual Kubernetes operation (like Jobs
|
|
1747
|
+
* for hooks) during the performance of a Helm action. Defaults to '5m0s'.
|
|
1748
|
+
*
|
|
1749
|
+
* @default 5m0s'.
|
|
1750
|
+
* @schema HelmReleaseV2Beta1Spec#timeout
|
|
1751
|
+
*/
|
|
1752
|
+
readonly timeout?: string;
|
|
1753
|
+
/**
|
|
1754
|
+
* Uninstall holds the configuration for Helm uninstall actions for this HelmRelease.
|
|
1755
|
+
*
|
|
1756
|
+
* @schema HelmReleaseV2Beta1Spec#uninstall
|
|
1757
|
+
*/
|
|
1758
|
+
readonly uninstall?: HelmReleaseV2Beta1SpecUninstall;
|
|
1759
|
+
/**
|
|
1760
|
+
* Upgrade holds the configuration for Helm upgrade actions for this HelmRelease.
|
|
1761
|
+
*
|
|
1762
|
+
* @schema HelmReleaseV2Beta1Spec#upgrade
|
|
1763
|
+
*/
|
|
1764
|
+
readonly upgrade?: HelmReleaseV2Beta1SpecUpgrade;
|
|
1765
|
+
/**
|
|
1766
|
+
* Values holds the values for this Helm release.
|
|
1767
|
+
*
|
|
1768
|
+
* @schema HelmReleaseV2Beta1Spec#values
|
|
1769
|
+
*/
|
|
1770
|
+
readonly values?: any;
|
|
1771
|
+
/**
|
|
1772
|
+
* ValuesFrom holds references to resources containing Helm values for this HelmRelease,
|
|
1773
|
+
* and information about how they should be merged.
|
|
1774
|
+
*
|
|
1775
|
+
* @schema HelmReleaseV2Beta1Spec#valuesFrom
|
|
1776
|
+
*/
|
|
1777
|
+
readonly valuesFrom?: HelmReleaseV2Beta1SpecValuesFrom[];
|
|
1778
|
+
}
|
|
1779
|
+
/**
|
|
1780
|
+
* Converts an object of type 'HelmReleaseV2Beta1Spec' to JSON representation.
|
|
1781
|
+
*/
|
|
1782
|
+
export declare function toJson_HelmReleaseV2Beta1Spec(obj: HelmReleaseV2Beta1Spec | undefined): Record<string, any> | undefined;
|
|
1783
|
+
/**
|
|
1784
|
+
* Chart defines the template of the v1beta2.HelmChart that should be created
|
|
1785
|
+
* for this HelmRelease.
|
|
1786
|
+
*
|
|
1787
|
+
* @schema HelmReleaseV2Beta1SpecChart
|
|
1788
|
+
*/
|
|
1789
|
+
export interface HelmReleaseV2Beta1SpecChart {
|
|
1790
|
+
/**
|
|
1791
|
+
* ObjectMeta holds the template for metadata like labels and annotations.
|
|
1792
|
+
*
|
|
1793
|
+
* @schema HelmReleaseV2Beta1SpecChart#metadata
|
|
1794
|
+
*/
|
|
1795
|
+
readonly metadata?: HelmReleaseV2Beta1SpecChartMetadata;
|
|
1796
|
+
/**
|
|
1797
|
+
* Spec holds the template for the v1beta2.HelmChartSpec for this HelmRelease.
|
|
1798
|
+
*
|
|
1799
|
+
* @schema HelmReleaseV2Beta1SpecChart#spec
|
|
1800
|
+
*/
|
|
1801
|
+
readonly spec: HelmReleaseV2Beta1SpecChartSpec;
|
|
1802
|
+
}
|
|
1803
|
+
/**
|
|
1804
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecChart' to JSON representation.
|
|
1805
|
+
*/
|
|
1806
|
+
export declare function toJson_HelmReleaseV2Beta1SpecChart(obj: HelmReleaseV2Beta1SpecChart | undefined): Record<string, any> | undefined;
|
|
1807
|
+
/**
|
|
1808
|
+
* ChartRef holds a reference to a source controller resource containing the
|
|
1809
|
+
* Helm chart artifact.
|
|
1810
|
+
*
|
|
1811
|
+
* Note: this field is provisional to the v2 API, and not actively used
|
|
1812
|
+
* by v2beta1 HelmReleases.
|
|
1813
|
+
*
|
|
1814
|
+
* @schema HelmReleaseV2Beta1SpecChartRef
|
|
1815
|
+
*/
|
|
1816
|
+
export interface HelmReleaseV2Beta1SpecChartRef {
|
|
1817
|
+
/**
|
|
1818
|
+
* APIVersion of the referent.
|
|
1819
|
+
*
|
|
1820
|
+
* @schema HelmReleaseV2Beta1SpecChartRef#apiVersion
|
|
1821
|
+
*/
|
|
1822
|
+
readonly apiVersion?: string;
|
|
1823
|
+
/**
|
|
1824
|
+
* Kind of the referent.
|
|
1825
|
+
*
|
|
1826
|
+
* @schema HelmReleaseV2Beta1SpecChartRef#kind
|
|
1827
|
+
*/
|
|
1828
|
+
readonly kind: HelmReleaseV2Beta1SpecChartRefKind;
|
|
1829
|
+
/**
|
|
1830
|
+
* Name of the referent.
|
|
1831
|
+
*
|
|
1832
|
+
* @schema HelmReleaseV2Beta1SpecChartRef#name
|
|
1833
|
+
*/
|
|
1834
|
+
readonly name: string;
|
|
1835
|
+
/**
|
|
1836
|
+
* Namespace of the referent, defaults to the namespace of the Kubernetes
|
|
1837
|
+
* resource object that contains the reference.
|
|
1838
|
+
*
|
|
1839
|
+
* @schema HelmReleaseV2Beta1SpecChartRef#namespace
|
|
1840
|
+
*/
|
|
1841
|
+
readonly namespace?: string;
|
|
1842
|
+
}
|
|
1843
|
+
/**
|
|
1844
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecChartRef' to JSON representation.
|
|
1845
|
+
*/
|
|
1846
|
+
export declare function toJson_HelmReleaseV2Beta1SpecChartRef(obj: HelmReleaseV2Beta1SpecChartRef | undefined): Record<string, any> | undefined;
|
|
1847
|
+
/**
|
|
1848
|
+
* NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any
|
|
1849
|
+
* namespace.
|
|
1850
|
+
*
|
|
1851
|
+
* @schema HelmReleaseV2Beta1SpecDependsOn
|
|
1852
|
+
*/
|
|
1853
|
+
export interface HelmReleaseV2Beta1SpecDependsOn {
|
|
1854
|
+
/**
|
|
1855
|
+
* Name of the referent.
|
|
1856
|
+
*
|
|
1857
|
+
* @schema HelmReleaseV2Beta1SpecDependsOn#name
|
|
1858
|
+
*/
|
|
1859
|
+
readonly name: string;
|
|
1860
|
+
/**
|
|
1861
|
+
* Namespace of the referent, when not specified it acts as LocalObjectReference.
|
|
1862
|
+
*
|
|
1863
|
+
* @schema HelmReleaseV2Beta1SpecDependsOn#namespace
|
|
1864
|
+
*/
|
|
1865
|
+
readonly namespace?: string;
|
|
1866
|
+
}
|
|
1867
|
+
/**
|
|
1868
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecDependsOn' to JSON representation.
|
|
1869
|
+
*/
|
|
1870
|
+
export declare function toJson_HelmReleaseV2Beta1SpecDependsOn(obj: HelmReleaseV2Beta1SpecDependsOn | undefined): Record<string, any> | undefined;
|
|
1871
|
+
/**
|
|
1872
|
+
* DriftDetection holds the configuration for detecting and handling
|
|
1873
|
+
* differences between the manifest in the Helm storage and the resources
|
|
1874
|
+
* currently existing in the cluster.
|
|
1875
|
+
*
|
|
1876
|
+
* Note: this field is provisional to the v2beta2 API, and not actively used
|
|
1877
|
+
* by v2beta1 HelmReleases.
|
|
1878
|
+
*
|
|
1879
|
+
* @schema HelmReleaseV2Beta1SpecDriftDetection
|
|
1880
|
+
*/
|
|
1881
|
+
export interface HelmReleaseV2Beta1SpecDriftDetection {
|
|
1882
|
+
/**
|
|
1883
|
+
* Ignore contains a list of rules for specifying which changes to ignore
|
|
1884
|
+
* during diffing.
|
|
1885
|
+
*
|
|
1886
|
+
* @schema HelmReleaseV2Beta1SpecDriftDetection#ignore
|
|
1887
|
+
*/
|
|
1888
|
+
readonly ignore?: HelmReleaseV2Beta1SpecDriftDetectionIgnore[];
|
|
1889
|
+
/**
|
|
1890
|
+
* Mode defines how differences should be handled between the Helm manifest
|
|
1891
|
+
* and the manifest currently applied to the cluster.
|
|
1892
|
+
* If not explicitly set, it defaults to DiffModeDisabled.
|
|
1893
|
+
*
|
|
1894
|
+
* @schema HelmReleaseV2Beta1SpecDriftDetection#mode
|
|
1895
|
+
*/
|
|
1896
|
+
readonly mode?: HelmReleaseV2Beta1SpecDriftDetectionMode;
|
|
1897
|
+
}
|
|
1898
|
+
/**
|
|
1899
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecDriftDetection' to JSON representation.
|
|
1900
|
+
*/
|
|
1901
|
+
export declare function toJson_HelmReleaseV2Beta1SpecDriftDetection(obj: HelmReleaseV2Beta1SpecDriftDetection | undefined): Record<string, any> | undefined;
|
|
1902
|
+
/**
|
|
1903
|
+
* Install holds the configuration for Helm install actions for this HelmRelease.
|
|
1904
|
+
*
|
|
1905
|
+
* @schema HelmReleaseV2Beta1SpecInstall
|
|
1906
|
+
*/
|
|
1907
|
+
export interface HelmReleaseV2Beta1SpecInstall {
|
|
1908
|
+
/**
|
|
1909
|
+
* CRDs upgrade CRDs from the Helm Chart's crds directory according
|
|
1910
|
+
* to the CRD upgrade policy provided here. Valid values are `Skip`,
|
|
1911
|
+
* `Create` or `CreateReplace`. Default is `Create` and if omitted
|
|
1912
|
+
* CRDs are installed but not updated.
|
|
1913
|
+
*
|
|
1914
|
+
* Skip: do neither install nor replace (update) any CRDs.
|
|
1915
|
+
*
|
|
1916
|
+
* Create: new CRDs are created, existing CRDs are neither updated nor deleted.
|
|
1917
|
+
*
|
|
1918
|
+
* CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
|
|
1919
|
+
* but not deleted.
|
|
1920
|
+
*
|
|
1921
|
+
* By default, CRDs are applied (installed) during Helm install action.
|
|
1922
|
+
* With this option users can opt-in to CRD replace existing CRDs on Helm
|
|
1923
|
+
* install actions, which is not (yet) natively supported by Helm.
|
|
1924
|
+
* https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
|
|
1925
|
+
*
|
|
1926
|
+
* @default Create` and if omitted
|
|
1927
|
+
* @schema HelmReleaseV2Beta1SpecInstall#crds
|
|
1928
|
+
*/
|
|
1929
|
+
readonly crds?: HelmReleaseV2Beta1SpecInstallCrds;
|
|
1930
|
+
/**
|
|
1931
|
+
* CreateNamespace tells the Helm install action to create the
|
|
1932
|
+
* HelmReleaseSpec.TargetNamespace if it does not exist yet.
|
|
1933
|
+
* On uninstall, the namespace will not be garbage collected.
|
|
1934
|
+
*
|
|
1935
|
+
* @schema HelmReleaseV2Beta1SpecInstall#createNamespace
|
|
1936
|
+
*/
|
|
1937
|
+
readonly createNamespace?: boolean;
|
|
1938
|
+
/**
|
|
1939
|
+
* DisableHooks prevents hooks from running during the Helm install action.
|
|
1940
|
+
*
|
|
1941
|
+
* @schema HelmReleaseV2Beta1SpecInstall#disableHooks
|
|
1942
|
+
*/
|
|
1943
|
+
readonly disableHooks?: boolean;
|
|
1944
|
+
/**
|
|
1945
|
+
* DisableOpenAPIValidation prevents the Helm install action from validating
|
|
1946
|
+
* rendered templates against the Kubernetes OpenAPI Schema.
|
|
1947
|
+
*
|
|
1948
|
+
* @schema HelmReleaseV2Beta1SpecInstall#disableOpenAPIValidation
|
|
1949
|
+
*/
|
|
1950
|
+
readonly disableOpenApiValidation?: boolean;
|
|
1951
|
+
/**
|
|
1952
|
+
* DisableWait disables the waiting for resources to be ready after a Helm
|
|
1953
|
+
* install has been performed.
|
|
1954
|
+
*
|
|
1955
|
+
* @schema HelmReleaseV2Beta1SpecInstall#disableWait
|
|
1956
|
+
*/
|
|
1957
|
+
readonly disableWait?: boolean;
|
|
1958
|
+
/**
|
|
1959
|
+
* DisableWaitForJobs disables waiting for jobs to complete after a Helm
|
|
1960
|
+
* install has been performed.
|
|
1961
|
+
*
|
|
1962
|
+
* @schema HelmReleaseV2Beta1SpecInstall#disableWaitForJobs
|
|
1963
|
+
*/
|
|
1964
|
+
readonly disableWaitForJobs?: boolean;
|
|
1965
|
+
/**
|
|
1966
|
+
* Remediation holds the remediation configuration for when the Helm install
|
|
1967
|
+
* action for the HelmRelease fails. The default is to not perform any action.
|
|
1968
|
+
*
|
|
1969
|
+
* @schema HelmReleaseV2Beta1SpecInstall#remediation
|
|
1970
|
+
*/
|
|
1971
|
+
readonly remediation?: HelmReleaseV2Beta1SpecInstallRemediation;
|
|
1972
|
+
/**
|
|
1973
|
+
* Replace tells the Helm install action to re-use the 'ReleaseName', but only
|
|
1974
|
+
* if that name is a deleted release which remains in the history.
|
|
1975
|
+
*
|
|
1976
|
+
* @schema HelmReleaseV2Beta1SpecInstall#replace
|
|
1977
|
+
*/
|
|
1978
|
+
readonly replace?: boolean;
|
|
1979
|
+
/**
|
|
1980
|
+
* SkipCRDs tells the Helm install action to not install any CRDs. By default,
|
|
1981
|
+
* CRDs are installed if not already present.
|
|
1982
|
+
*
|
|
1983
|
+
* Deprecated use CRD policy (`crds`) attribute with value `Skip` instead.
|
|
1984
|
+
*
|
|
1985
|
+
* @schema HelmReleaseV2Beta1SpecInstall#skipCRDs
|
|
1986
|
+
*/
|
|
1987
|
+
readonly skipCrDs?: boolean;
|
|
1988
|
+
/**
|
|
1989
|
+
* Timeout is the time to wait for any individual Kubernetes operation (like
|
|
1990
|
+
* Jobs for hooks) during the performance of a Helm install action. Defaults to
|
|
1991
|
+
* 'HelmReleaseSpec.Timeout'.
|
|
1992
|
+
*
|
|
1993
|
+
* @default HelmReleaseSpec.Timeout'.
|
|
1994
|
+
* @schema HelmReleaseV2Beta1SpecInstall#timeout
|
|
1995
|
+
*/
|
|
1996
|
+
readonly timeout?: string;
|
|
1997
|
+
}
|
|
1998
|
+
/**
|
|
1999
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecInstall' to JSON representation.
|
|
2000
|
+
*/
|
|
2001
|
+
export declare function toJson_HelmReleaseV2Beta1SpecInstall(obj: HelmReleaseV2Beta1SpecInstall | undefined): Record<string, any> | undefined;
|
|
2002
|
+
/**
|
|
2003
|
+
* KubeConfig for reconciling the HelmRelease on a remote cluster.
|
|
2004
|
+
* When used in combination with HelmReleaseSpec.ServiceAccountName,
|
|
2005
|
+
* forces the controller to act on behalf of that Service Account at the
|
|
2006
|
+
* target cluster.
|
|
2007
|
+
* If the --default-service-account flag is set, its value will be used as
|
|
2008
|
+
* a controller level fallback for when HelmReleaseSpec.ServiceAccountName
|
|
2009
|
+
* is empty.
|
|
2010
|
+
*
|
|
2011
|
+
* @schema HelmReleaseV2Beta1SpecKubeConfig
|
|
2012
|
+
*/
|
|
2013
|
+
export interface HelmReleaseV2Beta1SpecKubeConfig {
|
|
2014
|
+
/**
|
|
2015
|
+
* SecretRef holds the name of a secret that contains a key with
|
|
2016
|
+
* the kubeconfig file as the value. If no key is set, the key will default
|
|
2017
|
+
* to 'value'.
|
|
2018
|
+
* It is recommended that the kubeconfig is self-contained, and the secret
|
|
2019
|
+
* is regularly updated if credentials such as a cloud-access-token expire.
|
|
2020
|
+
* Cloud specific `cmd-path` auth helpers will not function without adding
|
|
2021
|
+
* binaries and credentials to the Pod that is responsible for reconciling
|
|
2022
|
+
* Kubernetes resources.
|
|
2023
|
+
*
|
|
2024
|
+
* @schema HelmReleaseV2Beta1SpecKubeConfig#secretRef
|
|
2025
|
+
*/
|
|
2026
|
+
readonly secretRef: HelmReleaseV2Beta1SpecKubeConfigSecretRef;
|
|
2027
|
+
}
|
|
2028
|
+
/**
|
|
2029
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecKubeConfig' to JSON representation.
|
|
2030
|
+
*/
|
|
2031
|
+
export declare function toJson_HelmReleaseV2Beta1SpecKubeConfig(obj: HelmReleaseV2Beta1SpecKubeConfig | undefined): Record<string, any> | undefined;
|
|
2032
|
+
/**
|
|
2033
|
+
* PostRenderer contains a Helm PostRenderer specification.
|
|
2034
|
+
*
|
|
2035
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderers
|
|
2036
|
+
*/
|
|
2037
|
+
export interface HelmReleaseV2Beta1SpecPostRenderers {
|
|
2038
|
+
/**
|
|
2039
|
+
* Kustomization to apply as PostRenderer.
|
|
2040
|
+
*
|
|
2041
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderers#kustomize
|
|
2042
|
+
*/
|
|
2043
|
+
readonly kustomize?: HelmReleaseV2Beta1SpecPostRenderersKustomize;
|
|
2044
|
+
}
|
|
2045
|
+
/**
|
|
2046
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecPostRenderers' to JSON representation.
|
|
2047
|
+
*/
|
|
2048
|
+
export declare function toJson_HelmReleaseV2Beta1SpecPostRenderers(obj: HelmReleaseV2Beta1SpecPostRenderers | undefined): Record<string, any> | undefined;
|
|
2049
|
+
/**
|
|
2050
|
+
* Rollback holds the configuration for Helm rollback actions for this HelmRelease.
|
|
2051
|
+
*
|
|
2052
|
+
* @schema HelmReleaseV2Beta1SpecRollback
|
|
2053
|
+
*/
|
|
2054
|
+
export interface HelmReleaseV2Beta1SpecRollback {
|
|
2055
|
+
/**
|
|
2056
|
+
* CleanupOnFail allows deletion of new resources created during the Helm
|
|
2057
|
+
* rollback action when it fails.
|
|
2058
|
+
*
|
|
2059
|
+
* @schema HelmReleaseV2Beta1SpecRollback#cleanupOnFail
|
|
2060
|
+
*/
|
|
2061
|
+
readonly cleanupOnFail?: boolean;
|
|
2062
|
+
/**
|
|
2063
|
+
* DisableHooks prevents hooks from running during the Helm rollback action.
|
|
2064
|
+
*
|
|
2065
|
+
* @schema HelmReleaseV2Beta1SpecRollback#disableHooks
|
|
2066
|
+
*/
|
|
2067
|
+
readonly disableHooks?: boolean;
|
|
2068
|
+
/**
|
|
2069
|
+
* DisableWait disables the waiting for resources to be ready after a Helm
|
|
2070
|
+
* rollback has been performed.
|
|
2071
|
+
*
|
|
2072
|
+
* @schema HelmReleaseV2Beta1SpecRollback#disableWait
|
|
2073
|
+
*/
|
|
2074
|
+
readonly disableWait?: boolean;
|
|
2075
|
+
/**
|
|
2076
|
+
* DisableWaitForJobs disables waiting for jobs to complete after a Helm
|
|
2077
|
+
* rollback has been performed.
|
|
2078
|
+
*
|
|
2079
|
+
* @schema HelmReleaseV2Beta1SpecRollback#disableWaitForJobs
|
|
2080
|
+
*/
|
|
2081
|
+
readonly disableWaitForJobs?: boolean;
|
|
2082
|
+
/**
|
|
2083
|
+
* Force forces resource updates through a replacement strategy.
|
|
2084
|
+
*
|
|
2085
|
+
* @schema HelmReleaseV2Beta1SpecRollback#force
|
|
2086
|
+
*/
|
|
2087
|
+
readonly force?: boolean;
|
|
2088
|
+
/**
|
|
2089
|
+
* Recreate performs pod restarts for the resource if applicable.
|
|
2090
|
+
*
|
|
2091
|
+
* @schema HelmReleaseV2Beta1SpecRollback#recreate
|
|
2092
|
+
*/
|
|
2093
|
+
readonly recreate?: boolean;
|
|
2094
|
+
/**
|
|
2095
|
+
* Timeout is the time to wait for any individual Kubernetes operation (like
|
|
2096
|
+
* Jobs for hooks) during the performance of a Helm rollback action. Defaults to
|
|
2097
|
+
* 'HelmReleaseSpec.Timeout'.
|
|
2098
|
+
*
|
|
2099
|
+
* @default HelmReleaseSpec.Timeout'.
|
|
2100
|
+
* @schema HelmReleaseV2Beta1SpecRollback#timeout
|
|
2101
|
+
*/
|
|
2102
|
+
readonly timeout?: string;
|
|
2103
|
+
}
|
|
2104
|
+
/**
|
|
2105
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecRollback' to JSON representation.
|
|
2106
|
+
*/
|
|
2107
|
+
export declare function toJson_HelmReleaseV2Beta1SpecRollback(obj: HelmReleaseV2Beta1SpecRollback | undefined): Record<string, any> | undefined;
|
|
2108
|
+
/**
|
|
2109
|
+
* Test holds the configuration for Helm test actions for this HelmRelease.
|
|
2110
|
+
*
|
|
2111
|
+
* @schema HelmReleaseV2Beta1SpecTest
|
|
2112
|
+
*/
|
|
2113
|
+
export interface HelmReleaseV2Beta1SpecTest {
|
|
2114
|
+
/**
|
|
2115
|
+
* Enable enables Helm test actions for this HelmRelease after an Helm install
|
|
2116
|
+
* or upgrade action has been performed.
|
|
2117
|
+
*
|
|
2118
|
+
* @schema HelmReleaseV2Beta1SpecTest#enable
|
|
2119
|
+
*/
|
|
2120
|
+
readonly enable?: boolean;
|
|
2121
|
+
/**
|
|
2122
|
+
* IgnoreFailures tells the controller to skip remediation when the Helm tests
|
|
2123
|
+
* are run but fail. Can be overwritten for tests run after install or upgrade
|
|
2124
|
+
* actions in 'Install.IgnoreTestFailures' and 'Upgrade.IgnoreTestFailures'.
|
|
2125
|
+
*
|
|
2126
|
+
* @schema HelmReleaseV2Beta1SpecTest#ignoreFailures
|
|
2127
|
+
*/
|
|
2128
|
+
readonly ignoreFailures?: boolean;
|
|
2129
|
+
/**
|
|
2130
|
+
* Timeout is the time to wait for any individual Kubernetes operation during
|
|
2131
|
+
* the performance of a Helm test action. Defaults to 'HelmReleaseSpec.Timeout'.
|
|
2132
|
+
*
|
|
2133
|
+
* @default HelmReleaseSpec.Timeout'.
|
|
2134
|
+
* @schema HelmReleaseV2Beta1SpecTest#timeout
|
|
2135
|
+
*/
|
|
2136
|
+
readonly timeout?: string;
|
|
2137
|
+
}
|
|
2138
|
+
/**
|
|
2139
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecTest' to JSON representation.
|
|
2140
|
+
*/
|
|
2141
|
+
export declare function toJson_HelmReleaseV2Beta1SpecTest(obj: HelmReleaseV2Beta1SpecTest | undefined): Record<string, any> | undefined;
|
|
2142
|
+
/**
|
|
2143
|
+
* Uninstall holds the configuration for Helm uninstall actions for this HelmRelease.
|
|
2144
|
+
*
|
|
2145
|
+
* @schema HelmReleaseV2Beta1SpecUninstall
|
|
2146
|
+
*/
|
|
2147
|
+
export interface HelmReleaseV2Beta1SpecUninstall {
|
|
2148
|
+
/**
|
|
2149
|
+
* DeletionPropagation specifies the deletion propagation policy when
|
|
2150
|
+
* a Helm uninstall is performed.
|
|
2151
|
+
*
|
|
2152
|
+
* @schema HelmReleaseV2Beta1SpecUninstall#deletionPropagation
|
|
2153
|
+
*/
|
|
2154
|
+
readonly deletionPropagation?: HelmReleaseV2Beta1SpecUninstallDeletionPropagation;
|
|
2155
|
+
/**
|
|
2156
|
+
* DisableHooks prevents hooks from running during the Helm rollback action.
|
|
2157
|
+
*
|
|
2158
|
+
* @schema HelmReleaseV2Beta1SpecUninstall#disableHooks
|
|
2159
|
+
*/
|
|
2160
|
+
readonly disableHooks?: boolean;
|
|
2161
|
+
/**
|
|
2162
|
+
* DisableWait disables waiting for all the resources to be deleted after
|
|
2163
|
+
* a Helm uninstall is performed.
|
|
2164
|
+
*
|
|
2165
|
+
* @schema HelmReleaseV2Beta1SpecUninstall#disableWait
|
|
2166
|
+
*/
|
|
2167
|
+
readonly disableWait?: boolean;
|
|
2168
|
+
/**
|
|
2169
|
+
* KeepHistory tells Helm to remove all associated resources and mark the
|
|
2170
|
+
* release as deleted, but retain the release history.
|
|
2171
|
+
*
|
|
2172
|
+
* @schema HelmReleaseV2Beta1SpecUninstall#keepHistory
|
|
2173
|
+
*/
|
|
2174
|
+
readonly keepHistory?: boolean;
|
|
2175
|
+
/**
|
|
2176
|
+
* Timeout is the time to wait for any individual Kubernetes operation (like
|
|
2177
|
+
* Jobs for hooks) during the performance of a Helm uninstall action. Defaults
|
|
2178
|
+
* to 'HelmReleaseSpec.Timeout'.
|
|
2179
|
+
*
|
|
2180
|
+
* @default HelmReleaseSpec.Timeout'.
|
|
2181
|
+
* @schema HelmReleaseV2Beta1SpecUninstall#timeout
|
|
2182
|
+
*/
|
|
2183
|
+
readonly timeout?: string;
|
|
2184
|
+
}
|
|
2185
|
+
/**
|
|
2186
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecUninstall' to JSON representation.
|
|
2187
|
+
*/
|
|
2188
|
+
export declare function toJson_HelmReleaseV2Beta1SpecUninstall(obj: HelmReleaseV2Beta1SpecUninstall | undefined): Record<string, any> | undefined;
|
|
2189
|
+
/**
|
|
2190
|
+
* Upgrade holds the configuration for Helm upgrade actions for this HelmRelease.
|
|
2191
|
+
*
|
|
2192
|
+
* @schema HelmReleaseV2Beta1SpecUpgrade
|
|
2193
|
+
*/
|
|
2194
|
+
export interface HelmReleaseV2Beta1SpecUpgrade {
|
|
2195
|
+
/**
|
|
2196
|
+
* CleanupOnFail allows deletion of new resources created during the Helm
|
|
2197
|
+
* upgrade action when it fails.
|
|
2198
|
+
*
|
|
2199
|
+
* @schema HelmReleaseV2Beta1SpecUpgrade#cleanupOnFail
|
|
2200
|
+
*/
|
|
2201
|
+
readonly cleanupOnFail?: boolean;
|
|
2202
|
+
/**
|
|
2203
|
+
* CRDs upgrade CRDs from the Helm Chart's crds directory according
|
|
2204
|
+
* to the CRD upgrade policy provided here. Valid values are `Skip`,
|
|
2205
|
+
* `Create` or `CreateReplace`. Default is `Skip` and if omitted
|
|
2206
|
+
* CRDs are neither installed nor upgraded.
|
|
2207
|
+
*
|
|
2208
|
+
* Skip: do neither install nor replace (update) any CRDs.
|
|
2209
|
+
*
|
|
2210
|
+
* Create: new CRDs are created, existing CRDs are neither updated nor deleted.
|
|
2211
|
+
*
|
|
2212
|
+
* CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
|
|
2213
|
+
* but not deleted.
|
|
2214
|
+
*
|
|
2215
|
+
* By default, CRDs are not applied during Helm upgrade action. With this
|
|
2216
|
+
* option users can opt-in to CRD upgrade, which is not (yet) natively supported by Helm.
|
|
2217
|
+
* https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
|
|
2218
|
+
*
|
|
2219
|
+
* @default Skip` and if omitted
|
|
2220
|
+
* @schema HelmReleaseV2Beta1SpecUpgrade#crds
|
|
2221
|
+
*/
|
|
2222
|
+
readonly crds?: HelmReleaseV2Beta1SpecUpgradeCrds;
|
|
2223
|
+
/**
|
|
2224
|
+
* DisableHooks prevents hooks from running during the Helm upgrade action.
|
|
2225
|
+
*
|
|
2226
|
+
* @schema HelmReleaseV2Beta1SpecUpgrade#disableHooks
|
|
2227
|
+
*/
|
|
2228
|
+
readonly disableHooks?: boolean;
|
|
2229
|
+
/**
|
|
2230
|
+
* DisableOpenAPIValidation prevents the Helm upgrade action from validating
|
|
2231
|
+
* rendered templates against the Kubernetes OpenAPI Schema.
|
|
2232
|
+
*
|
|
2233
|
+
* @schema HelmReleaseV2Beta1SpecUpgrade#disableOpenAPIValidation
|
|
2234
|
+
*/
|
|
2235
|
+
readonly disableOpenApiValidation?: boolean;
|
|
2236
|
+
/**
|
|
2237
|
+
* DisableWait disables the waiting for resources to be ready after a Helm
|
|
2238
|
+
* upgrade has been performed.
|
|
2239
|
+
*
|
|
2240
|
+
* @schema HelmReleaseV2Beta1SpecUpgrade#disableWait
|
|
2241
|
+
*/
|
|
2242
|
+
readonly disableWait?: boolean;
|
|
2243
|
+
/**
|
|
2244
|
+
* DisableWaitForJobs disables waiting for jobs to complete after a Helm
|
|
2245
|
+
* upgrade has been performed.
|
|
2246
|
+
*
|
|
2247
|
+
* @schema HelmReleaseV2Beta1SpecUpgrade#disableWaitForJobs
|
|
2248
|
+
*/
|
|
2249
|
+
readonly disableWaitForJobs?: boolean;
|
|
2250
|
+
/**
|
|
2251
|
+
* Force forces resource updates through a replacement strategy.
|
|
2252
|
+
*
|
|
2253
|
+
* @schema HelmReleaseV2Beta1SpecUpgrade#force
|
|
2254
|
+
*/
|
|
2255
|
+
readonly force?: boolean;
|
|
2256
|
+
/**
|
|
2257
|
+
* PreserveValues will make Helm reuse the last release's values and merge in
|
|
2258
|
+
* overrides from 'Values'. Setting this flag makes the HelmRelease
|
|
2259
|
+
* non-declarative.
|
|
2260
|
+
*
|
|
2261
|
+
* @schema HelmReleaseV2Beta1SpecUpgrade#preserveValues
|
|
2262
|
+
*/
|
|
2263
|
+
readonly preserveValues?: boolean;
|
|
2264
|
+
/**
|
|
2265
|
+
* Remediation holds the remediation configuration for when the Helm upgrade
|
|
2266
|
+
* action for the HelmRelease fails. The default is to not perform any action.
|
|
2267
|
+
*
|
|
2268
|
+
* @schema HelmReleaseV2Beta1SpecUpgrade#remediation
|
|
2269
|
+
*/
|
|
2270
|
+
readonly remediation?: HelmReleaseV2Beta1SpecUpgradeRemediation;
|
|
2271
|
+
/**
|
|
2272
|
+
* Timeout is the time to wait for any individual Kubernetes operation (like
|
|
2273
|
+
* Jobs for hooks) during the performance of a Helm upgrade action. Defaults to
|
|
2274
|
+
* 'HelmReleaseSpec.Timeout'.
|
|
2275
|
+
*
|
|
2276
|
+
* @default HelmReleaseSpec.Timeout'.
|
|
2277
|
+
* @schema HelmReleaseV2Beta1SpecUpgrade#timeout
|
|
2278
|
+
*/
|
|
2279
|
+
readonly timeout?: string;
|
|
2280
|
+
}
|
|
2281
|
+
/**
|
|
2282
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecUpgrade' to JSON representation.
|
|
2283
|
+
*/
|
|
2284
|
+
export declare function toJson_HelmReleaseV2Beta1SpecUpgrade(obj: HelmReleaseV2Beta1SpecUpgrade | undefined): Record<string, any> | undefined;
|
|
2285
|
+
/**
|
|
2286
|
+
* ValuesReference contains a reference to a resource containing Helm values,
|
|
2287
|
+
* and optionally the key they can be found at.
|
|
2288
|
+
*
|
|
2289
|
+
* @schema HelmReleaseV2Beta1SpecValuesFrom
|
|
2290
|
+
*/
|
|
2291
|
+
export interface HelmReleaseV2Beta1SpecValuesFrom {
|
|
2292
|
+
/**
|
|
2293
|
+
* Kind of the values referent, valid values are ('Secret', 'ConfigMap').
|
|
2294
|
+
*
|
|
2295
|
+
* @schema HelmReleaseV2Beta1SpecValuesFrom#kind
|
|
2296
|
+
*/
|
|
2297
|
+
readonly kind: HelmReleaseV2Beta1SpecValuesFromKind;
|
|
2298
|
+
/**
|
|
2299
|
+
* Name of the values referent. Should reside in the same namespace as the
|
|
2300
|
+
* referring resource.
|
|
2301
|
+
*
|
|
2302
|
+
* @schema HelmReleaseV2Beta1SpecValuesFrom#name
|
|
2303
|
+
*/
|
|
2304
|
+
readonly name: string;
|
|
2305
|
+
/**
|
|
2306
|
+
* Optional marks this ValuesReference as optional. When set, a not found error
|
|
2307
|
+
* for the values reference is ignored, but any ValuesKey, TargetPath or
|
|
2308
|
+
* transient error will still result in a reconciliation failure.
|
|
2309
|
+
*
|
|
2310
|
+
* @schema HelmReleaseV2Beta1SpecValuesFrom#optional
|
|
2311
|
+
*/
|
|
2312
|
+
readonly optional?: boolean;
|
|
2313
|
+
/**
|
|
2314
|
+
* TargetPath is the YAML dot notation path the value should be merged at. When
|
|
2315
|
+
* set, the ValuesKey is expected to be a single flat value. Defaults to 'None',
|
|
2316
|
+
* which results in the values getting merged at the root.
|
|
2317
|
+
*
|
|
2318
|
+
* @default None',
|
|
2319
|
+
* @schema HelmReleaseV2Beta1SpecValuesFrom#targetPath
|
|
2320
|
+
*/
|
|
2321
|
+
readonly targetPath?: string;
|
|
2322
|
+
/**
|
|
2323
|
+
* ValuesKey is the data key where the values.yaml or a specific value can be
|
|
2324
|
+
* found at. Defaults to 'values.yaml'.
|
|
2325
|
+
* When set, must be a valid Data Key, consisting of alphanumeric characters,
|
|
2326
|
+
* '-', '_' or '.'.
|
|
2327
|
+
*
|
|
2328
|
+
* @default values.yaml'.
|
|
2329
|
+
* @schema HelmReleaseV2Beta1SpecValuesFrom#valuesKey
|
|
2330
|
+
*/
|
|
2331
|
+
readonly valuesKey?: string;
|
|
2332
|
+
}
|
|
2333
|
+
/**
|
|
2334
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecValuesFrom' to JSON representation.
|
|
2335
|
+
*/
|
|
2336
|
+
export declare function toJson_HelmReleaseV2Beta1SpecValuesFrom(obj: HelmReleaseV2Beta1SpecValuesFrom | undefined): Record<string, any> | undefined;
|
|
2337
|
+
/**
|
|
2338
|
+
* ObjectMeta holds the template for metadata like labels and annotations.
|
|
2339
|
+
*
|
|
2340
|
+
* @schema HelmReleaseV2Beta1SpecChartMetadata
|
|
2341
|
+
*/
|
|
2342
|
+
export interface HelmReleaseV2Beta1SpecChartMetadata {
|
|
2343
|
+
/**
|
|
2344
|
+
* Annotations is an unstructured key value map stored with a resource that may be
|
|
2345
|
+
* set by external tools to store and retrieve arbitrary metadata. They are not
|
|
2346
|
+
* queryable and should be preserved when modifying objects.
|
|
2347
|
+
* More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
2348
|
+
*
|
|
2349
|
+
* @schema HelmReleaseV2Beta1SpecChartMetadata#annotations
|
|
2350
|
+
*/
|
|
2351
|
+
readonly annotations?: {
|
|
2352
|
+
[key: string]: string;
|
|
2353
|
+
};
|
|
2354
|
+
/**
|
|
2355
|
+
* Map of string keys and values that can be used to organize and categorize
|
|
2356
|
+
* (scope and select) objects.
|
|
2357
|
+
* More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
|
2358
|
+
*
|
|
2359
|
+
* @schema HelmReleaseV2Beta1SpecChartMetadata#labels
|
|
2360
|
+
*/
|
|
2361
|
+
readonly labels?: {
|
|
2362
|
+
[key: string]: string;
|
|
2363
|
+
};
|
|
2364
|
+
}
|
|
2365
|
+
/**
|
|
2366
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecChartMetadata' to JSON representation.
|
|
2367
|
+
*/
|
|
2368
|
+
export declare function toJson_HelmReleaseV2Beta1SpecChartMetadata(obj: HelmReleaseV2Beta1SpecChartMetadata | undefined): Record<string, any> | undefined;
|
|
2369
|
+
/**
|
|
2370
|
+
* Spec holds the template for the v1beta2.HelmChartSpec for this HelmRelease.
|
|
2371
|
+
*
|
|
2372
|
+
* @schema HelmReleaseV2Beta1SpecChartSpec
|
|
2373
|
+
*/
|
|
2374
|
+
export interface HelmReleaseV2Beta1SpecChartSpec {
|
|
2375
|
+
/**
|
|
2376
|
+
* The name or path the Helm chart is available at in the SourceRef.
|
|
2377
|
+
*
|
|
2378
|
+
* @schema HelmReleaseV2Beta1SpecChartSpec#chart
|
|
2379
|
+
*/
|
|
2380
|
+
readonly chart: string;
|
|
2381
|
+
/**
|
|
2382
|
+
* Interval at which to check the v1beta2.Source for updates. Defaults to
|
|
2383
|
+
* 'HelmReleaseSpec.Interval'.
|
|
2384
|
+
*
|
|
2385
|
+
* @default HelmReleaseSpec.Interval'.
|
|
2386
|
+
* @schema HelmReleaseV2Beta1SpecChartSpec#interval
|
|
2387
|
+
*/
|
|
2388
|
+
readonly interval?: string;
|
|
2389
|
+
/**
|
|
2390
|
+
* Determines what enables the creation of a new artifact. Valid values are
|
|
2391
|
+
* ('ChartVersion', 'Revision').
|
|
2392
|
+
* See the documentation of the values for an explanation on their behavior.
|
|
2393
|
+
* Defaults to ChartVersion when omitted.
|
|
2394
|
+
*
|
|
2395
|
+
* @default ChartVersion when omitted.
|
|
2396
|
+
* @schema HelmReleaseV2Beta1SpecChartSpec#reconcileStrategy
|
|
2397
|
+
*/
|
|
2398
|
+
readonly reconcileStrategy?: HelmReleaseV2Beta1SpecChartSpecReconcileStrategy;
|
|
2399
|
+
/**
|
|
2400
|
+
* The name and namespace of the v1beta2.Source the chart is available at.
|
|
2401
|
+
*
|
|
2402
|
+
* @schema HelmReleaseV2Beta1SpecChartSpec#sourceRef
|
|
2403
|
+
*/
|
|
2404
|
+
readonly sourceRef: HelmReleaseV2Beta1SpecChartSpecSourceRef;
|
|
2405
|
+
/**
|
|
2406
|
+
* Alternative values file to use as the default chart values, expected to
|
|
2407
|
+
* be a relative path in the SourceRef. Deprecated in favor of ValuesFiles,
|
|
2408
|
+
* for backwards compatibility the file defined here is merged before the
|
|
2409
|
+
* ValuesFiles items. Ignored when omitted.
|
|
2410
|
+
*
|
|
2411
|
+
* @schema HelmReleaseV2Beta1SpecChartSpec#valuesFile
|
|
2412
|
+
*/
|
|
2413
|
+
readonly valuesFile?: string;
|
|
2414
|
+
/**
|
|
2415
|
+
* Alternative list of values files to use as the chart values (values.yaml
|
|
2416
|
+
* is not included by default), expected to be a relative path in the SourceRef.
|
|
2417
|
+
* Values files are merged in the order of this list with the last file overriding
|
|
2418
|
+
* the first. Ignored when omitted.
|
|
2419
|
+
*
|
|
2420
|
+
* @schema HelmReleaseV2Beta1SpecChartSpec#valuesFiles
|
|
2421
|
+
*/
|
|
2422
|
+
readonly valuesFiles?: string[];
|
|
2423
|
+
/**
|
|
2424
|
+
* Verify contains the secret name containing the trusted public keys
|
|
2425
|
+
* used to verify the signature and specifies which provider to use to check
|
|
2426
|
+
* whether OCI image is authentic.
|
|
2427
|
+
* This field is only supported for OCI sources.
|
|
2428
|
+
* Chart dependencies, which are not bundled in the umbrella chart artifact, are not verified.
|
|
2429
|
+
*
|
|
2430
|
+
* @schema HelmReleaseV2Beta1SpecChartSpec#verify
|
|
2431
|
+
*/
|
|
2432
|
+
readonly verify?: HelmReleaseV2Beta1SpecChartSpecVerify;
|
|
2433
|
+
/**
|
|
2434
|
+
* Version semver expression, ignored for charts from v1beta2.GitRepository and
|
|
2435
|
+
* v1beta2.Bucket sources. Defaults to latest when omitted.
|
|
2436
|
+
*
|
|
2437
|
+
* @default latest when omitted.
|
|
2438
|
+
* @schema HelmReleaseV2Beta1SpecChartSpec#version
|
|
2439
|
+
*/
|
|
2440
|
+
readonly version?: string;
|
|
2441
|
+
}
|
|
2442
|
+
/**
|
|
2443
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecChartSpec' to JSON representation.
|
|
2444
|
+
*/
|
|
2445
|
+
export declare function toJson_HelmReleaseV2Beta1SpecChartSpec(obj: HelmReleaseV2Beta1SpecChartSpec | undefined): Record<string, any> | undefined;
|
|
2446
|
+
/**
|
|
2447
|
+
* Kind of the referent.
|
|
2448
|
+
*
|
|
2449
|
+
* @schema HelmReleaseV2Beta1SpecChartRefKind
|
|
2450
|
+
*/
|
|
2451
|
+
export declare enum HelmReleaseV2Beta1SpecChartRefKind {
|
|
2452
|
+
/** OCIRepository */
|
|
2453
|
+
OCI_REPOSITORY = "OCIRepository",
|
|
2454
|
+
/** HelmChart */
|
|
2455
|
+
HELM_CHART = "HelmChart"
|
|
2456
|
+
}
|
|
2457
|
+
/**
|
|
2458
|
+
* IgnoreRule defines a rule to selectively disregard specific changes during
|
|
2459
|
+
* the drift detection process.
|
|
2460
|
+
*
|
|
2461
|
+
* @schema HelmReleaseV2Beta1SpecDriftDetectionIgnore
|
|
2462
|
+
*/
|
|
2463
|
+
export interface HelmReleaseV2Beta1SpecDriftDetectionIgnore {
|
|
2464
|
+
/**
|
|
2465
|
+
* Paths is a list of JSON Pointer (RFC 6901) paths to be excluded from
|
|
2466
|
+
* consideration in a Kubernetes object.
|
|
2467
|
+
*
|
|
2468
|
+
* @schema HelmReleaseV2Beta1SpecDriftDetectionIgnore#paths
|
|
2469
|
+
*/
|
|
2470
|
+
readonly paths: string[];
|
|
2471
|
+
/**
|
|
2472
|
+
* Target is a selector for specifying Kubernetes objects to which this
|
|
2473
|
+
* rule applies.
|
|
2474
|
+
* If Target is not set, the Paths will be ignored for all Kubernetes
|
|
2475
|
+
* objects within the manifest of the Helm release.
|
|
2476
|
+
*
|
|
2477
|
+
* @schema HelmReleaseV2Beta1SpecDriftDetectionIgnore#target
|
|
2478
|
+
*/
|
|
2479
|
+
readonly target?: HelmReleaseV2Beta1SpecDriftDetectionIgnoreTarget;
|
|
2480
|
+
}
|
|
2481
|
+
/**
|
|
2482
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecDriftDetectionIgnore' to JSON representation.
|
|
2483
|
+
*/
|
|
2484
|
+
export declare function toJson_HelmReleaseV2Beta1SpecDriftDetectionIgnore(obj: HelmReleaseV2Beta1SpecDriftDetectionIgnore | undefined): Record<string, any> | undefined;
|
|
2485
|
+
/**
|
|
2486
|
+
* Mode defines how differences should be handled between the Helm manifest
|
|
2487
|
+
* and the manifest currently applied to the cluster.
|
|
2488
|
+
* If not explicitly set, it defaults to DiffModeDisabled.
|
|
2489
|
+
*
|
|
2490
|
+
* @schema HelmReleaseV2Beta1SpecDriftDetectionMode
|
|
2491
|
+
*/
|
|
2492
|
+
export declare enum HelmReleaseV2Beta1SpecDriftDetectionMode {
|
|
2493
|
+
/** enabled */
|
|
2494
|
+
ENABLED = "enabled",
|
|
2495
|
+
/** warn */
|
|
2496
|
+
WARN = "warn",
|
|
2497
|
+
/** disabled */
|
|
2498
|
+
DISABLED = "disabled"
|
|
2499
|
+
}
|
|
2500
|
+
/**
|
|
2501
|
+
* CRDs upgrade CRDs from the Helm Chart's crds directory according
|
|
2502
|
+
* to the CRD upgrade policy provided here. Valid values are `Skip`,
|
|
2503
|
+
* `Create` or `CreateReplace`. Default is `Create` and if omitted
|
|
2504
|
+
* CRDs are installed but not updated.
|
|
2505
|
+
*
|
|
2506
|
+
* Skip: do neither install nor replace (update) any CRDs.
|
|
2507
|
+
*
|
|
2508
|
+
* Create: new CRDs are created, existing CRDs are neither updated nor deleted.
|
|
2509
|
+
*
|
|
2510
|
+
* CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
|
|
2511
|
+
* but not deleted.
|
|
2512
|
+
*
|
|
2513
|
+
* By default, CRDs are applied (installed) during Helm install action.
|
|
2514
|
+
* With this option users can opt-in to CRD replace existing CRDs on Helm
|
|
2515
|
+
* install actions, which is not (yet) natively supported by Helm.
|
|
2516
|
+
* https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
|
|
2517
|
+
*
|
|
2518
|
+
* @default Create` and if omitted
|
|
2519
|
+
* @schema HelmReleaseV2Beta1SpecInstallCrds
|
|
2520
|
+
*/
|
|
2521
|
+
export declare enum HelmReleaseV2Beta1SpecInstallCrds {
|
|
2522
|
+
/** Skip */
|
|
2523
|
+
SKIP = "Skip",
|
|
2524
|
+
/** Create */
|
|
2525
|
+
CREATE = "Create",
|
|
2526
|
+
/** CreateReplace */
|
|
2527
|
+
CREATE_REPLACE = "CreateReplace"
|
|
2528
|
+
}
|
|
2529
|
+
/**
|
|
2530
|
+
* Remediation holds the remediation configuration for when the Helm install
|
|
2531
|
+
* action for the HelmRelease fails. The default is to not perform any action.
|
|
2532
|
+
*
|
|
2533
|
+
* @schema HelmReleaseV2Beta1SpecInstallRemediation
|
|
2534
|
+
*/
|
|
2535
|
+
export interface HelmReleaseV2Beta1SpecInstallRemediation {
|
|
2536
|
+
/**
|
|
2537
|
+
* IgnoreTestFailures tells the controller to skip remediation when the Helm
|
|
2538
|
+
* tests are run after an install action but fail. Defaults to
|
|
2539
|
+
* 'Test.IgnoreFailures'.
|
|
2540
|
+
*
|
|
2541
|
+
* @default Test.IgnoreFailures'.
|
|
2542
|
+
* @schema HelmReleaseV2Beta1SpecInstallRemediation#ignoreTestFailures
|
|
2543
|
+
*/
|
|
2544
|
+
readonly ignoreTestFailures?: boolean;
|
|
2545
|
+
/**
|
|
2546
|
+
* RemediateLastFailure tells the controller to remediate the last failure, when
|
|
2547
|
+
* no retries remain. Defaults to 'false'.
|
|
2548
|
+
*
|
|
2549
|
+
* @default false'.
|
|
2550
|
+
* @schema HelmReleaseV2Beta1SpecInstallRemediation#remediateLastFailure
|
|
2551
|
+
*/
|
|
2552
|
+
readonly remediateLastFailure?: boolean;
|
|
2553
|
+
/**
|
|
2554
|
+
* Retries is the number of retries that should be attempted on failures before
|
|
2555
|
+
* bailing. Remediation, using an uninstall, is performed between each attempt.
|
|
2556
|
+
* Defaults to '0', a negative integer equals to unlimited retries.
|
|
2557
|
+
*
|
|
2558
|
+
* @default 0', a negative integer equals to unlimited retries.
|
|
2559
|
+
* @schema HelmReleaseV2Beta1SpecInstallRemediation#retries
|
|
2560
|
+
*/
|
|
2561
|
+
readonly retries?: number;
|
|
2562
|
+
}
|
|
2563
|
+
/**
|
|
2564
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecInstallRemediation' to JSON representation.
|
|
2565
|
+
*/
|
|
2566
|
+
export declare function toJson_HelmReleaseV2Beta1SpecInstallRemediation(obj: HelmReleaseV2Beta1SpecInstallRemediation | undefined): Record<string, any> | undefined;
|
|
2567
|
+
/**
|
|
2568
|
+
* SecretRef holds the name of a secret that contains a key with
|
|
2569
|
+
* the kubeconfig file as the value. If no key is set, the key will default
|
|
2570
|
+
* to 'value'.
|
|
2571
|
+
* It is recommended that the kubeconfig is self-contained, and the secret
|
|
2572
|
+
* is regularly updated if credentials such as a cloud-access-token expire.
|
|
2573
|
+
* Cloud specific `cmd-path` auth helpers will not function without adding
|
|
2574
|
+
* binaries and credentials to the Pod that is responsible for reconciling
|
|
2575
|
+
* Kubernetes resources.
|
|
2576
|
+
*
|
|
2577
|
+
* @schema HelmReleaseV2Beta1SpecKubeConfigSecretRef
|
|
2578
|
+
*/
|
|
2579
|
+
export interface HelmReleaseV2Beta1SpecKubeConfigSecretRef {
|
|
2580
|
+
/**
|
|
2581
|
+
* Key in the Secret, when not specified an implementation-specific default key is used.
|
|
2582
|
+
*
|
|
2583
|
+
* @schema HelmReleaseV2Beta1SpecKubeConfigSecretRef#key
|
|
2584
|
+
*/
|
|
2585
|
+
readonly key?: string;
|
|
2586
|
+
/**
|
|
2587
|
+
* Name of the Secret.
|
|
2588
|
+
*
|
|
2589
|
+
* @schema HelmReleaseV2Beta1SpecKubeConfigSecretRef#name
|
|
2590
|
+
*/
|
|
2591
|
+
readonly name: string;
|
|
2592
|
+
}
|
|
2593
|
+
/**
|
|
2594
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecKubeConfigSecretRef' to JSON representation.
|
|
2595
|
+
*/
|
|
2596
|
+
export declare function toJson_HelmReleaseV2Beta1SpecKubeConfigSecretRef(obj: HelmReleaseV2Beta1SpecKubeConfigSecretRef | undefined): Record<string, any> | undefined;
|
|
2597
|
+
/**
|
|
2598
|
+
* Kustomization to apply as PostRenderer.
|
|
2599
|
+
*
|
|
2600
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomize
|
|
2601
|
+
*/
|
|
2602
|
+
export interface HelmReleaseV2Beta1SpecPostRenderersKustomize {
|
|
2603
|
+
/**
|
|
2604
|
+
* Images is a list of (image name, new name, new tag or digest)
|
|
2605
|
+
* for changing image names, tags or digests. This can also be achieved with a
|
|
2606
|
+
* patch, but this operator is simpler to specify.
|
|
2607
|
+
*
|
|
2608
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomize#images
|
|
2609
|
+
*/
|
|
2610
|
+
readonly images?: HelmReleaseV2Beta1SpecPostRenderersKustomizeImages[];
|
|
2611
|
+
/**
|
|
2612
|
+
* Strategic merge and JSON patches, defined as inline YAML objects,
|
|
2613
|
+
* capable of targeting objects based on kind, label and annotation selectors.
|
|
2614
|
+
*
|
|
2615
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomize#patches
|
|
2616
|
+
*/
|
|
2617
|
+
readonly patches?: HelmReleaseV2Beta1SpecPostRenderersKustomizePatches[];
|
|
2618
|
+
/**
|
|
2619
|
+
* JSON 6902 patches, defined as inline YAML objects.
|
|
2620
|
+
*
|
|
2621
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomize#patchesJson6902
|
|
2622
|
+
*/
|
|
2623
|
+
readonly patchesJson6902?: HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902[];
|
|
2624
|
+
/**
|
|
2625
|
+
* Strategic merge patches, defined as inline YAML objects.
|
|
2626
|
+
*
|
|
2627
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomize#patchesStrategicMerge
|
|
2628
|
+
*/
|
|
2629
|
+
readonly patchesStrategicMerge?: any[];
|
|
2630
|
+
}
|
|
2631
|
+
/**
|
|
2632
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecPostRenderersKustomize' to JSON representation.
|
|
2633
|
+
*/
|
|
2634
|
+
export declare function toJson_HelmReleaseV2Beta1SpecPostRenderersKustomize(obj: HelmReleaseV2Beta1SpecPostRenderersKustomize | undefined): Record<string, any> | undefined;
|
|
2635
|
+
/**
|
|
2636
|
+
* DeletionPropagation specifies the deletion propagation policy when
|
|
2637
|
+
* a Helm uninstall is performed.
|
|
2638
|
+
*
|
|
2639
|
+
* @schema HelmReleaseV2Beta1SpecUninstallDeletionPropagation
|
|
2640
|
+
*/
|
|
2641
|
+
export declare enum HelmReleaseV2Beta1SpecUninstallDeletionPropagation {
|
|
2642
|
+
/** background */
|
|
2643
|
+
BACKGROUND = "background",
|
|
2644
|
+
/** foreground */
|
|
2645
|
+
FOREGROUND = "foreground",
|
|
2646
|
+
/** orphan */
|
|
2647
|
+
ORPHAN = "orphan"
|
|
2648
|
+
}
|
|
2649
|
+
/**
|
|
2650
|
+
* CRDs upgrade CRDs from the Helm Chart's crds directory according
|
|
2651
|
+
* to the CRD upgrade policy provided here. Valid values are `Skip`,
|
|
2652
|
+
* `Create` or `CreateReplace`. Default is `Skip` and if omitted
|
|
2653
|
+
* CRDs are neither installed nor upgraded.
|
|
2654
|
+
*
|
|
2655
|
+
* Skip: do neither install nor replace (update) any CRDs.
|
|
2656
|
+
*
|
|
2657
|
+
* Create: new CRDs are created, existing CRDs are neither updated nor deleted.
|
|
2658
|
+
*
|
|
2659
|
+
* CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
|
|
2660
|
+
* but not deleted.
|
|
2661
|
+
*
|
|
2662
|
+
* By default, CRDs are not applied during Helm upgrade action. With this
|
|
2663
|
+
* option users can opt-in to CRD upgrade, which is not (yet) natively supported by Helm.
|
|
2664
|
+
* https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
|
|
2665
|
+
*
|
|
2666
|
+
* @default Skip` and if omitted
|
|
2667
|
+
* @schema HelmReleaseV2Beta1SpecUpgradeCrds
|
|
2668
|
+
*/
|
|
2669
|
+
export declare enum HelmReleaseV2Beta1SpecUpgradeCrds {
|
|
2670
|
+
/** Skip */
|
|
2671
|
+
SKIP = "Skip",
|
|
2672
|
+
/** Create */
|
|
2673
|
+
CREATE = "Create",
|
|
2674
|
+
/** CreateReplace */
|
|
2675
|
+
CREATE_REPLACE = "CreateReplace"
|
|
2676
|
+
}
|
|
2677
|
+
/**
|
|
2678
|
+
* Remediation holds the remediation configuration for when the Helm upgrade
|
|
2679
|
+
* action for the HelmRelease fails. The default is to not perform any action.
|
|
2680
|
+
*
|
|
2681
|
+
* @schema HelmReleaseV2Beta1SpecUpgradeRemediation
|
|
2682
|
+
*/
|
|
2683
|
+
export interface HelmReleaseV2Beta1SpecUpgradeRemediation {
|
|
2684
|
+
/**
|
|
2685
|
+
* IgnoreTestFailures tells the controller to skip remediation when the Helm
|
|
2686
|
+
* tests are run after an upgrade action but fail.
|
|
2687
|
+
* Defaults to 'Test.IgnoreFailures'.
|
|
2688
|
+
*
|
|
2689
|
+
* @default Test.IgnoreFailures'.
|
|
2690
|
+
* @schema HelmReleaseV2Beta1SpecUpgradeRemediation#ignoreTestFailures
|
|
2691
|
+
*/
|
|
2692
|
+
readonly ignoreTestFailures?: boolean;
|
|
2693
|
+
/**
|
|
2694
|
+
* RemediateLastFailure tells the controller to remediate the last failure, when
|
|
2695
|
+
* no retries remain. Defaults to 'false' unless 'Retries' is greater than 0.
|
|
2696
|
+
*
|
|
2697
|
+
* @default false' unless 'Retries' is greater than 0.
|
|
2698
|
+
* @schema HelmReleaseV2Beta1SpecUpgradeRemediation#remediateLastFailure
|
|
2699
|
+
*/
|
|
2700
|
+
readonly remediateLastFailure?: boolean;
|
|
2701
|
+
/**
|
|
2702
|
+
* Retries is the number of retries that should be attempted on failures before
|
|
2703
|
+
* bailing. Remediation, using 'Strategy', is performed between each attempt.
|
|
2704
|
+
* Defaults to '0', a negative integer equals to unlimited retries.
|
|
2705
|
+
*
|
|
2706
|
+
* @default 0', a negative integer equals to unlimited retries.
|
|
2707
|
+
* @schema HelmReleaseV2Beta1SpecUpgradeRemediation#retries
|
|
2708
|
+
*/
|
|
2709
|
+
readonly retries?: number;
|
|
2710
|
+
/**
|
|
2711
|
+
* Strategy to use for failure remediation. Defaults to 'rollback'.
|
|
2712
|
+
*
|
|
2713
|
+
* @default rollback'.
|
|
2714
|
+
* @schema HelmReleaseV2Beta1SpecUpgradeRemediation#strategy
|
|
2715
|
+
*/
|
|
2716
|
+
readonly strategy?: HelmReleaseV2Beta1SpecUpgradeRemediationStrategy;
|
|
2717
|
+
}
|
|
2718
|
+
/**
|
|
2719
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecUpgradeRemediation' to JSON representation.
|
|
2720
|
+
*/
|
|
2721
|
+
export declare function toJson_HelmReleaseV2Beta1SpecUpgradeRemediation(obj: HelmReleaseV2Beta1SpecUpgradeRemediation | undefined): Record<string, any> | undefined;
|
|
2722
|
+
/**
|
|
2723
|
+
* Kind of the values referent, valid values are ('Secret', 'ConfigMap').
|
|
2724
|
+
*
|
|
2725
|
+
* @schema HelmReleaseV2Beta1SpecValuesFromKind
|
|
2726
|
+
*/
|
|
2727
|
+
export declare enum HelmReleaseV2Beta1SpecValuesFromKind {
|
|
2728
|
+
/** Secret */
|
|
2729
|
+
SECRET = "Secret",
|
|
2730
|
+
/** ConfigMap */
|
|
2731
|
+
CONFIG_MAP = "ConfigMap"
|
|
2732
|
+
}
|
|
2733
|
+
/**
|
|
2734
|
+
* Determines what enables the creation of a new artifact. Valid values are
|
|
2735
|
+
* ('ChartVersion', 'Revision').
|
|
2736
|
+
* See the documentation of the values for an explanation on their behavior.
|
|
2737
|
+
* Defaults to ChartVersion when omitted.
|
|
2738
|
+
*
|
|
2739
|
+
* @default ChartVersion when omitted.
|
|
2740
|
+
* @schema HelmReleaseV2Beta1SpecChartSpecReconcileStrategy
|
|
2741
|
+
*/
|
|
2742
|
+
export declare enum HelmReleaseV2Beta1SpecChartSpecReconcileStrategy {
|
|
2743
|
+
/** ChartVersion */
|
|
2744
|
+
CHART_VERSION = "ChartVersion",
|
|
2745
|
+
/** Revision */
|
|
2746
|
+
REVISION = "Revision"
|
|
2747
|
+
}
|
|
2748
|
+
/**
|
|
2749
|
+
* The name and namespace of the v1beta2.Source the chart is available at.
|
|
2750
|
+
*
|
|
2751
|
+
* @schema HelmReleaseV2Beta1SpecChartSpecSourceRef
|
|
2752
|
+
*/
|
|
2753
|
+
export interface HelmReleaseV2Beta1SpecChartSpecSourceRef {
|
|
2754
|
+
/**
|
|
2755
|
+
* APIVersion of the referent.
|
|
2756
|
+
*
|
|
2757
|
+
* @schema HelmReleaseV2Beta1SpecChartSpecSourceRef#apiVersion
|
|
2758
|
+
*/
|
|
2759
|
+
readonly apiVersion?: string;
|
|
2760
|
+
/**
|
|
2761
|
+
* Kind of the referent.
|
|
2762
|
+
*
|
|
2763
|
+
* @schema HelmReleaseV2Beta1SpecChartSpecSourceRef#kind
|
|
2764
|
+
*/
|
|
2765
|
+
readonly kind: HelmReleaseV2Beta1SpecChartSpecSourceRefKind;
|
|
2766
|
+
/**
|
|
2767
|
+
* Name of the referent.
|
|
2768
|
+
*
|
|
2769
|
+
* @schema HelmReleaseV2Beta1SpecChartSpecSourceRef#name
|
|
2770
|
+
*/
|
|
2771
|
+
readonly name: string;
|
|
2772
|
+
/**
|
|
2773
|
+
* Namespace of the referent.
|
|
2774
|
+
*
|
|
2775
|
+
* @schema HelmReleaseV2Beta1SpecChartSpecSourceRef#namespace
|
|
2776
|
+
*/
|
|
2777
|
+
readonly namespace?: string;
|
|
2778
|
+
}
|
|
2779
|
+
/**
|
|
2780
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecChartSpecSourceRef' to JSON representation.
|
|
2781
|
+
*/
|
|
2782
|
+
export declare function toJson_HelmReleaseV2Beta1SpecChartSpecSourceRef(obj: HelmReleaseV2Beta1SpecChartSpecSourceRef | undefined): Record<string, any> | undefined;
|
|
2783
|
+
/**
|
|
2784
|
+
* Verify contains the secret name containing the trusted public keys
|
|
2785
|
+
* used to verify the signature and specifies which provider to use to check
|
|
2786
|
+
* whether OCI image is authentic.
|
|
2787
|
+
* This field is only supported for OCI sources.
|
|
2788
|
+
* Chart dependencies, which are not bundled in the umbrella chart artifact, are not verified.
|
|
2789
|
+
*
|
|
2790
|
+
* @schema HelmReleaseV2Beta1SpecChartSpecVerify
|
|
2791
|
+
*/
|
|
2792
|
+
export interface HelmReleaseV2Beta1SpecChartSpecVerify {
|
|
2793
|
+
/**
|
|
2794
|
+
* Provider specifies the technology used to sign the OCI Helm chart.
|
|
2795
|
+
*
|
|
2796
|
+
* @schema HelmReleaseV2Beta1SpecChartSpecVerify#provider
|
|
2797
|
+
*/
|
|
2798
|
+
readonly provider: HelmReleaseV2Beta1SpecChartSpecVerifyProvider;
|
|
2799
|
+
/**
|
|
2800
|
+
* SecretRef specifies the Kubernetes Secret containing the
|
|
2801
|
+
* trusted public keys.
|
|
2802
|
+
*
|
|
2803
|
+
* @schema HelmReleaseV2Beta1SpecChartSpecVerify#secretRef
|
|
2804
|
+
*/
|
|
2805
|
+
readonly secretRef?: HelmReleaseV2Beta1SpecChartSpecVerifySecretRef;
|
|
2806
|
+
}
|
|
2807
|
+
/**
|
|
2808
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecChartSpecVerify' to JSON representation.
|
|
2809
|
+
*/
|
|
2810
|
+
export declare function toJson_HelmReleaseV2Beta1SpecChartSpecVerify(obj: HelmReleaseV2Beta1SpecChartSpecVerify | undefined): Record<string, any> | undefined;
|
|
2811
|
+
/**
|
|
2812
|
+
* Target is a selector for specifying Kubernetes objects to which this
|
|
2813
|
+
* rule applies.
|
|
2814
|
+
* If Target is not set, the Paths will be ignored for all Kubernetes
|
|
2815
|
+
* objects within the manifest of the Helm release.
|
|
2816
|
+
*
|
|
2817
|
+
* @schema HelmReleaseV2Beta1SpecDriftDetectionIgnoreTarget
|
|
2818
|
+
*/
|
|
2819
|
+
export interface HelmReleaseV2Beta1SpecDriftDetectionIgnoreTarget {
|
|
2820
|
+
/**
|
|
2821
|
+
* AnnotationSelector is a string that follows the label selection expression
|
|
2822
|
+
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
|
|
2823
|
+
* It matches with the resource annotations.
|
|
2824
|
+
*
|
|
2825
|
+
* @schema HelmReleaseV2Beta1SpecDriftDetectionIgnoreTarget#annotationSelector
|
|
2826
|
+
*/
|
|
2827
|
+
readonly annotationSelector?: string;
|
|
2828
|
+
/**
|
|
2829
|
+
* Group is the API group to select resources from.
|
|
2830
|
+
* Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
|
|
2831
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
2832
|
+
*
|
|
2833
|
+
* @schema HelmReleaseV2Beta1SpecDriftDetectionIgnoreTarget#group
|
|
2834
|
+
*/
|
|
2835
|
+
readonly group?: string;
|
|
2836
|
+
/**
|
|
2837
|
+
* Kind of the API Group to select resources from.
|
|
2838
|
+
* Together with Group and Version it is capable of unambiguously
|
|
2839
|
+
* identifying and/or selecting resources.
|
|
2840
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
2841
|
+
*
|
|
2842
|
+
* @schema HelmReleaseV2Beta1SpecDriftDetectionIgnoreTarget#kind
|
|
2843
|
+
*/
|
|
2844
|
+
readonly kind?: string;
|
|
2845
|
+
/**
|
|
2846
|
+
* LabelSelector is a string that follows the label selection expression
|
|
2847
|
+
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
|
|
2848
|
+
* It matches with the resource labels.
|
|
2849
|
+
*
|
|
2850
|
+
* @schema HelmReleaseV2Beta1SpecDriftDetectionIgnoreTarget#labelSelector
|
|
2851
|
+
*/
|
|
2852
|
+
readonly labelSelector?: string;
|
|
2853
|
+
/**
|
|
2854
|
+
* Name to match resources with.
|
|
2855
|
+
*
|
|
2856
|
+
* @schema HelmReleaseV2Beta1SpecDriftDetectionIgnoreTarget#name
|
|
2857
|
+
*/
|
|
2858
|
+
readonly name?: string;
|
|
2859
|
+
/**
|
|
2860
|
+
* Namespace to select resources from.
|
|
2861
|
+
*
|
|
2862
|
+
* @schema HelmReleaseV2Beta1SpecDriftDetectionIgnoreTarget#namespace
|
|
2863
|
+
*/
|
|
2864
|
+
readonly namespace?: string;
|
|
2865
|
+
/**
|
|
2866
|
+
* Version of the API Group to select resources from.
|
|
2867
|
+
* Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
|
|
2868
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
2869
|
+
*
|
|
2870
|
+
* @schema HelmReleaseV2Beta1SpecDriftDetectionIgnoreTarget#version
|
|
2871
|
+
*/
|
|
2872
|
+
readonly version?: string;
|
|
2873
|
+
}
|
|
2874
|
+
/**
|
|
2875
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecDriftDetectionIgnoreTarget' to JSON representation.
|
|
2876
|
+
*/
|
|
2877
|
+
export declare function toJson_HelmReleaseV2Beta1SpecDriftDetectionIgnoreTarget(obj: HelmReleaseV2Beta1SpecDriftDetectionIgnoreTarget | undefined): Record<string, any> | undefined;
|
|
2878
|
+
/**
|
|
2879
|
+
* Image contains an image name, a new name, a new tag or digest, which will replace the original name and tag.
|
|
2880
|
+
*
|
|
2881
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizeImages
|
|
2882
|
+
*/
|
|
2883
|
+
export interface HelmReleaseV2Beta1SpecPostRenderersKustomizeImages {
|
|
2884
|
+
/**
|
|
2885
|
+
* Digest is the value used to replace the original image tag.
|
|
2886
|
+
* If digest is present NewTag value is ignored.
|
|
2887
|
+
*
|
|
2888
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizeImages#digest
|
|
2889
|
+
*/
|
|
2890
|
+
readonly digest?: string;
|
|
2891
|
+
/**
|
|
2892
|
+
* Name is a tag-less image name.
|
|
2893
|
+
*
|
|
2894
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizeImages#name
|
|
2895
|
+
*/
|
|
2896
|
+
readonly name: string;
|
|
2897
|
+
/**
|
|
2898
|
+
* NewName is the value used to replace the original name.
|
|
2899
|
+
*
|
|
2900
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizeImages#newName
|
|
2901
|
+
*/
|
|
2902
|
+
readonly newName?: string;
|
|
2903
|
+
/**
|
|
2904
|
+
* NewTag is the value used to replace the original tag.
|
|
2905
|
+
*
|
|
2906
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizeImages#newTag
|
|
2907
|
+
*/
|
|
2908
|
+
readonly newTag?: string;
|
|
2909
|
+
}
|
|
2910
|
+
/**
|
|
2911
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecPostRenderersKustomizeImages' to JSON representation.
|
|
2912
|
+
*/
|
|
2913
|
+
export declare function toJson_HelmReleaseV2Beta1SpecPostRenderersKustomizeImages(obj: HelmReleaseV2Beta1SpecPostRenderersKustomizeImages | undefined): Record<string, any> | undefined;
|
|
2914
|
+
/**
|
|
2915
|
+
* Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should
|
|
2916
|
+
* be applied to.
|
|
2917
|
+
*
|
|
2918
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatches
|
|
2919
|
+
*/
|
|
2920
|
+
export interface HelmReleaseV2Beta1SpecPostRenderersKustomizePatches {
|
|
2921
|
+
/**
|
|
2922
|
+
* Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with
|
|
2923
|
+
* an array of operation objects.
|
|
2924
|
+
*
|
|
2925
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatches#patch
|
|
2926
|
+
*/
|
|
2927
|
+
readonly patch: string;
|
|
2928
|
+
/**
|
|
2929
|
+
* Target points to the resources that the patch document should be applied to.
|
|
2930
|
+
*
|
|
2931
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatches#target
|
|
2932
|
+
*/
|
|
2933
|
+
readonly target?: HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesTarget;
|
|
2934
|
+
}
|
|
2935
|
+
/**
|
|
2936
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecPostRenderersKustomizePatches' to JSON representation.
|
|
2937
|
+
*/
|
|
2938
|
+
export declare function toJson_HelmReleaseV2Beta1SpecPostRenderersKustomizePatches(obj: HelmReleaseV2Beta1SpecPostRenderersKustomizePatches | undefined): Record<string, any> | undefined;
|
|
2939
|
+
/**
|
|
2940
|
+
* JSON6902Patch contains a JSON6902 patch and the target the patch should be applied to.
|
|
2941
|
+
*
|
|
2942
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902
|
|
2943
|
+
*/
|
|
2944
|
+
export interface HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902 {
|
|
2945
|
+
/**
|
|
2946
|
+
* Patch contains the JSON6902 patch document with an array of operation objects.
|
|
2947
|
+
*
|
|
2948
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902#patch
|
|
2949
|
+
*/
|
|
2950
|
+
readonly patch: HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Patch[];
|
|
2951
|
+
/**
|
|
2952
|
+
* Target points to the resources that the patch document should be applied to.
|
|
2953
|
+
*
|
|
2954
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902#target
|
|
2955
|
+
*/
|
|
2956
|
+
readonly target: HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Target;
|
|
2957
|
+
}
|
|
2958
|
+
/**
|
|
2959
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902' to JSON representation.
|
|
2960
|
+
*/
|
|
2961
|
+
export declare function toJson_HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902(obj: HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902 | undefined): Record<string, any> | undefined;
|
|
2962
|
+
/**
|
|
2963
|
+
* Strategy to use for failure remediation. Defaults to 'rollback'.
|
|
2964
|
+
*
|
|
2965
|
+
* @default rollback'.
|
|
2966
|
+
* @schema HelmReleaseV2Beta1SpecUpgradeRemediationStrategy
|
|
2967
|
+
*/
|
|
2968
|
+
export declare enum HelmReleaseV2Beta1SpecUpgradeRemediationStrategy {
|
|
2969
|
+
/** rollback */
|
|
2970
|
+
ROLLBACK = "rollback",
|
|
2971
|
+
/** uninstall */
|
|
2972
|
+
UNINSTALL = "uninstall"
|
|
2973
|
+
}
|
|
2974
|
+
/**
|
|
2975
|
+
* Kind of the referent.
|
|
2976
|
+
*
|
|
2977
|
+
* @schema HelmReleaseV2Beta1SpecChartSpecSourceRefKind
|
|
2978
|
+
*/
|
|
2979
|
+
export declare enum HelmReleaseV2Beta1SpecChartSpecSourceRefKind {
|
|
2980
|
+
/** HelmRepository */
|
|
2981
|
+
HELM_REPOSITORY = "HelmRepository",
|
|
2982
|
+
/** GitRepository */
|
|
2983
|
+
GIT_REPOSITORY = "GitRepository",
|
|
2984
|
+
/** Bucket */
|
|
2985
|
+
BUCKET = "Bucket"
|
|
2986
|
+
}
|
|
2987
|
+
/**
|
|
2988
|
+
* Provider specifies the technology used to sign the OCI Helm chart.
|
|
2989
|
+
*
|
|
2990
|
+
* @schema HelmReleaseV2Beta1SpecChartSpecVerifyProvider
|
|
2991
|
+
*/
|
|
2992
|
+
export declare enum HelmReleaseV2Beta1SpecChartSpecVerifyProvider {
|
|
2993
|
+
/** cosign */
|
|
2994
|
+
COSIGN = "cosign"
|
|
2995
|
+
}
|
|
2996
|
+
/**
|
|
2997
|
+
* SecretRef specifies the Kubernetes Secret containing the
|
|
2998
|
+
* trusted public keys.
|
|
2999
|
+
*
|
|
3000
|
+
* @schema HelmReleaseV2Beta1SpecChartSpecVerifySecretRef
|
|
3001
|
+
*/
|
|
3002
|
+
export interface HelmReleaseV2Beta1SpecChartSpecVerifySecretRef {
|
|
3003
|
+
/**
|
|
3004
|
+
* Name of the referent.
|
|
3005
|
+
*
|
|
3006
|
+
* @schema HelmReleaseV2Beta1SpecChartSpecVerifySecretRef#name
|
|
3007
|
+
*/
|
|
3008
|
+
readonly name: string;
|
|
3009
|
+
}
|
|
3010
|
+
/**
|
|
3011
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecChartSpecVerifySecretRef' to JSON representation.
|
|
3012
|
+
*/
|
|
3013
|
+
export declare function toJson_HelmReleaseV2Beta1SpecChartSpecVerifySecretRef(obj: HelmReleaseV2Beta1SpecChartSpecVerifySecretRef | undefined): Record<string, any> | undefined;
|
|
3014
|
+
/**
|
|
3015
|
+
* Target points to the resources that the patch document should be applied to.
|
|
3016
|
+
*
|
|
3017
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesTarget
|
|
3018
|
+
*/
|
|
3019
|
+
export interface HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesTarget {
|
|
3020
|
+
/**
|
|
3021
|
+
* AnnotationSelector is a string that follows the label selection expression
|
|
3022
|
+
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
|
|
3023
|
+
* It matches with the resource annotations.
|
|
3024
|
+
*
|
|
3025
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesTarget#annotationSelector
|
|
3026
|
+
*/
|
|
3027
|
+
readonly annotationSelector?: string;
|
|
3028
|
+
/**
|
|
3029
|
+
* Group is the API group to select resources from.
|
|
3030
|
+
* Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
|
|
3031
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
3032
|
+
*
|
|
3033
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesTarget#group
|
|
3034
|
+
*/
|
|
3035
|
+
readonly group?: string;
|
|
3036
|
+
/**
|
|
3037
|
+
* Kind of the API Group to select resources from.
|
|
3038
|
+
* Together with Group and Version it is capable of unambiguously
|
|
3039
|
+
* identifying and/or selecting resources.
|
|
3040
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
3041
|
+
*
|
|
3042
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesTarget#kind
|
|
3043
|
+
*/
|
|
3044
|
+
readonly kind?: string;
|
|
3045
|
+
/**
|
|
3046
|
+
* LabelSelector is a string that follows the label selection expression
|
|
3047
|
+
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
|
|
3048
|
+
* It matches with the resource labels.
|
|
3049
|
+
*
|
|
3050
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesTarget#labelSelector
|
|
3051
|
+
*/
|
|
3052
|
+
readonly labelSelector?: string;
|
|
3053
|
+
/**
|
|
3054
|
+
* Name to match resources with.
|
|
3055
|
+
*
|
|
3056
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesTarget#name
|
|
3057
|
+
*/
|
|
3058
|
+
readonly name?: string;
|
|
3059
|
+
/**
|
|
3060
|
+
* Namespace to select resources from.
|
|
3061
|
+
*
|
|
3062
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesTarget#namespace
|
|
3063
|
+
*/
|
|
3064
|
+
readonly namespace?: string;
|
|
3065
|
+
/**
|
|
3066
|
+
* Version of the API Group to select resources from.
|
|
3067
|
+
* Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
|
|
3068
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
3069
|
+
*
|
|
3070
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesTarget#version
|
|
3071
|
+
*/
|
|
3072
|
+
readonly version?: string;
|
|
3073
|
+
}
|
|
3074
|
+
/**
|
|
3075
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesTarget' to JSON representation.
|
|
3076
|
+
*/
|
|
3077
|
+
export declare function toJson_HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesTarget(obj: HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesTarget | undefined): Record<string, any> | undefined;
|
|
3078
|
+
/**
|
|
3079
|
+
* JSON6902 is a JSON6902 operation object.
|
|
3080
|
+
* https://datatracker.ietf.org/doc/html/rfc6902#section-4
|
|
3081
|
+
*
|
|
3082
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Patch
|
|
3083
|
+
*/
|
|
3084
|
+
export interface HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Patch {
|
|
3085
|
+
/**
|
|
3086
|
+
* From contains a JSON-pointer value that references a location within the target document where the operation is
|
|
3087
|
+
* performed. The meaning of the value depends on the value of Op, and is NOT taken into account by all operations.
|
|
3088
|
+
*
|
|
3089
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Patch#from
|
|
3090
|
+
*/
|
|
3091
|
+
readonly from?: string;
|
|
3092
|
+
/**
|
|
3093
|
+
* Op indicates the operation to perform. Its value MUST be one of "add", "remove", "replace", "move", "copy", or
|
|
3094
|
+
* "test".
|
|
3095
|
+
* https://datatracker.ietf.org/doc/html/rfc6902#section-4
|
|
3096
|
+
*
|
|
3097
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Patch#op
|
|
3098
|
+
*/
|
|
3099
|
+
readonly op: HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902PatchOp;
|
|
3100
|
+
/**
|
|
3101
|
+
* Path contains the JSON-pointer value that references a location within the target document where the operation
|
|
3102
|
+
* is performed. The meaning of the value depends on the value of Op.
|
|
3103
|
+
*
|
|
3104
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Patch#path
|
|
3105
|
+
*/
|
|
3106
|
+
readonly path: string;
|
|
3107
|
+
/**
|
|
3108
|
+
* Value contains a valid JSON structure. The meaning of the value depends on the value of Op, and is NOT taken into
|
|
3109
|
+
* account by all operations.
|
|
3110
|
+
*
|
|
3111
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Patch#value
|
|
3112
|
+
*/
|
|
3113
|
+
readonly value?: any;
|
|
3114
|
+
}
|
|
3115
|
+
/**
|
|
3116
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Patch' to JSON representation.
|
|
3117
|
+
*/
|
|
3118
|
+
export declare function toJson_HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Patch(obj: HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Patch | undefined): Record<string, any> | undefined;
|
|
3119
|
+
/**
|
|
3120
|
+
* Target points to the resources that the patch document should be applied to.
|
|
3121
|
+
*
|
|
3122
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Target
|
|
3123
|
+
*/
|
|
3124
|
+
export interface HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Target {
|
|
3125
|
+
/**
|
|
3126
|
+
* AnnotationSelector is a string that follows the label selection expression
|
|
3127
|
+
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
|
|
3128
|
+
* It matches with the resource annotations.
|
|
3129
|
+
*
|
|
3130
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Target#annotationSelector
|
|
3131
|
+
*/
|
|
3132
|
+
readonly annotationSelector?: string;
|
|
3133
|
+
/**
|
|
3134
|
+
* Group is the API group to select resources from.
|
|
3135
|
+
* Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
|
|
3136
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
3137
|
+
*
|
|
3138
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Target#group
|
|
3139
|
+
*/
|
|
3140
|
+
readonly group?: string;
|
|
3141
|
+
/**
|
|
3142
|
+
* Kind of the API Group to select resources from.
|
|
3143
|
+
* Together with Group and Version it is capable of unambiguously
|
|
3144
|
+
* identifying and/or selecting resources.
|
|
3145
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
3146
|
+
*
|
|
3147
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Target#kind
|
|
3148
|
+
*/
|
|
3149
|
+
readonly kind?: string;
|
|
3150
|
+
/**
|
|
3151
|
+
* LabelSelector is a string that follows the label selection expression
|
|
3152
|
+
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
|
|
3153
|
+
* It matches with the resource labels.
|
|
3154
|
+
*
|
|
3155
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Target#labelSelector
|
|
3156
|
+
*/
|
|
3157
|
+
readonly labelSelector?: string;
|
|
3158
|
+
/**
|
|
3159
|
+
* Name to match resources with.
|
|
3160
|
+
*
|
|
3161
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Target#name
|
|
3162
|
+
*/
|
|
3163
|
+
readonly name?: string;
|
|
3164
|
+
/**
|
|
3165
|
+
* Namespace to select resources from.
|
|
3166
|
+
*
|
|
3167
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Target#namespace
|
|
3168
|
+
*/
|
|
3169
|
+
readonly namespace?: string;
|
|
3170
|
+
/**
|
|
3171
|
+
* Version of the API Group to select resources from.
|
|
3172
|
+
* Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
|
|
3173
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
3174
|
+
*
|
|
3175
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Target#version
|
|
3176
|
+
*/
|
|
3177
|
+
readonly version?: string;
|
|
3178
|
+
}
|
|
3179
|
+
/**
|
|
3180
|
+
* Converts an object of type 'HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Target' to JSON representation.
|
|
3181
|
+
*/
|
|
3182
|
+
export declare function toJson_HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Target(obj: HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902Target | undefined): Record<string, any> | undefined;
|
|
3183
|
+
/**
|
|
3184
|
+
* Op indicates the operation to perform. Its value MUST be one of "add", "remove", "replace", "move", "copy", or
|
|
3185
|
+
* "test".
|
|
3186
|
+
* https://datatracker.ietf.org/doc/html/rfc6902#section-4
|
|
3187
|
+
*
|
|
3188
|
+
* @schema HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902PatchOp
|
|
3189
|
+
*/
|
|
3190
|
+
export declare enum HelmReleaseV2Beta1SpecPostRenderersKustomizePatchesJson6902PatchOp {
|
|
3191
|
+
/** test */
|
|
3192
|
+
TEST = "test",
|
|
3193
|
+
/** remove */
|
|
3194
|
+
REMOVE = "remove",
|
|
3195
|
+
/** add */
|
|
3196
|
+
ADD = "add",
|
|
3197
|
+
/** replace */
|
|
3198
|
+
REPLACE = "replace",
|
|
3199
|
+
/** move */
|
|
3200
|
+
MOVE = "move",
|
|
3201
|
+
/** copy */
|
|
3202
|
+
COPY = "copy"
|
|
3203
|
+
}
|
|
3204
|
+
/**
|
|
3205
|
+
* HelmRelease is the Schema for the helmreleases API
|
|
3206
|
+
*
|
|
3207
|
+
* @schema HelmReleaseV2Beta2
|
|
3208
|
+
*/
|
|
3209
|
+
export declare class HelmReleaseV2Beta2 extends ApiObject {
|
|
3210
|
+
/**
|
|
3211
|
+
* Returns the apiVersion and kind for "HelmReleaseV2Beta2"
|
|
3212
|
+
*/
|
|
3213
|
+
static readonly GVK: GroupVersionKind;
|
|
3214
|
+
/**
|
|
3215
|
+
* Renders a Kubernetes manifest for "HelmReleaseV2Beta2".
|
|
3216
|
+
*
|
|
3217
|
+
* This can be used to inline resource manifests inside other objects (e.g. as templates).
|
|
3218
|
+
*
|
|
3219
|
+
* @param props initialization props
|
|
3220
|
+
*/
|
|
3221
|
+
static manifest(props?: HelmReleaseV2Beta2Props): any;
|
|
3222
|
+
/**
|
|
3223
|
+
* Defines a "HelmReleaseV2Beta2" API object
|
|
3224
|
+
* @param scope the scope in which to define this object
|
|
3225
|
+
* @param id a scope-local name for the object
|
|
3226
|
+
* @param props initialization props
|
|
3227
|
+
*/
|
|
3228
|
+
constructor(scope: Construct, id: string, props?: HelmReleaseV2Beta2Props);
|
|
3229
|
+
/**
|
|
3230
|
+
* Renders the object to Kubernetes JSON.
|
|
3231
|
+
*/
|
|
3232
|
+
toJson(): any;
|
|
3233
|
+
}
|
|
3234
|
+
/**
|
|
3235
|
+
* HelmRelease is the Schema for the helmreleases API
|
|
3236
|
+
*
|
|
3237
|
+
* @schema HelmReleaseV2Beta2
|
|
3238
|
+
*/
|
|
3239
|
+
export interface HelmReleaseV2Beta2Props {
|
|
3240
|
+
/**
|
|
3241
|
+
* @schema HelmReleaseV2Beta2#metadata
|
|
3242
|
+
*/
|
|
3243
|
+
readonly metadata?: ApiObjectMetadata;
|
|
3244
|
+
/**
|
|
3245
|
+
* HelmReleaseSpec defines the desired state of a Helm release.
|
|
3246
|
+
*
|
|
3247
|
+
* @schema HelmReleaseV2Beta2#spec
|
|
3248
|
+
*/
|
|
3249
|
+
readonly spec?: HelmReleaseV2Beta2Spec;
|
|
3250
|
+
}
|
|
3251
|
+
/**
|
|
3252
|
+
* Converts an object of type 'HelmReleaseV2Beta2Props' to JSON representation.
|
|
3253
|
+
*/
|
|
3254
|
+
export declare function toJson_HelmReleaseV2Beta2Props(obj: HelmReleaseV2Beta2Props | undefined): Record<string, any> | undefined;
|
|
3255
|
+
/**
|
|
3256
|
+
* HelmReleaseSpec defines the desired state of a Helm release.
|
|
3257
|
+
*
|
|
3258
|
+
* @schema HelmReleaseV2Beta2Spec
|
|
3259
|
+
*/
|
|
3260
|
+
export interface HelmReleaseV2Beta2Spec {
|
|
3261
|
+
/**
|
|
3262
|
+
* Chart defines the template of the v1beta2.HelmChart that should be created
|
|
3263
|
+
* for this HelmRelease.
|
|
3264
|
+
*
|
|
3265
|
+
* @schema HelmReleaseV2Beta2Spec#chart
|
|
3266
|
+
*/
|
|
3267
|
+
readonly chart?: HelmReleaseV2Beta2SpecChart;
|
|
3268
|
+
/**
|
|
3269
|
+
* ChartRef holds a reference to a source controller resource containing the
|
|
3270
|
+
* Helm chart artifact.
|
|
3271
|
+
*
|
|
3272
|
+
* Note: this field is provisional to the v2 API, and not actively used
|
|
3273
|
+
* by v2beta2 HelmReleases.
|
|
3274
|
+
*
|
|
3275
|
+
* @schema HelmReleaseV2Beta2Spec#chartRef
|
|
3276
|
+
*/
|
|
3277
|
+
readonly chartRef?: HelmReleaseV2Beta2SpecChartRef;
|
|
3278
|
+
/**
|
|
3279
|
+
* DependsOn may contain a meta.NamespacedObjectReference slice with
|
|
3280
|
+
* references to HelmRelease resources that must be ready before this HelmRelease
|
|
3281
|
+
* can be reconciled.
|
|
3282
|
+
*
|
|
3283
|
+
* @schema HelmReleaseV2Beta2Spec#dependsOn
|
|
3284
|
+
*/
|
|
3285
|
+
readonly dependsOn?: HelmReleaseV2Beta2SpecDependsOn[];
|
|
3286
|
+
/**
|
|
3287
|
+
* DriftDetection holds the configuration for detecting and handling
|
|
3288
|
+
* differences between the manifest in the Helm storage and the resources
|
|
3289
|
+
* currently existing in the cluster.
|
|
3290
|
+
*
|
|
3291
|
+
* @schema HelmReleaseV2Beta2Spec#driftDetection
|
|
3292
|
+
*/
|
|
3293
|
+
readonly driftDetection?: HelmReleaseV2Beta2SpecDriftDetection;
|
|
3294
|
+
/**
|
|
3295
|
+
* Install holds the configuration for Helm install actions for this HelmRelease.
|
|
3296
|
+
*
|
|
3297
|
+
* @schema HelmReleaseV2Beta2Spec#install
|
|
3298
|
+
*/
|
|
3299
|
+
readonly install?: HelmReleaseV2Beta2SpecInstall;
|
|
3300
|
+
/**
|
|
3301
|
+
* Interval at which to reconcile the Helm release.
|
|
3302
|
+
*
|
|
3303
|
+
* @schema HelmReleaseV2Beta2Spec#interval
|
|
3304
|
+
*/
|
|
3305
|
+
readonly interval: string;
|
|
3306
|
+
/**
|
|
3307
|
+
* KubeConfig for reconciling the HelmRelease on a remote cluster.
|
|
3308
|
+
* When used in combination with HelmReleaseSpec.ServiceAccountName,
|
|
3309
|
+
* forces the controller to act on behalf of that Service Account at the
|
|
3310
|
+
* target cluster.
|
|
3311
|
+
* If the --default-service-account flag is set, its value will be used as
|
|
3312
|
+
* a controller level fallback for when HelmReleaseSpec.ServiceAccountName
|
|
3313
|
+
* is empty.
|
|
3314
|
+
*
|
|
3315
|
+
* @schema HelmReleaseV2Beta2Spec#kubeConfig
|
|
3316
|
+
*/
|
|
3317
|
+
readonly kubeConfig?: HelmReleaseV2Beta2SpecKubeConfig;
|
|
3318
|
+
/**
|
|
3319
|
+
* MaxHistory is the number of revisions saved by Helm for this HelmRelease.
|
|
3320
|
+
* Use '0' for an unlimited number of revisions; defaults to '5'.
|
|
3321
|
+
*
|
|
3322
|
+
* @schema HelmReleaseV2Beta2Spec#maxHistory
|
|
3323
|
+
*/
|
|
3324
|
+
readonly maxHistory?: number;
|
|
3325
|
+
/**
|
|
3326
|
+
* PersistentClient tells the controller to use a persistent Kubernetes
|
|
3327
|
+
* client for this release. When enabled, the client will be reused for the
|
|
3328
|
+
* duration of the reconciliation, instead of being created and destroyed
|
|
3329
|
+
* for each (step of a) Helm action.
|
|
3330
|
+
*
|
|
3331
|
+
* This can improve performance, but may cause issues with some Helm charts
|
|
3332
|
+
* that for example do create Custom Resource Definitions during installation
|
|
3333
|
+
* outside Helm's CRD lifecycle hooks, which are then not observed to be
|
|
3334
|
+
* available by e.g. post-install hooks.
|
|
3335
|
+
*
|
|
3336
|
+
* If not set, it defaults to true.
|
|
3337
|
+
*
|
|
3338
|
+
* @schema HelmReleaseV2Beta2Spec#persistentClient
|
|
3339
|
+
*/
|
|
3340
|
+
readonly persistentClient?: boolean;
|
|
3341
|
+
/**
|
|
3342
|
+
* PostRenderers holds an array of Helm PostRenderers, which will be applied in order
|
|
3343
|
+
* of their definition.
|
|
3344
|
+
*
|
|
3345
|
+
* @schema HelmReleaseV2Beta2Spec#postRenderers
|
|
3346
|
+
*/
|
|
3347
|
+
readonly postRenderers?: HelmReleaseV2Beta2SpecPostRenderers[];
|
|
3348
|
+
/**
|
|
3349
|
+
* ReleaseName used for the Helm release. Defaults to a composition of
|
|
3350
|
+
* '[TargetNamespace-]Name'.
|
|
3351
|
+
*
|
|
3352
|
+
* @default a composition of
|
|
3353
|
+
* @schema HelmReleaseV2Beta2Spec#releaseName
|
|
3354
|
+
*/
|
|
3355
|
+
readonly releaseName?: string;
|
|
3356
|
+
/**
|
|
3357
|
+
* Rollback holds the configuration for Helm rollback actions for this HelmRelease.
|
|
3358
|
+
*
|
|
3359
|
+
* @schema HelmReleaseV2Beta2Spec#rollback
|
|
3360
|
+
*/
|
|
3361
|
+
readonly rollback?: HelmReleaseV2Beta2SpecRollback;
|
|
3362
|
+
/**
|
|
3363
|
+
* The name of the Kubernetes service account to impersonate
|
|
3364
|
+
* when reconciling this HelmRelease.
|
|
3365
|
+
*
|
|
3366
|
+
* @schema HelmReleaseV2Beta2Spec#serviceAccountName
|
|
3367
|
+
*/
|
|
3368
|
+
readonly serviceAccountName?: string;
|
|
3369
|
+
/**
|
|
3370
|
+
* StorageNamespace used for the Helm storage.
|
|
3371
|
+
* Defaults to the namespace of the HelmRelease.
|
|
3372
|
+
*
|
|
3373
|
+
* @default the namespace of the HelmRelease.
|
|
3374
|
+
* @schema HelmReleaseV2Beta2Spec#storageNamespace
|
|
3375
|
+
*/
|
|
3376
|
+
readonly storageNamespace?: string;
|
|
3377
|
+
/**
|
|
3378
|
+
* Suspend tells the controller to suspend reconciliation for this HelmRelease,
|
|
3379
|
+
* it does not apply to already started reconciliations. Defaults to false.
|
|
3380
|
+
*
|
|
3381
|
+
* @default false.
|
|
3382
|
+
* @schema HelmReleaseV2Beta2Spec#suspend
|
|
3383
|
+
*/
|
|
3384
|
+
readonly suspend?: boolean;
|
|
3385
|
+
/**
|
|
3386
|
+
* TargetNamespace to target when performing operations for the HelmRelease.
|
|
3387
|
+
* Defaults to the namespace of the HelmRelease.
|
|
3388
|
+
*
|
|
3389
|
+
* @default the namespace of the HelmRelease.
|
|
3390
|
+
* @schema HelmReleaseV2Beta2Spec#targetNamespace
|
|
3391
|
+
*/
|
|
3392
|
+
readonly targetNamespace?: string;
|
|
3393
|
+
/**
|
|
3394
|
+
* Test holds the configuration for Helm test actions for this HelmRelease.
|
|
3395
|
+
*
|
|
3396
|
+
* @schema HelmReleaseV2Beta2Spec#test
|
|
3397
|
+
*/
|
|
3398
|
+
readonly test?: HelmReleaseV2Beta2SpecTest;
|
|
3399
|
+
/**
|
|
3400
|
+
* Timeout is the time to wait for any individual Kubernetes operation (like Jobs
|
|
3401
|
+
* for hooks) during the performance of a Helm action. Defaults to '5m0s'.
|
|
3402
|
+
*
|
|
3403
|
+
* @default 5m0s'.
|
|
3404
|
+
* @schema HelmReleaseV2Beta2Spec#timeout
|
|
3405
|
+
*/
|
|
3406
|
+
readonly timeout?: string;
|
|
3407
|
+
/**
|
|
3408
|
+
* Uninstall holds the configuration for Helm uninstall actions for this HelmRelease.
|
|
3409
|
+
*
|
|
3410
|
+
* @schema HelmReleaseV2Beta2Spec#uninstall
|
|
3411
|
+
*/
|
|
3412
|
+
readonly uninstall?: HelmReleaseV2Beta2SpecUninstall;
|
|
3413
|
+
/**
|
|
3414
|
+
* Upgrade holds the configuration for Helm upgrade actions for this HelmRelease.
|
|
3415
|
+
*
|
|
3416
|
+
* @schema HelmReleaseV2Beta2Spec#upgrade
|
|
3417
|
+
*/
|
|
3418
|
+
readonly upgrade?: HelmReleaseV2Beta2SpecUpgrade;
|
|
3419
|
+
/**
|
|
3420
|
+
* Values holds the values for this Helm release.
|
|
3421
|
+
*
|
|
3422
|
+
* @schema HelmReleaseV2Beta2Spec#values
|
|
3423
|
+
*/
|
|
3424
|
+
readonly values?: any;
|
|
3425
|
+
/**
|
|
3426
|
+
* ValuesFrom holds references to resources containing Helm values for this HelmRelease,
|
|
3427
|
+
* and information about how they should be merged.
|
|
3428
|
+
*
|
|
3429
|
+
* @schema HelmReleaseV2Beta2Spec#valuesFrom
|
|
3430
|
+
*/
|
|
3431
|
+
readonly valuesFrom?: HelmReleaseV2Beta2SpecValuesFrom[];
|
|
3432
|
+
}
|
|
3433
|
+
/**
|
|
3434
|
+
* Converts an object of type 'HelmReleaseV2Beta2Spec' to JSON representation.
|
|
3435
|
+
*/
|
|
3436
|
+
export declare function toJson_HelmReleaseV2Beta2Spec(obj: HelmReleaseV2Beta2Spec | undefined): Record<string, any> | undefined;
|
|
3437
|
+
/**
|
|
3438
|
+
* Chart defines the template of the v1beta2.HelmChart that should be created
|
|
3439
|
+
* for this HelmRelease.
|
|
3440
|
+
*
|
|
3441
|
+
* @schema HelmReleaseV2Beta2SpecChart
|
|
3442
|
+
*/
|
|
3443
|
+
export interface HelmReleaseV2Beta2SpecChart {
|
|
3444
|
+
/**
|
|
3445
|
+
* ObjectMeta holds the template for metadata like labels and annotations.
|
|
3446
|
+
*
|
|
3447
|
+
* @schema HelmReleaseV2Beta2SpecChart#metadata
|
|
3448
|
+
*/
|
|
3449
|
+
readonly metadata?: HelmReleaseV2Beta2SpecChartMetadata;
|
|
3450
|
+
/**
|
|
3451
|
+
* Spec holds the template for the v1beta2.HelmChartSpec for this HelmRelease.
|
|
3452
|
+
*
|
|
3453
|
+
* @schema HelmReleaseV2Beta2SpecChart#spec
|
|
3454
|
+
*/
|
|
3455
|
+
readonly spec: HelmReleaseV2Beta2SpecChartSpec;
|
|
3456
|
+
}
|
|
3457
|
+
/**
|
|
3458
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecChart' to JSON representation.
|
|
3459
|
+
*/
|
|
3460
|
+
export declare function toJson_HelmReleaseV2Beta2SpecChart(obj: HelmReleaseV2Beta2SpecChart | undefined): Record<string, any> | undefined;
|
|
3461
|
+
/**
|
|
3462
|
+
* ChartRef holds a reference to a source controller resource containing the
|
|
3463
|
+
* Helm chart artifact.
|
|
3464
|
+
*
|
|
3465
|
+
* Note: this field is provisional to the v2 API, and not actively used
|
|
3466
|
+
* by v2beta2 HelmReleases.
|
|
3467
|
+
*
|
|
3468
|
+
* @schema HelmReleaseV2Beta2SpecChartRef
|
|
3469
|
+
*/
|
|
3470
|
+
export interface HelmReleaseV2Beta2SpecChartRef {
|
|
3471
|
+
/**
|
|
3472
|
+
* APIVersion of the referent.
|
|
3473
|
+
*
|
|
3474
|
+
* @schema HelmReleaseV2Beta2SpecChartRef#apiVersion
|
|
3475
|
+
*/
|
|
3476
|
+
readonly apiVersion?: string;
|
|
3477
|
+
/**
|
|
3478
|
+
* Kind of the referent.
|
|
3479
|
+
*
|
|
3480
|
+
* @schema HelmReleaseV2Beta2SpecChartRef#kind
|
|
3481
|
+
*/
|
|
3482
|
+
readonly kind: HelmReleaseV2Beta2SpecChartRefKind;
|
|
3483
|
+
/**
|
|
3484
|
+
* Name of the referent.
|
|
3485
|
+
*
|
|
3486
|
+
* @schema HelmReleaseV2Beta2SpecChartRef#name
|
|
3487
|
+
*/
|
|
3488
|
+
readonly name: string;
|
|
3489
|
+
/**
|
|
3490
|
+
* Namespace of the referent, defaults to the namespace of the Kubernetes
|
|
3491
|
+
* resource object that contains the reference.
|
|
3492
|
+
*
|
|
3493
|
+
* @schema HelmReleaseV2Beta2SpecChartRef#namespace
|
|
3494
|
+
*/
|
|
3495
|
+
readonly namespace?: string;
|
|
3496
|
+
}
|
|
3497
|
+
/**
|
|
3498
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecChartRef' to JSON representation.
|
|
3499
|
+
*/
|
|
3500
|
+
export declare function toJson_HelmReleaseV2Beta2SpecChartRef(obj: HelmReleaseV2Beta2SpecChartRef | undefined): Record<string, any> | undefined;
|
|
3501
|
+
/**
|
|
3502
|
+
* NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any
|
|
3503
|
+
* namespace.
|
|
3504
|
+
*
|
|
3505
|
+
* @schema HelmReleaseV2Beta2SpecDependsOn
|
|
3506
|
+
*/
|
|
3507
|
+
export interface HelmReleaseV2Beta2SpecDependsOn {
|
|
3508
|
+
/**
|
|
3509
|
+
* Name of the referent.
|
|
3510
|
+
*
|
|
3511
|
+
* @schema HelmReleaseV2Beta2SpecDependsOn#name
|
|
3512
|
+
*/
|
|
3513
|
+
readonly name: string;
|
|
3514
|
+
/**
|
|
3515
|
+
* Namespace of the referent, when not specified it acts as LocalObjectReference.
|
|
3516
|
+
*
|
|
3517
|
+
* @schema HelmReleaseV2Beta2SpecDependsOn#namespace
|
|
3518
|
+
*/
|
|
3519
|
+
readonly namespace?: string;
|
|
3520
|
+
}
|
|
3521
|
+
/**
|
|
3522
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecDependsOn' to JSON representation.
|
|
3523
|
+
*/
|
|
3524
|
+
export declare function toJson_HelmReleaseV2Beta2SpecDependsOn(obj: HelmReleaseV2Beta2SpecDependsOn | undefined): Record<string, any> | undefined;
|
|
3525
|
+
/**
|
|
3526
|
+
* DriftDetection holds the configuration for detecting and handling
|
|
3527
|
+
* differences between the manifest in the Helm storage and the resources
|
|
3528
|
+
* currently existing in the cluster.
|
|
3529
|
+
*
|
|
3530
|
+
* @schema HelmReleaseV2Beta2SpecDriftDetection
|
|
3531
|
+
*/
|
|
3532
|
+
export interface HelmReleaseV2Beta2SpecDriftDetection {
|
|
3533
|
+
/**
|
|
3534
|
+
* Ignore contains a list of rules for specifying which changes to ignore
|
|
3535
|
+
* during diffing.
|
|
3536
|
+
*
|
|
3537
|
+
* @schema HelmReleaseV2Beta2SpecDriftDetection#ignore
|
|
3538
|
+
*/
|
|
3539
|
+
readonly ignore?: HelmReleaseV2Beta2SpecDriftDetectionIgnore[];
|
|
3540
|
+
/**
|
|
3541
|
+
* Mode defines how differences should be handled between the Helm manifest
|
|
3542
|
+
* and the manifest currently applied to the cluster.
|
|
3543
|
+
* If not explicitly set, it defaults to DiffModeDisabled.
|
|
3544
|
+
*
|
|
3545
|
+
* @schema HelmReleaseV2Beta2SpecDriftDetection#mode
|
|
3546
|
+
*/
|
|
3547
|
+
readonly mode?: HelmReleaseV2Beta2SpecDriftDetectionMode;
|
|
3548
|
+
}
|
|
3549
|
+
/**
|
|
3550
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecDriftDetection' to JSON representation.
|
|
3551
|
+
*/
|
|
3552
|
+
export declare function toJson_HelmReleaseV2Beta2SpecDriftDetection(obj: HelmReleaseV2Beta2SpecDriftDetection | undefined): Record<string, any> | undefined;
|
|
3553
|
+
/**
|
|
3554
|
+
* Install holds the configuration for Helm install actions for this HelmRelease.
|
|
3555
|
+
*
|
|
3556
|
+
* @schema HelmReleaseV2Beta2SpecInstall
|
|
3557
|
+
*/
|
|
3558
|
+
export interface HelmReleaseV2Beta2SpecInstall {
|
|
3559
|
+
/**
|
|
3560
|
+
* CRDs upgrade CRDs from the Helm Chart's crds directory according
|
|
3561
|
+
* to the CRD upgrade policy provided here. Valid values are `Skip`,
|
|
3562
|
+
* `Create` or `CreateReplace`. Default is `Create` and if omitted
|
|
3563
|
+
* CRDs are installed but not updated.
|
|
3564
|
+
*
|
|
3565
|
+
* Skip: do neither install nor replace (update) any CRDs.
|
|
3566
|
+
*
|
|
3567
|
+
* Create: new CRDs are created, existing CRDs are neither updated nor deleted.
|
|
3568
|
+
*
|
|
3569
|
+
* CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
|
|
3570
|
+
* but not deleted.
|
|
3571
|
+
*
|
|
3572
|
+
* By default, CRDs are applied (installed) during Helm install action.
|
|
3573
|
+
* With this option users can opt in to CRD replace existing CRDs on Helm
|
|
3574
|
+
* install actions, which is not (yet) natively supported by Helm.
|
|
3575
|
+
* https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
|
|
3576
|
+
*
|
|
3577
|
+
* @default Create` and if omitted
|
|
3578
|
+
* @schema HelmReleaseV2Beta2SpecInstall#crds
|
|
3579
|
+
*/
|
|
3580
|
+
readonly crds?: HelmReleaseV2Beta2SpecInstallCrds;
|
|
3581
|
+
/**
|
|
3582
|
+
* CreateNamespace tells the Helm install action to create the
|
|
3583
|
+
* HelmReleaseSpec.TargetNamespace if it does not exist yet.
|
|
3584
|
+
* On uninstall, the namespace will not be garbage collected.
|
|
3585
|
+
*
|
|
3586
|
+
* @schema HelmReleaseV2Beta2SpecInstall#createNamespace
|
|
3587
|
+
*/
|
|
3588
|
+
readonly createNamespace?: boolean;
|
|
3589
|
+
/**
|
|
3590
|
+
* DisableHooks prevents hooks from running during the Helm install action.
|
|
3591
|
+
*
|
|
3592
|
+
* @schema HelmReleaseV2Beta2SpecInstall#disableHooks
|
|
3593
|
+
*/
|
|
3594
|
+
readonly disableHooks?: boolean;
|
|
3595
|
+
/**
|
|
3596
|
+
* DisableOpenAPIValidation prevents the Helm install action from validating
|
|
3597
|
+
* rendered templates against the Kubernetes OpenAPI Schema.
|
|
3598
|
+
*
|
|
3599
|
+
* @schema HelmReleaseV2Beta2SpecInstall#disableOpenAPIValidation
|
|
3600
|
+
*/
|
|
3601
|
+
readonly disableOpenApiValidation?: boolean;
|
|
3602
|
+
/**
|
|
3603
|
+
* DisableWait disables the waiting for resources to be ready after a Helm
|
|
3604
|
+
* install has been performed.
|
|
3605
|
+
*
|
|
3606
|
+
* @schema HelmReleaseV2Beta2SpecInstall#disableWait
|
|
3607
|
+
*/
|
|
3608
|
+
readonly disableWait?: boolean;
|
|
3609
|
+
/**
|
|
3610
|
+
* DisableWaitForJobs disables waiting for jobs to complete after a Helm
|
|
3611
|
+
* install has been performed.
|
|
3612
|
+
*
|
|
3613
|
+
* @schema HelmReleaseV2Beta2SpecInstall#disableWaitForJobs
|
|
3614
|
+
*/
|
|
3615
|
+
readonly disableWaitForJobs?: boolean;
|
|
3616
|
+
/**
|
|
3617
|
+
* Remediation holds the remediation configuration for when the Helm install
|
|
3618
|
+
* action for the HelmRelease fails. The default is to not perform any action.
|
|
3619
|
+
*
|
|
3620
|
+
* @schema HelmReleaseV2Beta2SpecInstall#remediation
|
|
3621
|
+
*/
|
|
3622
|
+
readonly remediation?: HelmReleaseV2Beta2SpecInstallRemediation;
|
|
3623
|
+
/**
|
|
3624
|
+
* Replace tells the Helm install action to re-use the 'ReleaseName', but only
|
|
3625
|
+
* if that name is a deleted release which remains in the history.
|
|
3626
|
+
*
|
|
3627
|
+
* @schema HelmReleaseV2Beta2SpecInstall#replace
|
|
3628
|
+
*/
|
|
3629
|
+
readonly replace?: boolean;
|
|
3630
|
+
/**
|
|
3631
|
+
* SkipCRDs tells the Helm install action to not install any CRDs. By default,
|
|
3632
|
+
* CRDs are installed if not already present.
|
|
3633
|
+
*
|
|
3634
|
+
* Deprecated use CRD policy (`crds`) attribute with value `Skip` instead.
|
|
3635
|
+
*
|
|
3636
|
+
* @schema HelmReleaseV2Beta2SpecInstall#skipCRDs
|
|
3637
|
+
*/
|
|
3638
|
+
readonly skipCrDs?: boolean;
|
|
3639
|
+
/**
|
|
3640
|
+
* Timeout is the time to wait for any individual Kubernetes operation (like
|
|
3641
|
+
* Jobs for hooks) during the performance of a Helm install action. Defaults to
|
|
3642
|
+
* 'HelmReleaseSpec.Timeout'.
|
|
3643
|
+
*
|
|
3644
|
+
* @default HelmReleaseSpec.Timeout'.
|
|
3645
|
+
* @schema HelmReleaseV2Beta2SpecInstall#timeout
|
|
3646
|
+
*/
|
|
3647
|
+
readonly timeout?: string;
|
|
3648
|
+
}
|
|
3649
|
+
/**
|
|
3650
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecInstall' to JSON representation.
|
|
3651
|
+
*/
|
|
3652
|
+
export declare function toJson_HelmReleaseV2Beta2SpecInstall(obj: HelmReleaseV2Beta2SpecInstall | undefined): Record<string, any> | undefined;
|
|
3653
|
+
/**
|
|
3654
|
+
* KubeConfig for reconciling the HelmRelease on a remote cluster.
|
|
3655
|
+
* When used in combination with HelmReleaseSpec.ServiceAccountName,
|
|
3656
|
+
* forces the controller to act on behalf of that Service Account at the
|
|
3657
|
+
* target cluster.
|
|
3658
|
+
* If the --default-service-account flag is set, its value will be used as
|
|
3659
|
+
* a controller level fallback for when HelmReleaseSpec.ServiceAccountName
|
|
3660
|
+
* is empty.
|
|
3661
|
+
*
|
|
3662
|
+
* @schema HelmReleaseV2Beta2SpecKubeConfig
|
|
3663
|
+
*/
|
|
3664
|
+
export interface HelmReleaseV2Beta2SpecKubeConfig {
|
|
3665
|
+
/**
|
|
3666
|
+
* SecretRef holds the name of a secret that contains a key with
|
|
3667
|
+
* the kubeconfig file as the value. If no key is set, the key will default
|
|
3668
|
+
* to 'value'.
|
|
3669
|
+
* It is recommended that the kubeconfig is self-contained, and the secret
|
|
3670
|
+
* is regularly updated if credentials such as a cloud-access-token expire.
|
|
3671
|
+
* Cloud specific `cmd-path` auth helpers will not function without adding
|
|
3672
|
+
* binaries and credentials to the Pod that is responsible for reconciling
|
|
3673
|
+
* Kubernetes resources.
|
|
3674
|
+
*
|
|
3675
|
+
* @schema HelmReleaseV2Beta2SpecKubeConfig#secretRef
|
|
3676
|
+
*/
|
|
3677
|
+
readonly secretRef: HelmReleaseV2Beta2SpecKubeConfigSecretRef;
|
|
3678
|
+
}
|
|
3679
|
+
/**
|
|
3680
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecKubeConfig' to JSON representation.
|
|
3681
|
+
*/
|
|
3682
|
+
export declare function toJson_HelmReleaseV2Beta2SpecKubeConfig(obj: HelmReleaseV2Beta2SpecKubeConfig | undefined): Record<string, any> | undefined;
|
|
3683
|
+
/**
|
|
3684
|
+
* PostRenderer contains a Helm PostRenderer specification.
|
|
3685
|
+
*
|
|
3686
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderers
|
|
3687
|
+
*/
|
|
3688
|
+
export interface HelmReleaseV2Beta2SpecPostRenderers {
|
|
3689
|
+
/**
|
|
3690
|
+
* Kustomization to apply as PostRenderer.
|
|
3691
|
+
*
|
|
3692
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderers#kustomize
|
|
3693
|
+
*/
|
|
3694
|
+
readonly kustomize?: HelmReleaseV2Beta2SpecPostRenderersKustomize;
|
|
3695
|
+
}
|
|
3696
|
+
/**
|
|
3697
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecPostRenderers' to JSON representation.
|
|
3698
|
+
*/
|
|
3699
|
+
export declare function toJson_HelmReleaseV2Beta2SpecPostRenderers(obj: HelmReleaseV2Beta2SpecPostRenderers | undefined): Record<string, any> | undefined;
|
|
3700
|
+
/**
|
|
3701
|
+
* Rollback holds the configuration for Helm rollback actions for this HelmRelease.
|
|
3702
|
+
*
|
|
3703
|
+
* @schema HelmReleaseV2Beta2SpecRollback
|
|
3704
|
+
*/
|
|
3705
|
+
export interface HelmReleaseV2Beta2SpecRollback {
|
|
3706
|
+
/**
|
|
3707
|
+
* CleanupOnFail allows deletion of new resources created during the Helm
|
|
3708
|
+
* rollback action when it fails.
|
|
3709
|
+
*
|
|
3710
|
+
* @schema HelmReleaseV2Beta2SpecRollback#cleanupOnFail
|
|
3711
|
+
*/
|
|
3712
|
+
readonly cleanupOnFail?: boolean;
|
|
3713
|
+
/**
|
|
3714
|
+
* DisableHooks prevents hooks from running during the Helm rollback action.
|
|
3715
|
+
*
|
|
3716
|
+
* @schema HelmReleaseV2Beta2SpecRollback#disableHooks
|
|
3717
|
+
*/
|
|
3718
|
+
readonly disableHooks?: boolean;
|
|
3719
|
+
/**
|
|
3720
|
+
* DisableWait disables the waiting for resources to be ready after a Helm
|
|
3721
|
+
* rollback has been performed.
|
|
3722
|
+
*
|
|
3723
|
+
* @schema HelmReleaseV2Beta2SpecRollback#disableWait
|
|
3724
|
+
*/
|
|
3725
|
+
readonly disableWait?: boolean;
|
|
3726
|
+
/**
|
|
3727
|
+
* DisableWaitForJobs disables waiting for jobs to complete after a Helm
|
|
3728
|
+
* rollback has been performed.
|
|
3729
|
+
*
|
|
3730
|
+
* @schema HelmReleaseV2Beta2SpecRollback#disableWaitForJobs
|
|
3731
|
+
*/
|
|
3732
|
+
readonly disableWaitForJobs?: boolean;
|
|
3733
|
+
/**
|
|
3734
|
+
* Force forces resource updates through a replacement strategy.
|
|
3735
|
+
*
|
|
3736
|
+
* @schema HelmReleaseV2Beta2SpecRollback#force
|
|
3737
|
+
*/
|
|
3738
|
+
readonly force?: boolean;
|
|
3739
|
+
/**
|
|
3740
|
+
* Recreate performs pod restarts for the resource if applicable.
|
|
3741
|
+
*
|
|
3742
|
+
* @schema HelmReleaseV2Beta2SpecRollback#recreate
|
|
3743
|
+
*/
|
|
3744
|
+
readonly recreate?: boolean;
|
|
3745
|
+
/**
|
|
3746
|
+
* Timeout is the time to wait for any individual Kubernetes operation (like
|
|
3747
|
+
* Jobs for hooks) during the performance of a Helm rollback action. Defaults to
|
|
3748
|
+
* 'HelmReleaseSpec.Timeout'.
|
|
3749
|
+
*
|
|
3750
|
+
* @default HelmReleaseSpec.Timeout'.
|
|
3751
|
+
* @schema HelmReleaseV2Beta2SpecRollback#timeout
|
|
3752
|
+
*/
|
|
3753
|
+
readonly timeout?: string;
|
|
3754
|
+
}
|
|
3755
|
+
/**
|
|
3756
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecRollback' to JSON representation.
|
|
3757
|
+
*/
|
|
3758
|
+
export declare function toJson_HelmReleaseV2Beta2SpecRollback(obj: HelmReleaseV2Beta2SpecRollback | undefined): Record<string, any> | undefined;
|
|
3759
|
+
/**
|
|
3760
|
+
* Test holds the configuration for Helm test actions for this HelmRelease.
|
|
3761
|
+
*
|
|
3762
|
+
* @schema HelmReleaseV2Beta2SpecTest
|
|
3763
|
+
*/
|
|
3764
|
+
export interface HelmReleaseV2Beta2SpecTest {
|
|
3765
|
+
/**
|
|
3766
|
+
* Enable enables Helm test actions for this HelmRelease after an Helm install
|
|
3767
|
+
* or upgrade action has been performed.
|
|
3768
|
+
*
|
|
3769
|
+
* @schema HelmReleaseV2Beta2SpecTest#enable
|
|
3770
|
+
*/
|
|
3771
|
+
readonly enable?: boolean;
|
|
3772
|
+
/**
|
|
3773
|
+
* Filters is a list of tests to run or exclude from running.
|
|
3774
|
+
*
|
|
3775
|
+
* @schema HelmReleaseV2Beta2SpecTest#filters
|
|
3776
|
+
*/
|
|
3777
|
+
readonly filters?: HelmReleaseV2Beta2SpecTestFilters[];
|
|
3778
|
+
/**
|
|
3779
|
+
* IgnoreFailures tells the controller to skip remediation when the Helm tests
|
|
3780
|
+
* are run but fail. Can be overwritten for tests run after install or upgrade
|
|
3781
|
+
* actions in 'Install.IgnoreTestFailures' and 'Upgrade.IgnoreTestFailures'.
|
|
3782
|
+
*
|
|
3783
|
+
* @schema HelmReleaseV2Beta2SpecTest#ignoreFailures
|
|
3784
|
+
*/
|
|
3785
|
+
readonly ignoreFailures?: boolean;
|
|
3786
|
+
/**
|
|
3787
|
+
* Timeout is the time to wait for any individual Kubernetes operation during
|
|
3788
|
+
* the performance of a Helm test action. Defaults to 'HelmReleaseSpec.Timeout'.
|
|
3789
|
+
*
|
|
3790
|
+
* @default HelmReleaseSpec.Timeout'.
|
|
3791
|
+
* @schema HelmReleaseV2Beta2SpecTest#timeout
|
|
3792
|
+
*/
|
|
3793
|
+
readonly timeout?: string;
|
|
3794
|
+
}
|
|
3795
|
+
/**
|
|
3796
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecTest' to JSON representation.
|
|
3797
|
+
*/
|
|
3798
|
+
export declare function toJson_HelmReleaseV2Beta2SpecTest(obj: HelmReleaseV2Beta2SpecTest | undefined): Record<string, any> | undefined;
|
|
3799
|
+
/**
|
|
3800
|
+
* Uninstall holds the configuration for Helm uninstall actions for this HelmRelease.
|
|
3801
|
+
*
|
|
3802
|
+
* @schema HelmReleaseV2Beta2SpecUninstall
|
|
3803
|
+
*/
|
|
3804
|
+
export interface HelmReleaseV2Beta2SpecUninstall {
|
|
3805
|
+
/**
|
|
3806
|
+
* DeletionPropagation specifies the deletion propagation policy when
|
|
3807
|
+
* a Helm uninstall is performed.
|
|
3808
|
+
*
|
|
3809
|
+
* @schema HelmReleaseV2Beta2SpecUninstall#deletionPropagation
|
|
3810
|
+
*/
|
|
3811
|
+
readonly deletionPropagation?: HelmReleaseV2Beta2SpecUninstallDeletionPropagation;
|
|
3812
|
+
/**
|
|
3813
|
+
* DisableHooks prevents hooks from running during the Helm rollback action.
|
|
3814
|
+
*
|
|
3815
|
+
* @schema HelmReleaseV2Beta2SpecUninstall#disableHooks
|
|
3816
|
+
*/
|
|
3817
|
+
readonly disableHooks?: boolean;
|
|
3818
|
+
/**
|
|
3819
|
+
* DisableWait disables waiting for all the resources to be deleted after
|
|
3820
|
+
* a Helm uninstall is performed.
|
|
3821
|
+
*
|
|
3822
|
+
* @schema HelmReleaseV2Beta2SpecUninstall#disableWait
|
|
3823
|
+
*/
|
|
3824
|
+
readonly disableWait?: boolean;
|
|
3825
|
+
/**
|
|
3826
|
+
* KeepHistory tells Helm to remove all associated resources and mark the
|
|
3827
|
+
* release as deleted, but retain the release history.
|
|
3828
|
+
*
|
|
3829
|
+
* @schema HelmReleaseV2Beta2SpecUninstall#keepHistory
|
|
3830
|
+
*/
|
|
3831
|
+
readonly keepHistory?: boolean;
|
|
3832
|
+
/**
|
|
3833
|
+
* Timeout is the time to wait for any individual Kubernetes operation (like
|
|
3834
|
+
* Jobs for hooks) during the performance of a Helm uninstall action. Defaults
|
|
3835
|
+
* to 'HelmReleaseSpec.Timeout'.
|
|
3836
|
+
*
|
|
3837
|
+
* @default HelmReleaseSpec.Timeout'.
|
|
3838
|
+
* @schema HelmReleaseV2Beta2SpecUninstall#timeout
|
|
3839
|
+
*/
|
|
3840
|
+
readonly timeout?: string;
|
|
3841
|
+
}
|
|
3842
|
+
/**
|
|
3843
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecUninstall' to JSON representation.
|
|
3844
|
+
*/
|
|
3845
|
+
export declare function toJson_HelmReleaseV2Beta2SpecUninstall(obj: HelmReleaseV2Beta2SpecUninstall | undefined): Record<string, any> | undefined;
|
|
3846
|
+
/**
|
|
3847
|
+
* Upgrade holds the configuration for Helm upgrade actions for this HelmRelease.
|
|
3848
|
+
*
|
|
3849
|
+
* @schema HelmReleaseV2Beta2SpecUpgrade
|
|
3850
|
+
*/
|
|
3851
|
+
export interface HelmReleaseV2Beta2SpecUpgrade {
|
|
3852
|
+
/**
|
|
3853
|
+
* CleanupOnFail allows deletion of new resources created during the Helm
|
|
3854
|
+
* upgrade action when it fails.
|
|
3855
|
+
*
|
|
3856
|
+
* @schema HelmReleaseV2Beta2SpecUpgrade#cleanupOnFail
|
|
3857
|
+
*/
|
|
3858
|
+
readonly cleanupOnFail?: boolean;
|
|
3859
|
+
/**
|
|
3860
|
+
* CRDs upgrade CRDs from the Helm Chart's crds directory according
|
|
3861
|
+
* to the CRD upgrade policy provided here. Valid values are `Skip`,
|
|
3862
|
+
* `Create` or `CreateReplace`. Default is `Skip` and if omitted
|
|
3863
|
+
* CRDs are neither installed nor upgraded.
|
|
3864
|
+
*
|
|
3865
|
+
* Skip: do neither install nor replace (update) any CRDs.
|
|
3866
|
+
*
|
|
3867
|
+
* Create: new CRDs are created, existing CRDs are neither updated nor deleted.
|
|
3868
|
+
*
|
|
3869
|
+
* CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
|
|
3870
|
+
* but not deleted.
|
|
3871
|
+
*
|
|
3872
|
+
* By default, CRDs are not applied during Helm upgrade action. With this
|
|
3873
|
+
* option users can opt-in to CRD upgrade, which is not (yet) natively supported by Helm.
|
|
3874
|
+
* https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
|
|
3875
|
+
*
|
|
3876
|
+
* @default Skip` and if omitted
|
|
3877
|
+
* @schema HelmReleaseV2Beta2SpecUpgrade#crds
|
|
3878
|
+
*/
|
|
3879
|
+
readonly crds?: HelmReleaseV2Beta2SpecUpgradeCrds;
|
|
3880
|
+
/**
|
|
3881
|
+
* DisableHooks prevents hooks from running during the Helm upgrade action.
|
|
3882
|
+
*
|
|
3883
|
+
* @schema HelmReleaseV2Beta2SpecUpgrade#disableHooks
|
|
3884
|
+
*/
|
|
3885
|
+
readonly disableHooks?: boolean;
|
|
3886
|
+
/**
|
|
3887
|
+
* DisableOpenAPIValidation prevents the Helm upgrade action from validating
|
|
3888
|
+
* rendered templates against the Kubernetes OpenAPI Schema.
|
|
3889
|
+
*
|
|
3890
|
+
* @schema HelmReleaseV2Beta2SpecUpgrade#disableOpenAPIValidation
|
|
3891
|
+
*/
|
|
3892
|
+
readonly disableOpenApiValidation?: boolean;
|
|
3893
|
+
/**
|
|
3894
|
+
* DisableWait disables the waiting for resources to be ready after a Helm
|
|
3895
|
+
* upgrade has been performed.
|
|
3896
|
+
*
|
|
3897
|
+
* @schema HelmReleaseV2Beta2SpecUpgrade#disableWait
|
|
3898
|
+
*/
|
|
3899
|
+
readonly disableWait?: boolean;
|
|
3900
|
+
/**
|
|
3901
|
+
* DisableWaitForJobs disables waiting for jobs to complete after a Helm
|
|
3902
|
+
* upgrade has been performed.
|
|
3903
|
+
*
|
|
3904
|
+
* @schema HelmReleaseV2Beta2SpecUpgrade#disableWaitForJobs
|
|
3905
|
+
*/
|
|
3906
|
+
readonly disableWaitForJobs?: boolean;
|
|
3907
|
+
/**
|
|
3908
|
+
* Force forces resource updates through a replacement strategy.
|
|
3909
|
+
*
|
|
3910
|
+
* @schema HelmReleaseV2Beta2SpecUpgrade#force
|
|
3911
|
+
*/
|
|
3912
|
+
readonly force?: boolean;
|
|
3913
|
+
/**
|
|
3914
|
+
* PreserveValues will make Helm reuse the last release's values and merge in
|
|
3915
|
+
* overrides from 'Values'. Setting this flag makes the HelmRelease
|
|
3916
|
+
* non-declarative.
|
|
3917
|
+
*
|
|
3918
|
+
* @schema HelmReleaseV2Beta2SpecUpgrade#preserveValues
|
|
3919
|
+
*/
|
|
3920
|
+
readonly preserveValues?: boolean;
|
|
3921
|
+
/**
|
|
3922
|
+
* Remediation holds the remediation configuration for when the Helm upgrade
|
|
3923
|
+
* action for the HelmRelease fails. The default is to not perform any action.
|
|
3924
|
+
*
|
|
3925
|
+
* @schema HelmReleaseV2Beta2SpecUpgrade#remediation
|
|
3926
|
+
*/
|
|
3927
|
+
readonly remediation?: HelmReleaseV2Beta2SpecUpgradeRemediation;
|
|
3928
|
+
/**
|
|
3929
|
+
* Timeout is the time to wait for any individual Kubernetes operation (like
|
|
3930
|
+
* Jobs for hooks) during the performance of a Helm upgrade action. Defaults to
|
|
3931
|
+
* 'HelmReleaseSpec.Timeout'.
|
|
3932
|
+
*
|
|
3933
|
+
* @default HelmReleaseSpec.Timeout'.
|
|
3934
|
+
* @schema HelmReleaseV2Beta2SpecUpgrade#timeout
|
|
3935
|
+
*/
|
|
3936
|
+
readonly timeout?: string;
|
|
3937
|
+
}
|
|
3938
|
+
/**
|
|
3939
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecUpgrade' to JSON representation.
|
|
3940
|
+
*/
|
|
3941
|
+
export declare function toJson_HelmReleaseV2Beta2SpecUpgrade(obj: HelmReleaseV2Beta2SpecUpgrade | undefined): Record<string, any> | undefined;
|
|
3942
|
+
/**
|
|
3943
|
+
* ValuesReference contains a reference to a resource containing Helm values,
|
|
3944
|
+
* and optionally the key they can be found at.
|
|
3945
|
+
*
|
|
3946
|
+
* @schema HelmReleaseV2Beta2SpecValuesFrom
|
|
3947
|
+
*/
|
|
3948
|
+
export interface HelmReleaseV2Beta2SpecValuesFrom {
|
|
3949
|
+
/**
|
|
3950
|
+
* Kind of the values referent, valid values are ('Secret', 'ConfigMap').
|
|
3951
|
+
*
|
|
3952
|
+
* @schema HelmReleaseV2Beta2SpecValuesFrom#kind
|
|
3953
|
+
*/
|
|
3954
|
+
readonly kind: HelmReleaseV2Beta2SpecValuesFromKind;
|
|
3955
|
+
/**
|
|
3956
|
+
* Name of the values referent. Should reside in the same namespace as the
|
|
3957
|
+
* referring resource.
|
|
3958
|
+
*
|
|
3959
|
+
* @schema HelmReleaseV2Beta2SpecValuesFrom#name
|
|
3960
|
+
*/
|
|
3961
|
+
readonly name: string;
|
|
3962
|
+
/**
|
|
3963
|
+
* Optional marks this ValuesReference as optional. When set, a not found error
|
|
3964
|
+
* for the values reference is ignored, but any ValuesKey, TargetPath or
|
|
3965
|
+
* transient error will still result in a reconciliation failure.
|
|
3966
|
+
*
|
|
3967
|
+
* @schema HelmReleaseV2Beta2SpecValuesFrom#optional
|
|
3968
|
+
*/
|
|
3969
|
+
readonly optional?: boolean;
|
|
3970
|
+
/**
|
|
3971
|
+
* TargetPath is the YAML dot notation path the value should be merged at. When
|
|
3972
|
+
* set, the ValuesKey is expected to be a single flat value. Defaults to 'None',
|
|
3973
|
+
* which results in the values getting merged at the root.
|
|
3974
|
+
*
|
|
3975
|
+
* @default None',
|
|
3976
|
+
* @schema HelmReleaseV2Beta2SpecValuesFrom#targetPath
|
|
3977
|
+
*/
|
|
3978
|
+
readonly targetPath?: string;
|
|
3979
|
+
/**
|
|
3980
|
+
* ValuesKey is the data key where the values.yaml or a specific value can be
|
|
3981
|
+
* found at. Defaults to 'values.yaml'.
|
|
3982
|
+
*
|
|
3983
|
+
* @default values.yaml'.
|
|
3984
|
+
* @schema HelmReleaseV2Beta2SpecValuesFrom#valuesKey
|
|
3985
|
+
*/
|
|
3986
|
+
readonly valuesKey?: string;
|
|
3987
|
+
}
|
|
3988
|
+
/**
|
|
3989
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecValuesFrom' to JSON representation.
|
|
3990
|
+
*/
|
|
3991
|
+
export declare function toJson_HelmReleaseV2Beta2SpecValuesFrom(obj: HelmReleaseV2Beta2SpecValuesFrom | undefined): Record<string, any> | undefined;
|
|
3992
|
+
/**
|
|
3993
|
+
* ObjectMeta holds the template for metadata like labels and annotations.
|
|
3994
|
+
*
|
|
3995
|
+
* @schema HelmReleaseV2Beta2SpecChartMetadata
|
|
3996
|
+
*/
|
|
3997
|
+
export interface HelmReleaseV2Beta2SpecChartMetadata {
|
|
3998
|
+
/**
|
|
3999
|
+
* Annotations is an unstructured key value map stored with a resource that may be
|
|
4000
|
+
* set by external tools to store and retrieve arbitrary metadata. They are not
|
|
4001
|
+
* queryable and should be preserved when modifying objects.
|
|
4002
|
+
* More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
4003
|
+
*
|
|
4004
|
+
* @schema HelmReleaseV2Beta2SpecChartMetadata#annotations
|
|
4005
|
+
*/
|
|
4006
|
+
readonly annotations?: {
|
|
4007
|
+
[key: string]: string;
|
|
4008
|
+
};
|
|
4009
|
+
/**
|
|
4010
|
+
* Map of string keys and values that can be used to organize and categorize
|
|
4011
|
+
* (scope and select) objects.
|
|
4012
|
+
* More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
|
4013
|
+
*
|
|
4014
|
+
* @schema HelmReleaseV2Beta2SpecChartMetadata#labels
|
|
4015
|
+
*/
|
|
4016
|
+
readonly labels?: {
|
|
4017
|
+
[key: string]: string;
|
|
4018
|
+
};
|
|
4019
|
+
}
|
|
4020
|
+
/**
|
|
4021
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecChartMetadata' to JSON representation.
|
|
4022
|
+
*/
|
|
4023
|
+
export declare function toJson_HelmReleaseV2Beta2SpecChartMetadata(obj: HelmReleaseV2Beta2SpecChartMetadata | undefined): Record<string, any> | undefined;
|
|
4024
|
+
/**
|
|
4025
|
+
* Spec holds the template for the v1beta2.HelmChartSpec for this HelmRelease.
|
|
4026
|
+
*
|
|
4027
|
+
* @schema HelmReleaseV2Beta2SpecChartSpec
|
|
4028
|
+
*/
|
|
4029
|
+
export interface HelmReleaseV2Beta2SpecChartSpec {
|
|
4030
|
+
/**
|
|
4031
|
+
* The name or path the Helm chart is available at in the SourceRef.
|
|
4032
|
+
*
|
|
4033
|
+
* @schema HelmReleaseV2Beta2SpecChartSpec#chart
|
|
4034
|
+
*/
|
|
4035
|
+
readonly chart: string;
|
|
4036
|
+
/**
|
|
4037
|
+
* IgnoreMissingValuesFiles controls whether to silently ignore missing values files rather than failing.
|
|
4038
|
+
*
|
|
4039
|
+
* @schema HelmReleaseV2Beta2SpecChartSpec#ignoreMissingValuesFiles
|
|
4040
|
+
*/
|
|
4041
|
+
readonly ignoreMissingValuesFiles?: boolean;
|
|
4042
|
+
/**
|
|
4043
|
+
* Interval at which to check the v1.Source for updates. Defaults to
|
|
4044
|
+
* 'HelmReleaseSpec.Interval'.
|
|
4045
|
+
*
|
|
4046
|
+
* @default HelmReleaseSpec.Interval'.
|
|
4047
|
+
* @schema HelmReleaseV2Beta2SpecChartSpec#interval
|
|
4048
|
+
*/
|
|
4049
|
+
readonly interval?: string;
|
|
4050
|
+
/**
|
|
4051
|
+
* Determines what enables the creation of a new artifact. Valid values are
|
|
4052
|
+
* ('ChartVersion', 'Revision').
|
|
4053
|
+
* See the documentation of the values for an explanation on their behavior.
|
|
4054
|
+
* Defaults to ChartVersion when omitted.
|
|
4055
|
+
*
|
|
4056
|
+
* @default ChartVersion when omitted.
|
|
4057
|
+
* @schema HelmReleaseV2Beta2SpecChartSpec#reconcileStrategy
|
|
4058
|
+
*/
|
|
4059
|
+
readonly reconcileStrategy?: HelmReleaseV2Beta2SpecChartSpecReconcileStrategy;
|
|
4060
|
+
/**
|
|
4061
|
+
* The name and namespace of the v1.Source the chart is available at.
|
|
4062
|
+
*
|
|
4063
|
+
* @schema HelmReleaseV2Beta2SpecChartSpec#sourceRef
|
|
4064
|
+
*/
|
|
4065
|
+
readonly sourceRef: HelmReleaseV2Beta2SpecChartSpecSourceRef;
|
|
4066
|
+
/**
|
|
4067
|
+
* Alternative values file to use as the default chart values, expected to
|
|
4068
|
+
* be a relative path in the SourceRef. Deprecated in favor of ValuesFiles,
|
|
4069
|
+
* for backwards compatibility the file defined here is merged before the
|
|
4070
|
+
* ValuesFiles items. Ignored when omitted.
|
|
4071
|
+
*
|
|
4072
|
+
* @schema HelmReleaseV2Beta2SpecChartSpec#valuesFile
|
|
4073
|
+
*/
|
|
4074
|
+
readonly valuesFile?: string;
|
|
4075
|
+
/**
|
|
4076
|
+
* Alternative list of values files to use as the chart values (values.yaml
|
|
4077
|
+
* is not included by default), expected to be a relative path in the SourceRef.
|
|
4078
|
+
* Values files are merged in the order of this list with the last file overriding
|
|
4079
|
+
* the first. Ignored when omitted.
|
|
4080
|
+
*
|
|
4081
|
+
* @schema HelmReleaseV2Beta2SpecChartSpec#valuesFiles
|
|
4082
|
+
*/
|
|
4083
|
+
readonly valuesFiles?: string[];
|
|
4084
|
+
/**
|
|
4085
|
+
* Verify contains the secret name containing the trusted public keys
|
|
4086
|
+
* used to verify the signature and specifies which provider to use to check
|
|
4087
|
+
* whether OCI image is authentic.
|
|
4088
|
+
* This field is only supported for OCI sources.
|
|
4089
|
+
* Chart dependencies, which are not bundled in the umbrella chart artifact,
|
|
4090
|
+
* are not verified.
|
|
4091
|
+
*
|
|
4092
|
+
* @schema HelmReleaseV2Beta2SpecChartSpec#verify
|
|
4093
|
+
*/
|
|
4094
|
+
readonly verify?: HelmReleaseV2Beta2SpecChartSpecVerify;
|
|
4095
|
+
/**
|
|
4096
|
+
* Version semver expression, ignored for charts from v1beta2.GitRepository and
|
|
4097
|
+
* v1beta2.Bucket sources. Defaults to latest when omitted.
|
|
4098
|
+
*
|
|
4099
|
+
* @default latest when omitted.
|
|
4100
|
+
* @schema HelmReleaseV2Beta2SpecChartSpec#version
|
|
4101
|
+
*/
|
|
4102
|
+
readonly version?: string;
|
|
4103
|
+
}
|
|
4104
|
+
/**
|
|
4105
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecChartSpec' to JSON representation.
|
|
4106
|
+
*/
|
|
4107
|
+
export declare function toJson_HelmReleaseV2Beta2SpecChartSpec(obj: HelmReleaseV2Beta2SpecChartSpec | undefined): Record<string, any> | undefined;
|
|
4108
|
+
/**
|
|
4109
|
+
* Kind of the referent.
|
|
4110
|
+
*
|
|
4111
|
+
* @schema HelmReleaseV2Beta2SpecChartRefKind
|
|
4112
|
+
*/
|
|
4113
|
+
export declare enum HelmReleaseV2Beta2SpecChartRefKind {
|
|
4114
|
+
/** OCIRepository */
|
|
4115
|
+
OCI_REPOSITORY = "OCIRepository",
|
|
4116
|
+
/** HelmChart */
|
|
4117
|
+
HELM_CHART = "HelmChart"
|
|
4118
|
+
}
|
|
4119
|
+
/**
|
|
4120
|
+
* IgnoreRule defines a rule to selectively disregard specific changes during
|
|
4121
|
+
* the drift detection process.
|
|
4122
|
+
*
|
|
4123
|
+
* @schema HelmReleaseV2Beta2SpecDriftDetectionIgnore
|
|
4124
|
+
*/
|
|
4125
|
+
export interface HelmReleaseV2Beta2SpecDriftDetectionIgnore {
|
|
4126
|
+
/**
|
|
4127
|
+
* Paths is a list of JSON Pointer (RFC 6901) paths to be excluded from
|
|
4128
|
+
* consideration in a Kubernetes object.
|
|
4129
|
+
*
|
|
4130
|
+
* @schema HelmReleaseV2Beta2SpecDriftDetectionIgnore#paths
|
|
4131
|
+
*/
|
|
4132
|
+
readonly paths: string[];
|
|
4133
|
+
/**
|
|
4134
|
+
* Target is a selector for specifying Kubernetes objects to which this
|
|
4135
|
+
* rule applies.
|
|
4136
|
+
* If Target is not set, the Paths will be ignored for all Kubernetes
|
|
4137
|
+
* objects within the manifest of the Helm release.
|
|
4138
|
+
*
|
|
4139
|
+
* @schema HelmReleaseV2Beta2SpecDriftDetectionIgnore#target
|
|
4140
|
+
*/
|
|
4141
|
+
readonly target?: HelmReleaseV2Beta2SpecDriftDetectionIgnoreTarget;
|
|
4142
|
+
}
|
|
4143
|
+
/**
|
|
4144
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecDriftDetectionIgnore' to JSON representation.
|
|
4145
|
+
*/
|
|
4146
|
+
export declare function toJson_HelmReleaseV2Beta2SpecDriftDetectionIgnore(obj: HelmReleaseV2Beta2SpecDriftDetectionIgnore | undefined): Record<string, any> | undefined;
|
|
4147
|
+
/**
|
|
4148
|
+
* Mode defines how differences should be handled between the Helm manifest
|
|
4149
|
+
* and the manifest currently applied to the cluster.
|
|
4150
|
+
* If not explicitly set, it defaults to DiffModeDisabled.
|
|
4151
|
+
*
|
|
4152
|
+
* @schema HelmReleaseV2Beta2SpecDriftDetectionMode
|
|
4153
|
+
*/
|
|
4154
|
+
export declare enum HelmReleaseV2Beta2SpecDriftDetectionMode {
|
|
4155
|
+
/** enabled */
|
|
4156
|
+
ENABLED = "enabled",
|
|
4157
|
+
/** warn */
|
|
4158
|
+
WARN = "warn",
|
|
4159
|
+
/** disabled */
|
|
4160
|
+
DISABLED = "disabled"
|
|
4161
|
+
}
|
|
4162
|
+
/**
|
|
4163
|
+
* CRDs upgrade CRDs from the Helm Chart's crds directory according
|
|
4164
|
+
* to the CRD upgrade policy provided here. Valid values are `Skip`,
|
|
4165
|
+
* `Create` or `CreateReplace`. Default is `Create` and if omitted
|
|
4166
|
+
* CRDs are installed but not updated.
|
|
4167
|
+
*
|
|
4168
|
+
* Skip: do neither install nor replace (update) any CRDs.
|
|
4169
|
+
*
|
|
4170
|
+
* Create: new CRDs are created, existing CRDs are neither updated nor deleted.
|
|
4171
|
+
*
|
|
4172
|
+
* CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
|
|
4173
|
+
* but not deleted.
|
|
4174
|
+
*
|
|
4175
|
+
* By default, CRDs are applied (installed) during Helm install action.
|
|
4176
|
+
* With this option users can opt in to CRD replace existing CRDs on Helm
|
|
4177
|
+
* install actions, which is not (yet) natively supported by Helm.
|
|
4178
|
+
* https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
|
|
4179
|
+
*
|
|
4180
|
+
* @default Create` and if omitted
|
|
4181
|
+
* @schema HelmReleaseV2Beta2SpecInstallCrds
|
|
4182
|
+
*/
|
|
4183
|
+
export declare enum HelmReleaseV2Beta2SpecInstallCrds {
|
|
4184
|
+
/** Skip */
|
|
4185
|
+
SKIP = "Skip",
|
|
4186
|
+
/** Create */
|
|
4187
|
+
CREATE = "Create",
|
|
4188
|
+
/** CreateReplace */
|
|
4189
|
+
CREATE_REPLACE = "CreateReplace"
|
|
4190
|
+
}
|
|
4191
|
+
/**
|
|
4192
|
+
* Remediation holds the remediation configuration for when the Helm install
|
|
4193
|
+
* action for the HelmRelease fails. The default is to not perform any action.
|
|
4194
|
+
*
|
|
4195
|
+
* @schema HelmReleaseV2Beta2SpecInstallRemediation
|
|
4196
|
+
*/
|
|
4197
|
+
export interface HelmReleaseV2Beta2SpecInstallRemediation {
|
|
4198
|
+
/**
|
|
4199
|
+
* IgnoreTestFailures tells the controller to skip remediation when the Helm
|
|
4200
|
+
* tests are run after an install action but fail. Defaults to
|
|
4201
|
+
* 'Test.IgnoreFailures'.
|
|
4202
|
+
*
|
|
4203
|
+
* @default Test.IgnoreFailures'.
|
|
4204
|
+
* @schema HelmReleaseV2Beta2SpecInstallRemediation#ignoreTestFailures
|
|
4205
|
+
*/
|
|
4206
|
+
readonly ignoreTestFailures?: boolean;
|
|
4207
|
+
/**
|
|
4208
|
+
* RemediateLastFailure tells the controller to remediate the last failure, when
|
|
4209
|
+
* no retries remain. Defaults to 'false'.
|
|
4210
|
+
*
|
|
4211
|
+
* @default false'.
|
|
4212
|
+
* @schema HelmReleaseV2Beta2SpecInstallRemediation#remediateLastFailure
|
|
4213
|
+
*/
|
|
4214
|
+
readonly remediateLastFailure?: boolean;
|
|
4215
|
+
/**
|
|
4216
|
+
* Retries is the number of retries that should be attempted on failures before
|
|
4217
|
+
* bailing. Remediation, using an uninstall, is performed between each attempt.
|
|
4218
|
+
* Defaults to '0', a negative integer equals to unlimited retries.
|
|
4219
|
+
*
|
|
4220
|
+
* @default 0', a negative integer equals to unlimited retries.
|
|
4221
|
+
* @schema HelmReleaseV2Beta2SpecInstallRemediation#retries
|
|
4222
|
+
*/
|
|
4223
|
+
readonly retries?: number;
|
|
4224
|
+
}
|
|
4225
|
+
/**
|
|
4226
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecInstallRemediation' to JSON representation.
|
|
4227
|
+
*/
|
|
4228
|
+
export declare function toJson_HelmReleaseV2Beta2SpecInstallRemediation(obj: HelmReleaseV2Beta2SpecInstallRemediation | undefined): Record<string, any> | undefined;
|
|
4229
|
+
/**
|
|
4230
|
+
* SecretRef holds the name of a secret that contains a key with
|
|
4231
|
+
* the kubeconfig file as the value. If no key is set, the key will default
|
|
4232
|
+
* to 'value'.
|
|
4233
|
+
* It is recommended that the kubeconfig is self-contained, and the secret
|
|
4234
|
+
* is regularly updated if credentials such as a cloud-access-token expire.
|
|
4235
|
+
* Cloud specific `cmd-path` auth helpers will not function without adding
|
|
4236
|
+
* binaries and credentials to the Pod that is responsible for reconciling
|
|
4237
|
+
* Kubernetes resources.
|
|
4238
|
+
*
|
|
4239
|
+
* @schema HelmReleaseV2Beta2SpecKubeConfigSecretRef
|
|
4240
|
+
*/
|
|
4241
|
+
export interface HelmReleaseV2Beta2SpecKubeConfigSecretRef {
|
|
4242
|
+
/**
|
|
4243
|
+
* Key in the Secret, when not specified an implementation-specific default key is used.
|
|
4244
|
+
*
|
|
4245
|
+
* @schema HelmReleaseV2Beta2SpecKubeConfigSecretRef#key
|
|
4246
|
+
*/
|
|
4247
|
+
readonly key?: string;
|
|
4248
|
+
/**
|
|
4249
|
+
* Name of the Secret.
|
|
4250
|
+
*
|
|
4251
|
+
* @schema HelmReleaseV2Beta2SpecKubeConfigSecretRef#name
|
|
4252
|
+
*/
|
|
4253
|
+
readonly name: string;
|
|
4254
|
+
}
|
|
4255
|
+
/**
|
|
4256
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecKubeConfigSecretRef' to JSON representation.
|
|
4257
|
+
*/
|
|
4258
|
+
export declare function toJson_HelmReleaseV2Beta2SpecKubeConfigSecretRef(obj: HelmReleaseV2Beta2SpecKubeConfigSecretRef | undefined): Record<string, any> | undefined;
|
|
4259
|
+
/**
|
|
4260
|
+
* Kustomization to apply as PostRenderer.
|
|
4261
|
+
*
|
|
4262
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomize
|
|
4263
|
+
*/
|
|
4264
|
+
export interface HelmReleaseV2Beta2SpecPostRenderersKustomize {
|
|
4265
|
+
/**
|
|
4266
|
+
* Images is a list of (image name, new name, new tag or digest)
|
|
4267
|
+
* for changing image names, tags or digests. This can also be achieved with a
|
|
4268
|
+
* patch, but this operator is simpler to specify.
|
|
4269
|
+
*
|
|
4270
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomize#images
|
|
4271
|
+
*/
|
|
4272
|
+
readonly images?: HelmReleaseV2Beta2SpecPostRenderersKustomizeImages[];
|
|
4273
|
+
/**
|
|
4274
|
+
* Strategic merge and JSON patches, defined as inline YAML objects,
|
|
4275
|
+
* capable of targeting objects based on kind, label and annotation selectors.
|
|
4276
|
+
*
|
|
4277
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomize#patches
|
|
4278
|
+
*/
|
|
4279
|
+
readonly patches?: HelmReleaseV2Beta2SpecPostRenderersKustomizePatches[];
|
|
4280
|
+
/**
|
|
4281
|
+
* JSON 6902 patches, defined as inline YAML objects.
|
|
4282
|
+
* Deprecated: use Patches instead.
|
|
4283
|
+
*
|
|
4284
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomize#patchesJson6902
|
|
4285
|
+
*/
|
|
4286
|
+
readonly patchesJson6902?: HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902[];
|
|
4287
|
+
/**
|
|
4288
|
+
* Strategic merge patches, defined as inline YAML objects.
|
|
4289
|
+
* Deprecated: use Patches instead.
|
|
4290
|
+
*
|
|
4291
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomize#patchesStrategicMerge
|
|
4292
|
+
*/
|
|
4293
|
+
readonly patchesStrategicMerge?: any[];
|
|
4294
|
+
}
|
|
4295
|
+
/**
|
|
4296
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecPostRenderersKustomize' to JSON representation.
|
|
4297
|
+
*/
|
|
4298
|
+
export declare function toJson_HelmReleaseV2Beta2SpecPostRenderersKustomize(obj: HelmReleaseV2Beta2SpecPostRenderersKustomize | undefined): Record<string, any> | undefined;
|
|
4299
|
+
/**
|
|
4300
|
+
* Filter holds the configuration for individual Helm test filters.
|
|
4301
|
+
*
|
|
4302
|
+
* @schema HelmReleaseV2Beta2SpecTestFilters
|
|
4303
|
+
*/
|
|
4304
|
+
export interface HelmReleaseV2Beta2SpecTestFilters {
|
|
4305
|
+
/**
|
|
4306
|
+
* Exclude specifies whether the named test should be excluded.
|
|
4307
|
+
*
|
|
4308
|
+
* @schema HelmReleaseV2Beta2SpecTestFilters#exclude
|
|
4309
|
+
*/
|
|
4310
|
+
readonly exclude?: boolean;
|
|
4311
|
+
/**
|
|
4312
|
+
* Name is the name of the test.
|
|
4313
|
+
*
|
|
4314
|
+
* @schema HelmReleaseV2Beta2SpecTestFilters#name
|
|
4315
|
+
*/
|
|
4316
|
+
readonly name: string;
|
|
4317
|
+
}
|
|
4318
|
+
/**
|
|
4319
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecTestFilters' to JSON representation.
|
|
4320
|
+
*/
|
|
4321
|
+
export declare function toJson_HelmReleaseV2Beta2SpecTestFilters(obj: HelmReleaseV2Beta2SpecTestFilters | undefined): Record<string, any> | undefined;
|
|
4322
|
+
/**
|
|
4323
|
+
* DeletionPropagation specifies the deletion propagation policy when
|
|
4324
|
+
* a Helm uninstall is performed.
|
|
4325
|
+
*
|
|
4326
|
+
* @schema HelmReleaseV2Beta2SpecUninstallDeletionPropagation
|
|
4327
|
+
*/
|
|
4328
|
+
export declare enum HelmReleaseV2Beta2SpecUninstallDeletionPropagation {
|
|
4329
|
+
/** background */
|
|
4330
|
+
BACKGROUND = "background",
|
|
4331
|
+
/** foreground */
|
|
4332
|
+
FOREGROUND = "foreground",
|
|
4333
|
+
/** orphan */
|
|
4334
|
+
ORPHAN = "orphan"
|
|
4335
|
+
}
|
|
4336
|
+
/**
|
|
4337
|
+
* CRDs upgrade CRDs from the Helm Chart's crds directory according
|
|
4338
|
+
* to the CRD upgrade policy provided here. Valid values are `Skip`,
|
|
4339
|
+
* `Create` or `CreateReplace`. Default is `Skip` and if omitted
|
|
4340
|
+
* CRDs are neither installed nor upgraded.
|
|
4341
|
+
*
|
|
4342
|
+
* Skip: do neither install nor replace (update) any CRDs.
|
|
4343
|
+
*
|
|
4344
|
+
* Create: new CRDs are created, existing CRDs are neither updated nor deleted.
|
|
4345
|
+
*
|
|
4346
|
+
* CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
|
|
4347
|
+
* but not deleted.
|
|
4348
|
+
*
|
|
4349
|
+
* By default, CRDs are not applied during Helm upgrade action. With this
|
|
4350
|
+
* option users can opt-in to CRD upgrade, which is not (yet) natively supported by Helm.
|
|
4351
|
+
* https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
|
|
4352
|
+
*
|
|
4353
|
+
* @default Skip` and if omitted
|
|
4354
|
+
* @schema HelmReleaseV2Beta2SpecUpgradeCrds
|
|
4355
|
+
*/
|
|
4356
|
+
export declare enum HelmReleaseV2Beta2SpecUpgradeCrds {
|
|
4357
|
+
/** Skip */
|
|
4358
|
+
SKIP = "Skip",
|
|
4359
|
+
/** Create */
|
|
4360
|
+
CREATE = "Create",
|
|
4361
|
+
/** CreateReplace */
|
|
4362
|
+
CREATE_REPLACE = "CreateReplace"
|
|
4363
|
+
}
|
|
4364
|
+
/**
|
|
4365
|
+
* Remediation holds the remediation configuration for when the Helm upgrade
|
|
4366
|
+
* action for the HelmRelease fails. The default is to not perform any action.
|
|
4367
|
+
*
|
|
4368
|
+
* @schema HelmReleaseV2Beta2SpecUpgradeRemediation
|
|
4369
|
+
*/
|
|
4370
|
+
export interface HelmReleaseV2Beta2SpecUpgradeRemediation {
|
|
4371
|
+
/**
|
|
4372
|
+
* IgnoreTestFailures tells the controller to skip remediation when the Helm
|
|
4373
|
+
* tests are run after an upgrade action but fail.
|
|
4374
|
+
* Defaults to 'Test.IgnoreFailures'.
|
|
4375
|
+
*
|
|
4376
|
+
* @default Test.IgnoreFailures'.
|
|
4377
|
+
* @schema HelmReleaseV2Beta2SpecUpgradeRemediation#ignoreTestFailures
|
|
4378
|
+
*/
|
|
4379
|
+
readonly ignoreTestFailures?: boolean;
|
|
4380
|
+
/**
|
|
4381
|
+
* RemediateLastFailure tells the controller to remediate the last failure, when
|
|
4382
|
+
* no retries remain. Defaults to 'false' unless 'Retries' is greater than 0.
|
|
4383
|
+
*
|
|
4384
|
+
* @default false' unless 'Retries' is greater than 0.
|
|
4385
|
+
* @schema HelmReleaseV2Beta2SpecUpgradeRemediation#remediateLastFailure
|
|
4386
|
+
*/
|
|
4387
|
+
readonly remediateLastFailure?: boolean;
|
|
4388
|
+
/**
|
|
4389
|
+
* Retries is the number of retries that should be attempted on failures before
|
|
4390
|
+
* bailing. Remediation, using 'Strategy', is performed between each attempt.
|
|
4391
|
+
* Defaults to '0', a negative integer equals to unlimited retries.
|
|
4392
|
+
*
|
|
4393
|
+
* @default 0', a negative integer equals to unlimited retries.
|
|
4394
|
+
* @schema HelmReleaseV2Beta2SpecUpgradeRemediation#retries
|
|
4395
|
+
*/
|
|
4396
|
+
readonly retries?: number;
|
|
4397
|
+
/**
|
|
4398
|
+
* Strategy to use for failure remediation. Defaults to 'rollback'.
|
|
4399
|
+
*
|
|
4400
|
+
* @default rollback'.
|
|
4401
|
+
* @schema HelmReleaseV2Beta2SpecUpgradeRemediation#strategy
|
|
4402
|
+
*/
|
|
4403
|
+
readonly strategy?: HelmReleaseV2Beta2SpecUpgradeRemediationStrategy;
|
|
4404
|
+
}
|
|
4405
|
+
/**
|
|
4406
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecUpgradeRemediation' to JSON representation.
|
|
4407
|
+
*/
|
|
4408
|
+
export declare function toJson_HelmReleaseV2Beta2SpecUpgradeRemediation(obj: HelmReleaseV2Beta2SpecUpgradeRemediation | undefined): Record<string, any> | undefined;
|
|
4409
|
+
/**
|
|
4410
|
+
* Kind of the values referent, valid values are ('Secret', 'ConfigMap').
|
|
4411
|
+
*
|
|
4412
|
+
* @schema HelmReleaseV2Beta2SpecValuesFromKind
|
|
4413
|
+
*/
|
|
4414
|
+
export declare enum HelmReleaseV2Beta2SpecValuesFromKind {
|
|
4415
|
+
/** Secret */
|
|
4416
|
+
SECRET = "Secret",
|
|
4417
|
+
/** ConfigMap */
|
|
4418
|
+
CONFIG_MAP = "ConfigMap"
|
|
4419
|
+
}
|
|
4420
|
+
/**
|
|
4421
|
+
* Determines what enables the creation of a new artifact. Valid values are
|
|
4422
|
+
* ('ChartVersion', 'Revision').
|
|
4423
|
+
* See the documentation of the values for an explanation on their behavior.
|
|
4424
|
+
* Defaults to ChartVersion when omitted.
|
|
4425
|
+
*
|
|
4426
|
+
* @default ChartVersion when omitted.
|
|
4427
|
+
* @schema HelmReleaseV2Beta2SpecChartSpecReconcileStrategy
|
|
4428
|
+
*/
|
|
4429
|
+
export declare enum HelmReleaseV2Beta2SpecChartSpecReconcileStrategy {
|
|
4430
|
+
/** ChartVersion */
|
|
4431
|
+
CHART_VERSION = "ChartVersion",
|
|
4432
|
+
/** Revision */
|
|
4433
|
+
REVISION = "Revision"
|
|
4434
|
+
}
|
|
4435
|
+
/**
|
|
4436
|
+
* The name and namespace of the v1.Source the chart is available at.
|
|
4437
|
+
*
|
|
4438
|
+
* @schema HelmReleaseV2Beta2SpecChartSpecSourceRef
|
|
4439
|
+
*/
|
|
4440
|
+
export interface HelmReleaseV2Beta2SpecChartSpecSourceRef {
|
|
4441
|
+
/**
|
|
4442
|
+
* APIVersion of the referent.
|
|
4443
|
+
*
|
|
4444
|
+
* @schema HelmReleaseV2Beta2SpecChartSpecSourceRef#apiVersion
|
|
4445
|
+
*/
|
|
4446
|
+
readonly apiVersion?: string;
|
|
4447
|
+
/**
|
|
4448
|
+
* Kind of the referent.
|
|
4449
|
+
*
|
|
4450
|
+
* @schema HelmReleaseV2Beta2SpecChartSpecSourceRef#kind
|
|
4451
|
+
*/
|
|
4452
|
+
readonly kind: HelmReleaseV2Beta2SpecChartSpecSourceRefKind;
|
|
4453
|
+
/**
|
|
4454
|
+
* Name of the referent.
|
|
4455
|
+
*
|
|
4456
|
+
* @schema HelmReleaseV2Beta2SpecChartSpecSourceRef#name
|
|
4457
|
+
*/
|
|
4458
|
+
readonly name: string;
|
|
4459
|
+
/**
|
|
4460
|
+
* Namespace of the referent.
|
|
4461
|
+
*
|
|
4462
|
+
* @schema HelmReleaseV2Beta2SpecChartSpecSourceRef#namespace
|
|
4463
|
+
*/
|
|
4464
|
+
readonly namespace?: string;
|
|
4465
|
+
}
|
|
4466
|
+
/**
|
|
4467
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecChartSpecSourceRef' to JSON representation.
|
|
4468
|
+
*/
|
|
4469
|
+
export declare function toJson_HelmReleaseV2Beta2SpecChartSpecSourceRef(obj: HelmReleaseV2Beta2SpecChartSpecSourceRef | undefined): Record<string, any> | undefined;
|
|
4470
|
+
/**
|
|
4471
|
+
* Verify contains the secret name containing the trusted public keys
|
|
4472
|
+
* used to verify the signature and specifies which provider to use to check
|
|
4473
|
+
* whether OCI image is authentic.
|
|
4474
|
+
* This field is only supported for OCI sources.
|
|
4475
|
+
* Chart dependencies, which are not bundled in the umbrella chart artifact,
|
|
4476
|
+
* are not verified.
|
|
4477
|
+
*
|
|
4478
|
+
* @schema HelmReleaseV2Beta2SpecChartSpecVerify
|
|
4479
|
+
*/
|
|
4480
|
+
export interface HelmReleaseV2Beta2SpecChartSpecVerify {
|
|
4481
|
+
/**
|
|
4482
|
+
* Provider specifies the technology used to sign the OCI Helm chart.
|
|
4483
|
+
*
|
|
4484
|
+
* @schema HelmReleaseV2Beta2SpecChartSpecVerify#provider
|
|
4485
|
+
*/
|
|
4486
|
+
readonly provider: HelmReleaseV2Beta2SpecChartSpecVerifyProvider;
|
|
4487
|
+
/**
|
|
4488
|
+
* SecretRef specifies the Kubernetes Secret containing the
|
|
4489
|
+
* trusted public keys.
|
|
4490
|
+
*
|
|
4491
|
+
* @schema HelmReleaseV2Beta2SpecChartSpecVerify#secretRef
|
|
4492
|
+
*/
|
|
4493
|
+
readonly secretRef?: HelmReleaseV2Beta2SpecChartSpecVerifySecretRef;
|
|
4494
|
+
}
|
|
4495
|
+
/**
|
|
4496
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecChartSpecVerify' to JSON representation.
|
|
4497
|
+
*/
|
|
4498
|
+
export declare function toJson_HelmReleaseV2Beta2SpecChartSpecVerify(obj: HelmReleaseV2Beta2SpecChartSpecVerify | undefined): Record<string, any> | undefined;
|
|
4499
|
+
/**
|
|
4500
|
+
* Target is a selector for specifying Kubernetes objects to which this
|
|
4501
|
+
* rule applies.
|
|
4502
|
+
* If Target is not set, the Paths will be ignored for all Kubernetes
|
|
4503
|
+
* objects within the manifest of the Helm release.
|
|
4504
|
+
*
|
|
4505
|
+
* @schema HelmReleaseV2Beta2SpecDriftDetectionIgnoreTarget
|
|
4506
|
+
*/
|
|
4507
|
+
export interface HelmReleaseV2Beta2SpecDriftDetectionIgnoreTarget {
|
|
4508
|
+
/**
|
|
4509
|
+
* AnnotationSelector is a string that follows the label selection expression
|
|
4510
|
+
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
|
|
4511
|
+
* It matches with the resource annotations.
|
|
4512
|
+
*
|
|
4513
|
+
* @schema HelmReleaseV2Beta2SpecDriftDetectionIgnoreTarget#annotationSelector
|
|
4514
|
+
*/
|
|
4515
|
+
readonly annotationSelector?: string;
|
|
4516
|
+
/**
|
|
4517
|
+
* Group is the API group to select resources from.
|
|
4518
|
+
* Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
|
|
4519
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
4520
|
+
*
|
|
4521
|
+
* @schema HelmReleaseV2Beta2SpecDriftDetectionIgnoreTarget#group
|
|
4522
|
+
*/
|
|
4523
|
+
readonly group?: string;
|
|
4524
|
+
/**
|
|
4525
|
+
* Kind of the API Group to select resources from.
|
|
4526
|
+
* Together with Group and Version it is capable of unambiguously
|
|
4527
|
+
* identifying and/or selecting resources.
|
|
4528
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
4529
|
+
*
|
|
4530
|
+
* @schema HelmReleaseV2Beta2SpecDriftDetectionIgnoreTarget#kind
|
|
4531
|
+
*/
|
|
4532
|
+
readonly kind?: string;
|
|
4533
|
+
/**
|
|
4534
|
+
* LabelSelector is a string that follows the label selection expression
|
|
4535
|
+
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
|
|
4536
|
+
* It matches with the resource labels.
|
|
4537
|
+
*
|
|
4538
|
+
* @schema HelmReleaseV2Beta2SpecDriftDetectionIgnoreTarget#labelSelector
|
|
4539
|
+
*/
|
|
4540
|
+
readonly labelSelector?: string;
|
|
4541
|
+
/**
|
|
4542
|
+
* Name to match resources with.
|
|
4543
|
+
*
|
|
4544
|
+
* @schema HelmReleaseV2Beta2SpecDriftDetectionIgnoreTarget#name
|
|
4545
|
+
*/
|
|
4546
|
+
readonly name?: string;
|
|
4547
|
+
/**
|
|
4548
|
+
* Namespace to select resources from.
|
|
4549
|
+
*
|
|
4550
|
+
* @schema HelmReleaseV2Beta2SpecDriftDetectionIgnoreTarget#namespace
|
|
4551
|
+
*/
|
|
4552
|
+
readonly namespace?: string;
|
|
4553
|
+
/**
|
|
4554
|
+
* Version of the API Group to select resources from.
|
|
4555
|
+
* Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
|
|
4556
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
4557
|
+
*
|
|
4558
|
+
* @schema HelmReleaseV2Beta2SpecDriftDetectionIgnoreTarget#version
|
|
4559
|
+
*/
|
|
4560
|
+
readonly version?: string;
|
|
4561
|
+
}
|
|
4562
|
+
/**
|
|
4563
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecDriftDetectionIgnoreTarget' to JSON representation.
|
|
4564
|
+
*/
|
|
4565
|
+
export declare function toJson_HelmReleaseV2Beta2SpecDriftDetectionIgnoreTarget(obj: HelmReleaseV2Beta2SpecDriftDetectionIgnoreTarget | undefined): Record<string, any> | undefined;
|
|
4566
|
+
/**
|
|
4567
|
+
* Image contains an image name, a new name, a new tag or digest, which will replace the original name and tag.
|
|
4568
|
+
*
|
|
4569
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizeImages
|
|
4570
|
+
*/
|
|
4571
|
+
export interface HelmReleaseV2Beta2SpecPostRenderersKustomizeImages {
|
|
4572
|
+
/**
|
|
4573
|
+
* Digest is the value used to replace the original image tag.
|
|
4574
|
+
* If digest is present NewTag value is ignored.
|
|
4575
|
+
*
|
|
4576
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizeImages#digest
|
|
4577
|
+
*/
|
|
4578
|
+
readonly digest?: string;
|
|
4579
|
+
/**
|
|
4580
|
+
* Name is a tag-less image name.
|
|
4581
|
+
*
|
|
4582
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizeImages#name
|
|
4583
|
+
*/
|
|
4584
|
+
readonly name: string;
|
|
4585
|
+
/**
|
|
4586
|
+
* NewName is the value used to replace the original name.
|
|
4587
|
+
*
|
|
4588
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizeImages#newName
|
|
4589
|
+
*/
|
|
4590
|
+
readonly newName?: string;
|
|
4591
|
+
/**
|
|
4592
|
+
* NewTag is the value used to replace the original tag.
|
|
4593
|
+
*
|
|
4594
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizeImages#newTag
|
|
4595
|
+
*/
|
|
4596
|
+
readonly newTag?: string;
|
|
4597
|
+
}
|
|
4598
|
+
/**
|
|
4599
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecPostRenderersKustomizeImages' to JSON representation.
|
|
4600
|
+
*/
|
|
4601
|
+
export declare function toJson_HelmReleaseV2Beta2SpecPostRenderersKustomizeImages(obj: HelmReleaseV2Beta2SpecPostRenderersKustomizeImages | undefined): Record<string, any> | undefined;
|
|
4602
|
+
/**
|
|
4603
|
+
* Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should
|
|
4604
|
+
* be applied to.
|
|
4605
|
+
*
|
|
4606
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatches
|
|
4607
|
+
*/
|
|
4608
|
+
export interface HelmReleaseV2Beta2SpecPostRenderersKustomizePatches {
|
|
4609
|
+
/**
|
|
4610
|
+
* Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with
|
|
4611
|
+
* an array of operation objects.
|
|
4612
|
+
*
|
|
4613
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatches#patch
|
|
4614
|
+
*/
|
|
4615
|
+
readonly patch: string;
|
|
4616
|
+
/**
|
|
4617
|
+
* Target points to the resources that the patch document should be applied to.
|
|
4618
|
+
*
|
|
4619
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatches#target
|
|
4620
|
+
*/
|
|
4621
|
+
readonly target?: HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesTarget;
|
|
4622
|
+
}
|
|
4623
|
+
/**
|
|
4624
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecPostRenderersKustomizePatches' to JSON representation.
|
|
4625
|
+
*/
|
|
4626
|
+
export declare function toJson_HelmReleaseV2Beta2SpecPostRenderersKustomizePatches(obj: HelmReleaseV2Beta2SpecPostRenderersKustomizePatches | undefined): Record<string, any> | undefined;
|
|
4627
|
+
/**
|
|
4628
|
+
* JSON6902Patch contains a JSON6902 patch and the target the patch should be applied to.
|
|
4629
|
+
*
|
|
4630
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902
|
|
4631
|
+
*/
|
|
4632
|
+
export interface HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902 {
|
|
4633
|
+
/**
|
|
4634
|
+
* Patch contains the JSON6902 patch document with an array of operation objects.
|
|
4635
|
+
*
|
|
4636
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902#patch
|
|
4637
|
+
*/
|
|
4638
|
+
readonly patch: HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Patch[];
|
|
4639
|
+
/**
|
|
4640
|
+
* Target points to the resources that the patch document should be applied to.
|
|
4641
|
+
*
|
|
4642
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902#target
|
|
4643
|
+
*/
|
|
4644
|
+
readonly target: HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Target;
|
|
4645
|
+
}
|
|
4646
|
+
/**
|
|
4647
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902' to JSON representation.
|
|
4648
|
+
*/
|
|
4649
|
+
export declare function toJson_HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902(obj: HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902 | undefined): Record<string, any> | undefined;
|
|
4650
|
+
/**
|
|
4651
|
+
* Strategy to use for failure remediation. Defaults to 'rollback'.
|
|
4652
|
+
*
|
|
4653
|
+
* @default rollback'.
|
|
4654
|
+
* @schema HelmReleaseV2Beta2SpecUpgradeRemediationStrategy
|
|
4655
|
+
*/
|
|
4656
|
+
export declare enum HelmReleaseV2Beta2SpecUpgradeRemediationStrategy {
|
|
4657
|
+
/** rollback */
|
|
4658
|
+
ROLLBACK = "rollback",
|
|
4659
|
+
/** uninstall */
|
|
4660
|
+
UNINSTALL = "uninstall"
|
|
4661
|
+
}
|
|
4662
|
+
/**
|
|
4663
|
+
* Kind of the referent.
|
|
4664
|
+
*
|
|
4665
|
+
* @schema HelmReleaseV2Beta2SpecChartSpecSourceRefKind
|
|
4666
|
+
*/
|
|
4667
|
+
export declare enum HelmReleaseV2Beta2SpecChartSpecSourceRefKind {
|
|
4668
|
+
/** HelmRepository */
|
|
4669
|
+
HELM_REPOSITORY = "HelmRepository",
|
|
4670
|
+
/** GitRepository */
|
|
4671
|
+
GIT_REPOSITORY = "GitRepository",
|
|
4672
|
+
/** Bucket */
|
|
4673
|
+
BUCKET = "Bucket"
|
|
4674
|
+
}
|
|
4675
|
+
/**
|
|
4676
|
+
* Provider specifies the technology used to sign the OCI Helm chart.
|
|
4677
|
+
*
|
|
4678
|
+
* @schema HelmReleaseV2Beta2SpecChartSpecVerifyProvider
|
|
4679
|
+
*/
|
|
4680
|
+
export declare enum HelmReleaseV2Beta2SpecChartSpecVerifyProvider {
|
|
4681
|
+
/** cosign */
|
|
4682
|
+
COSIGN = "cosign",
|
|
4683
|
+
/** notation */
|
|
4684
|
+
NOTATION = "notation"
|
|
4685
|
+
}
|
|
4686
|
+
/**
|
|
4687
|
+
* SecretRef specifies the Kubernetes Secret containing the
|
|
4688
|
+
* trusted public keys.
|
|
4689
|
+
*
|
|
4690
|
+
* @schema HelmReleaseV2Beta2SpecChartSpecVerifySecretRef
|
|
4691
|
+
*/
|
|
4692
|
+
export interface HelmReleaseV2Beta2SpecChartSpecVerifySecretRef {
|
|
4693
|
+
/**
|
|
4694
|
+
* Name of the referent.
|
|
4695
|
+
*
|
|
4696
|
+
* @schema HelmReleaseV2Beta2SpecChartSpecVerifySecretRef#name
|
|
4697
|
+
*/
|
|
4698
|
+
readonly name: string;
|
|
4699
|
+
}
|
|
4700
|
+
/**
|
|
4701
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecChartSpecVerifySecretRef' to JSON representation.
|
|
4702
|
+
*/
|
|
4703
|
+
export declare function toJson_HelmReleaseV2Beta2SpecChartSpecVerifySecretRef(obj: HelmReleaseV2Beta2SpecChartSpecVerifySecretRef | undefined): Record<string, any> | undefined;
|
|
4704
|
+
/**
|
|
4705
|
+
* Target points to the resources that the patch document should be applied to.
|
|
4706
|
+
*
|
|
4707
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesTarget
|
|
4708
|
+
*/
|
|
4709
|
+
export interface HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesTarget {
|
|
4710
|
+
/**
|
|
4711
|
+
* AnnotationSelector is a string that follows the label selection expression
|
|
4712
|
+
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
|
|
4713
|
+
* It matches with the resource annotations.
|
|
4714
|
+
*
|
|
4715
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesTarget#annotationSelector
|
|
4716
|
+
*/
|
|
4717
|
+
readonly annotationSelector?: string;
|
|
4718
|
+
/**
|
|
4719
|
+
* Group is the API group to select resources from.
|
|
4720
|
+
* Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
|
|
4721
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
4722
|
+
*
|
|
4723
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesTarget#group
|
|
4724
|
+
*/
|
|
4725
|
+
readonly group?: string;
|
|
4726
|
+
/**
|
|
4727
|
+
* Kind of the API Group to select resources from.
|
|
4728
|
+
* Together with Group and Version it is capable of unambiguously
|
|
4729
|
+
* identifying and/or selecting resources.
|
|
4730
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
4731
|
+
*
|
|
4732
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesTarget#kind
|
|
4733
|
+
*/
|
|
4734
|
+
readonly kind?: string;
|
|
4735
|
+
/**
|
|
4736
|
+
* LabelSelector is a string that follows the label selection expression
|
|
4737
|
+
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
|
|
4738
|
+
* It matches with the resource labels.
|
|
4739
|
+
*
|
|
4740
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesTarget#labelSelector
|
|
4741
|
+
*/
|
|
4742
|
+
readonly labelSelector?: string;
|
|
4743
|
+
/**
|
|
4744
|
+
* Name to match resources with.
|
|
4745
|
+
*
|
|
4746
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesTarget#name
|
|
4747
|
+
*/
|
|
4748
|
+
readonly name?: string;
|
|
4749
|
+
/**
|
|
4750
|
+
* Namespace to select resources from.
|
|
4751
|
+
*
|
|
4752
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesTarget#namespace
|
|
4753
|
+
*/
|
|
4754
|
+
readonly namespace?: string;
|
|
4755
|
+
/**
|
|
4756
|
+
* Version of the API Group to select resources from.
|
|
4757
|
+
* Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
|
|
4758
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
4759
|
+
*
|
|
4760
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesTarget#version
|
|
4761
|
+
*/
|
|
4762
|
+
readonly version?: string;
|
|
4763
|
+
}
|
|
4764
|
+
/**
|
|
4765
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesTarget' to JSON representation.
|
|
4766
|
+
*/
|
|
4767
|
+
export declare function toJson_HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesTarget(obj: HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesTarget | undefined): Record<string, any> | undefined;
|
|
4768
|
+
/**
|
|
4769
|
+
* JSON6902 is a JSON6902 operation object.
|
|
4770
|
+
* https://datatracker.ietf.org/doc/html/rfc6902#section-4
|
|
4771
|
+
*
|
|
4772
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Patch
|
|
4773
|
+
*/
|
|
4774
|
+
export interface HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Patch {
|
|
4775
|
+
/**
|
|
4776
|
+
* From contains a JSON-pointer value that references a location within the target document where the operation is
|
|
4777
|
+
* performed. The meaning of the value depends on the value of Op, and is NOT taken into account by all operations.
|
|
4778
|
+
*
|
|
4779
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Patch#from
|
|
4780
|
+
*/
|
|
4781
|
+
readonly from?: string;
|
|
4782
|
+
/**
|
|
4783
|
+
* Op indicates the operation to perform. Its value MUST be one of "add", "remove", "replace", "move", "copy", or
|
|
4784
|
+
* "test".
|
|
4785
|
+
* https://datatracker.ietf.org/doc/html/rfc6902#section-4
|
|
4786
|
+
*
|
|
4787
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Patch#op
|
|
4788
|
+
*/
|
|
4789
|
+
readonly op: HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902PatchOp;
|
|
4790
|
+
/**
|
|
4791
|
+
* Path contains the JSON-pointer value that references a location within the target document where the operation
|
|
4792
|
+
* is performed. The meaning of the value depends on the value of Op.
|
|
4793
|
+
*
|
|
4794
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Patch#path
|
|
4795
|
+
*/
|
|
4796
|
+
readonly path: string;
|
|
4797
|
+
/**
|
|
4798
|
+
* Value contains a valid JSON structure. The meaning of the value depends on the value of Op, and is NOT taken into
|
|
4799
|
+
* account by all operations.
|
|
4800
|
+
*
|
|
4801
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Patch#value
|
|
4802
|
+
*/
|
|
4803
|
+
readonly value?: any;
|
|
4804
|
+
}
|
|
4805
|
+
/**
|
|
4806
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Patch' to JSON representation.
|
|
4807
|
+
*/
|
|
4808
|
+
export declare function toJson_HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Patch(obj: HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Patch | undefined): Record<string, any> | undefined;
|
|
4809
|
+
/**
|
|
4810
|
+
* Target points to the resources that the patch document should be applied to.
|
|
4811
|
+
*
|
|
4812
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Target
|
|
4813
|
+
*/
|
|
4814
|
+
export interface HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Target {
|
|
4815
|
+
/**
|
|
4816
|
+
* AnnotationSelector is a string that follows the label selection expression
|
|
4817
|
+
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
|
|
4818
|
+
* It matches with the resource annotations.
|
|
4819
|
+
*
|
|
4820
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Target#annotationSelector
|
|
4821
|
+
*/
|
|
4822
|
+
readonly annotationSelector?: string;
|
|
4823
|
+
/**
|
|
4824
|
+
* Group is the API group to select resources from.
|
|
4825
|
+
* Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
|
|
4826
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
4827
|
+
*
|
|
4828
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Target#group
|
|
4829
|
+
*/
|
|
4830
|
+
readonly group?: string;
|
|
4831
|
+
/**
|
|
4832
|
+
* Kind of the API Group to select resources from.
|
|
4833
|
+
* Together with Group and Version it is capable of unambiguously
|
|
4834
|
+
* identifying and/or selecting resources.
|
|
4835
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
4836
|
+
*
|
|
4837
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Target#kind
|
|
4838
|
+
*/
|
|
4839
|
+
readonly kind?: string;
|
|
4840
|
+
/**
|
|
4841
|
+
* LabelSelector is a string that follows the label selection expression
|
|
4842
|
+
* https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
|
|
4843
|
+
* It matches with the resource labels.
|
|
4844
|
+
*
|
|
4845
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Target#labelSelector
|
|
4846
|
+
*/
|
|
4847
|
+
readonly labelSelector?: string;
|
|
4848
|
+
/**
|
|
4849
|
+
* Name to match resources with.
|
|
4850
|
+
*
|
|
4851
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Target#name
|
|
4852
|
+
*/
|
|
4853
|
+
readonly name?: string;
|
|
4854
|
+
/**
|
|
4855
|
+
* Namespace to select resources from.
|
|
4856
|
+
*
|
|
4857
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Target#namespace
|
|
4858
|
+
*/
|
|
4859
|
+
readonly namespace?: string;
|
|
4860
|
+
/**
|
|
4861
|
+
* Version of the API Group to select resources from.
|
|
4862
|
+
* Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
|
|
4863
|
+
* https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
|
|
4864
|
+
*
|
|
4865
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Target#version
|
|
4866
|
+
*/
|
|
4867
|
+
readonly version?: string;
|
|
4868
|
+
}
|
|
4869
|
+
/**
|
|
4870
|
+
* Converts an object of type 'HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Target' to JSON representation.
|
|
4871
|
+
*/
|
|
4872
|
+
export declare function toJson_HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Target(obj: HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902Target | undefined): Record<string, any> | undefined;
|
|
4873
|
+
/**
|
|
4874
|
+
* Op indicates the operation to perform. Its value MUST be one of "add", "remove", "replace", "move", "copy", or
|
|
4875
|
+
* "test".
|
|
4876
|
+
* https://datatracker.ietf.org/doc/html/rfc6902#section-4
|
|
4877
|
+
*
|
|
4878
|
+
* @schema HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902PatchOp
|
|
4879
|
+
*/
|
|
4880
|
+
export declare enum HelmReleaseV2Beta2SpecPostRenderersKustomizePatchesJson6902PatchOp {
|
|
4881
|
+
/** test */
|
|
4882
|
+
TEST = "test",
|
|
4883
|
+
/** remove */
|
|
4884
|
+
REMOVE = "remove",
|
|
4885
|
+
/** add */
|
|
4886
|
+
ADD = "add",
|
|
4887
|
+
/** replace */
|
|
4888
|
+
REPLACE = "replace",
|
|
4889
|
+
/** move */
|
|
4890
|
+
MOVE = "move",
|
|
4891
|
+
/** copy */
|
|
4892
|
+
COPY = "copy"
|
|
4893
|
+
}
|
|
4894
|
+
//# sourceMappingURL=helm.toolkit.fluxcd.io.d.ts.map
|