HelmRelease.spec.postRenderers[].kustomize.patches[].target.spec.upgrade
Upgrade holds the configuration for Helm upgrade actions for this HelmRelease.
| Field / Type | Description |
|---|---|
chartNameChangeStrategy | ChartNameChangeStrategy defines the strategy to use when a Helm chart name changes. Valid values are 'Reinstall' or 'InPlaceUpdate'. Defaults to 'Reinstall' if omitted. Reinstall: Reinstall the Helm release, uninstalling the existing Helm release. InPlaceUpdate: Update the Helm release in place.
|
cleanupOnFail | CleanupOnFail allows deletion of new resources created during the Helm upgrade action when it fails. |
crds | CRDs upgrade CRDs from the Helm Chart's crds directory according to the CRD upgrade policy provided here. Valid values are `Skip`, `Create` or `CreateReplace`. Default is `Skip` and if omitted CRDs are neither installed nor upgraded. Skip: do neither install nor replace (update) any CRDs. Create: new CRDs are created, existing CRDs are neither updated nor deleted. CreateReplace: new CRDs are created, existing CRDs are updated (replaced) but not deleted. By default, CRDs are not applied during Helm upgrade action. With this option users can opt-in to CRD upgrade, which is not (yet) natively supported by Helm. https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
|
disableHooks | DisableHooks prevents hooks from running during the Helm upgrade action. |
disableOpenAPIValidation | DisableOpenAPIValidation prevents the Helm upgrade action from validating rendered templates against the Kubernetes OpenAPI Schema. |
disableSchemaValidation | DisableSchemaValidation prevents the Helm upgrade action from validating the values against the JSON Schema. |
disableTakeOwnership | DisableTakeOwnership disables taking ownership of existing resources during the Helm upgrade action. Defaults to false. |
disableWait | DisableWait disables the waiting for resources to be ready after a Helm upgrade has been performed. |
disableWaitForJobs | DisableWaitForJobs disables waiting for jobs to complete after a Helm upgrade has been performed. |
force | Force forces resource updates through a replacement strategy that avoids 3-way merge conflicts on client-side apply. This field is ignored for server-side apply (which always forces conflicts with other field managers). |
preserveValues | PreserveValues will make Helm reuse the last release's values and merge in overrides from 'Values'. Setting this flag makes the HelmRelease non-declarative. |
Remediation holds the remediation configuration for when the Helm upgrade action for the HelmRelease fails. The default is to not perform any action. | |
serverSideApply | ServerSideApply enables server-side apply for resources during upgrade. Can be "enabled", "disabled", or "auto". When "auto", server-side apply usage will be based on the release's previous usage. Defaults to "auto".
|
Strategy defines the upgrade strategy to use for this HelmRelease. Defaults to 'RemediateOnFailure', or 'RetryOnFailure' when the DefaultToRetryOnFailure feature gate is enabled.
| |
timeout | Timeout is the time to wait for any individual Kubernetes operation (like Jobs for hooks) during the performance of a Helm upgrade action. Defaults to 'HelmReleaseSpec.Timeout'.
|