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