Skip to content

helm.v2beta1.helmRelease

"HelmRelease is the Schema for the helmreleases API"

Index

Fields

fn new

new(name)

new returns an instance of HelmRelease

obj metadata

"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."

fn metadata.withAnnotations

withAnnotations(annotations)

"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"

fn metadata.withAnnotationsMixin

withAnnotationsMixin(annotations)

"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"

Note: This function appends passed data to existing values

fn metadata.withClusterName

withClusterName(clusterName)

"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."

fn metadata.withCreationTimestamp

withCreationTimestamp(creationTimestamp)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn metadata.withDeletionGracePeriodSeconds

withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)

"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."

fn metadata.withDeletionTimestamp

withDeletionTimestamp(deletionTimestamp)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn metadata.withFinalizers

withFinalizers(finalizers)

"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."

fn metadata.withFinalizersMixin

withFinalizersMixin(finalizers)

"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."

Note: This function appends passed data to existing values

fn metadata.withGenerateName

withGenerateName(generateName)

"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"

fn metadata.withGeneration

withGeneration(generation)

"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."

fn metadata.withLabels

withLabels(labels)

"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"

fn metadata.withLabelsMixin

withLabelsMixin(labels)

"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"

Note: This function appends passed data to existing values

fn metadata.withName

withName(name)

"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"

fn metadata.withNamespace

withNamespace(namespace)

"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"

fn metadata.withOwnerReferences

withOwnerReferences(ownerReferences)

"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."

fn metadata.withOwnerReferencesMixin

withOwnerReferencesMixin(ownerReferences)

"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."

Note: This function appends passed data to existing values

fn metadata.withResourceVersion

withResourceVersion(resourceVersion)

"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"

withSelfLink(selfLink)

"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."

fn metadata.withUid

withUid(uid)

"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"

obj spec

"HelmReleaseSpec defines the desired state of a Helm release."

fn spec.withDependsOn

withDependsOn(dependsOn)

"DependsOn may contain a meta.NamespacedObjectReference slice with\nreferences to HelmRelease resources that must be ready before this HelmRelease\ncan be reconciled."

fn spec.withDependsOnMixin

withDependsOnMixin(dependsOn)

"DependsOn may contain a meta.NamespacedObjectReference slice with\nreferences to HelmRelease resources that must be ready before this HelmRelease\ncan be reconciled."

Note: This function appends passed data to existing values

fn spec.withInterval

withInterval(interval)

"Interval at which to reconcile the Helm release.\nThis interval is approximate and may be subject to jitter to ensure\nefficient use of resources."

fn spec.withMaxHistory

withMaxHistory(maxHistory)

"MaxHistory is the number of revisions saved by Helm for this HelmRelease.\nUse '0' for an unlimited number of revisions; defaults to '10'."

fn spec.withPersistentClient

withPersistentClient(persistentClient)

"PersistentClient tells the controller to use a persistent Kubernetes\nclient for this release. When enabled, the client will be reused for the\nduration of the reconciliation, instead of being created and destroyed\nfor each (step of a) Helm action.\n\n\nThis can improve performance, but may cause issues with some Helm charts\nthat for example do create Custom Resource Definitions during installation\noutside Helm's CRD lifecycle hooks, which are then not observed to be\navailable by e.g. post-install hooks.\n\n\nIf not set, it defaults to true."

fn spec.withPostRenderers

withPostRenderers(postRenderers)

"PostRenderers holds an array of Helm PostRenderers, which will be applied in order\nof their definition."

fn spec.withPostRenderersMixin

withPostRenderersMixin(postRenderers)

"PostRenderers holds an array of Helm PostRenderers, which will be applied in order\nof their definition."

Note: This function appends passed data to existing values

fn spec.withReleaseName

withReleaseName(releaseName)

"ReleaseName used for the Helm release. Defaults to a composition of\n'[TargetNamespace-]Name'."

fn spec.withServiceAccountName

withServiceAccountName(serviceAccountName)

"The name of the Kubernetes service account to impersonate\nwhen reconciling this HelmRelease."

fn spec.withStorageNamespace

withStorageNamespace(storageNamespace)

"StorageNamespace used for the Helm storage.\nDefaults to the namespace of the HelmRelease."

fn spec.withSuspend

withSuspend(suspend)

"Suspend tells the controller to suspend reconciliation for this HelmRelease,\nit does not apply to already started reconciliations. Defaults to false."

fn spec.withTargetNamespace

withTargetNamespace(targetNamespace)

"TargetNamespace to target when performing operations for the HelmRelease.\nDefaults to the namespace of the HelmRelease."

fn spec.withTimeout

withTimeout(timeout)

"Timeout is the time to wait for any individual Kubernetes operation (like Jobs\nfor hooks) during the performance of a Helm action. Defaults to '5m0s'."

fn spec.withValues

withValues(values)

"Values holds the values for this Helm release."

fn spec.withValuesFrom

withValuesFrom(valuesFrom)

"ValuesFrom holds references to resources containing Helm values for this HelmRelease,\nand information about how they should be merged."

fn spec.withValuesFromMixin

withValuesFromMixin(valuesFrom)

"ValuesFrom holds references to resources containing Helm values for this HelmRelease,\nand information about how they should be merged."

Note: This function appends passed data to existing values

obj spec.chart

"Chart defines the template of the v1beta2.HelmChart that should be created\nfor this HelmRelease."

obj spec.chart.metadata

"ObjectMeta holds the template for metadata like labels and annotations."

fn spec.chart.metadata.withAnnotations

withAnnotations(annotations)

"Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/"

fn spec.chart.metadata.withAnnotationsMixin

withAnnotationsMixin(annotations)

"Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/"

Note: This function appends passed data to existing values

fn spec.chart.metadata.withLabels

withLabels(labels)

"Map of string keys and values that can be used to organize and categorize\n(scope and select) objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/"

fn spec.chart.metadata.withLabelsMixin

withLabelsMixin(labels)

"Map of string keys and values that can be used to organize and categorize\n(scope and select) objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/"

Note: This function appends passed data to existing values

obj spec.chart.spec

"Spec holds the template for the v1beta2.HelmChartSpec for this HelmRelease."

fn spec.chart.spec.withChart

withChart(chart)

"The name or path the Helm chart is available at in the SourceRef."

fn spec.chart.spec.withInterval

withInterval(interval)

"Interval at which to check the v1beta2.Source for updates. Defaults to\n'HelmReleaseSpec.Interval'."

fn spec.chart.spec.withReconcileStrategy

withReconcileStrategy(reconcileStrategy)

"Determines what enables the creation of a new artifact. Valid values are\n('ChartVersion', 'Revision').\nSee the documentation of the values for an explanation on their behavior.\nDefaults to ChartVersion when omitted."

fn spec.chart.spec.withValuesFile

withValuesFile(valuesFile)

"Alternative values file to use as the default chart values, expected to\nbe a relative path in the SourceRef. Deprecated in favor of ValuesFiles,\nfor backwards compatibility the file defined here is merged before the\nValuesFiles items. Ignored when omitted."

fn spec.chart.spec.withValuesFiles

withValuesFiles(valuesFiles)

"Alternative list of values files to use as the chart values (values.yaml\nis not included by default), expected to be a relative path in the SourceRef.\nValues files are merged in the order of this list with the last file overriding\nthe first. Ignored when omitted."

fn spec.chart.spec.withValuesFilesMixin

withValuesFilesMixin(valuesFiles)

"Alternative list of values files to use as the chart values (values.yaml\nis not included by default), expected to be a relative path in the SourceRef.\nValues files are merged in the order of this list with the last file overriding\nthe first. Ignored when omitted."

Note: This function appends passed data to existing values

fn spec.chart.spec.withVersion

withVersion(version)

"Version semver expression, ignored for charts from v1beta2.GitRepository and\nv1beta2.Bucket sources. Defaults to latest when omitted."

obj spec.chart.spec.sourceRef

"The name and namespace of the v1beta2.Source the chart is available at."

fn spec.chart.spec.sourceRef.withApiVersion

withApiVersion(apiVersion)

"APIVersion of the referent."

fn spec.chart.spec.sourceRef.withKind

withKind(kind)

"Kind of the referent."

fn spec.chart.spec.sourceRef.withName

withName(name)

"Name of the referent."

fn spec.chart.spec.sourceRef.withNamespace

withNamespace(namespace)

"Namespace of the referent."

obj spec.chart.spec.verify

"Verify contains the secret name containing the trusted public keys\nused to verify the signature and specifies which provider to use to check\nwhether OCI image is authentic.\nThis field is only supported for OCI sources.\nChart dependencies, which are not bundled in the umbrella chart artifact, are not verified."

fn spec.chart.spec.verify.withProvider

withProvider(provider)

"Provider specifies the technology used to sign the OCI Helm chart."

obj spec.chart.spec.verify.secretRef

"SecretRef specifies the Kubernetes Secret containing the\ntrusted public keys."

fn spec.chart.spec.verify.secretRef.withName

withName(name)

"Name of the referent."

obj spec.chartRef

"ChartRef holds a reference to a source controller resource containing the\nHelm chart artifact.\n\n\nNote: this field is provisional to the v2 API, and not actively used\nby v2beta1 HelmReleases."

fn spec.chartRef.withApiVersion

withApiVersion(apiVersion)

"APIVersion of the referent."

fn spec.chartRef.withKind

withKind(kind)

"Kind of the referent."

fn spec.chartRef.withName

withName(name)

"Name of the referent."

fn spec.chartRef.withNamespace

withNamespace(namespace)

"Namespace of the referent, defaults to the namespace of the Kubernetes\nresource object that contains the reference."

obj spec.dependsOn

"DependsOn may contain a meta.NamespacedObjectReference slice with\nreferences to HelmRelease resources that must be ready before this HelmRelease\ncan be reconciled."

fn spec.dependsOn.withName

withName(name)

"Name of the referent."

fn spec.dependsOn.withNamespace

withNamespace(namespace)

"Namespace of the referent, when not specified it acts as LocalObjectReference."

obj spec.driftDetection

"DriftDetection holds the configuration for detecting and handling\ndifferences between the manifest in the Helm storage and the resources\ncurrently existing in the cluster.\n\n\nNote: this field is provisional to the v2beta2 API, and not actively used\nby v2beta1 HelmReleases."

fn spec.driftDetection.withIgnore

withIgnore(ignore)

"Ignore contains a list of rules for specifying which changes to ignore\nduring diffing."

fn spec.driftDetection.withIgnoreMixin

withIgnoreMixin(ignore)

"Ignore contains a list of rules for specifying which changes to ignore\nduring diffing."

Note: This function appends passed data to existing values

fn spec.driftDetection.withMode

withMode(mode)

"Mode defines how differences should be handled between the Helm manifest\nand the manifest currently applied to the cluster.\nIf not explicitly set, it defaults to DiffModeDisabled."

obj spec.driftDetection.ignore

"Ignore contains a list of rules for specifying which changes to ignore\nduring diffing."

fn spec.driftDetection.ignore.withPaths

withPaths(paths)

"Paths is a list of JSON Pointer (RFC 6901) paths to be excluded from\nconsideration in a Kubernetes object."

fn spec.driftDetection.ignore.withPathsMixin

withPathsMixin(paths)

"Paths is a list of JSON Pointer (RFC 6901) paths to be excluded from\nconsideration in a Kubernetes object."

Note: This function appends passed data to existing values

obj spec.driftDetection.ignore.target

"Target is a selector for specifying Kubernetes objects to which this\nrule applies.\nIf Target is not set, the Paths will be ignored for all Kubernetes\nobjects within the manifest of the Helm release."

fn spec.driftDetection.ignore.target.withAnnotationSelector

withAnnotationSelector(annotationSelector)

"AnnotationSelector is a string that follows the label selection expression\nhttps://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api\nIt matches with the resource annotations."

fn spec.driftDetection.ignore.target.withGroup

withGroup(group)

"Group is the API group to select resources from.\nTogether with Version and Kind it is capable of unambiguously identifying and/or selecting resources.\nhttps://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md"

fn spec.driftDetection.ignore.target.withKind

withKind(kind)

"Kind of the API Group to select resources from.\nTogether with Group and Version it is capable of unambiguously\nidentifying and/or selecting resources.\nhttps://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md"

fn spec.driftDetection.ignore.target.withLabelSelector

withLabelSelector(labelSelector)

"LabelSelector is a string that follows the label selection expression\nhttps://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api\nIt matches with the resource labels."

fn spec.driftDetection.ignore.target.withName

withName(name)

"Name to match resources with."

fn spec.driftDetection.ignore.target.withNamespace

withNamespace(namespace)

"Namespace to select resources from."

fn spec.driftDetection.ignore.target.withVersion

withVersion(version)

"Version of the API Group to select resources from.\nTogether with Group and Kind it is capable of unambiguously identifying and/or selecting resources.\nhttps://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md"

obj spec.install

"Install holds the configuration for Helm install actions for this HelmRelease."

fn spec.install.withCrds

withCrds(crds)

"CRDs upgrade CRDs from the Helm Chart's crds directory according\nto the CRD upgrade policy provided here. Valid values are Skip,\nCreate or CreateReplace. Default is Create and if omitted\nCRDs are installed but not updated.\n\n\nSkip: do neither install nor replace (update) any CRDs.\n\n\nCreate: new CRDs are created, existing CRDs are neither updated nor deleted.\n\n\nCreateReplace: new CRDs are created, existing CRDs are updated (replaced)\nbut not deleted.\n\n\nBy default, CRDs are applied (installed) during Helm install action.\nWith this option users can opt-in to CRD replace existing CRDs on Helm\ninstall actions, which is not (yet) natively supported by Helm.\nhttps://helm.sh/docs/chart_best_practices/custom_resource_definitions."

fn spec.install.withCreateNamespace

withCreateNamespace(createNamespace)

"CreateNamespace tells the Helm install action to create the\nHelmReleaseSpec.TargetNamespace if it does not exist yet.\nOn uninstall, the namespace will not be garbage collected."

fn spec.install.withDisableHooks

withDisableHooks(disableHooks)

"DisableHooks prevents hooks from running during the Helm install action."

fn spec.install.withDisableOpenAPIValidation

withDisableOpenAPIValidation(disableOpenAPIValidation)

"DisableOpenAPIValidation prevents the Helm install action from validating\nrendered templates against the Kubernetes OpenAPI Schema."

fn spec.install.withDisableWait

withDisableWait(disableWait)

"DisableWait disables the waiting for resources to be ready after a Helm\ninstall has been performed."

fn spec.install.withDisableWaitForJobs

withDisableWaitForJobs(disableWaitForJobs)

"DisableWaitForJobs disables waiting for jobs to complete after a Helm\ninstall has been performed."

fn spec.install.withReplace

withReplace(replace)

"Replace tells the Helm install action to re-use the 'ReleaseName', but only\nif that name is a deleted release which remains in the history."

fn spec.install.withSkipCRDs

withSkipCRDs(skipCRDs)

"SkipCRDs tells the Helm install action to not install any CRDs. By default,\nCRDs are installed if not already present.\n\n\nDeprecated use CRD policy (crds) attribute with value Skip instead."

fn spec.install.withTimeout

withTimeout(timeout)

"Timeout is the time to wait for any individual Kubernetes operation (like\nJobs for hooks) during the performance of a Helm install action. Defaults to\n'HelmReleaseSpec.Timeout'."

obj spec.install.remediation

"Remediation holds the remediation configuration for when the Helm install\naction for the HelmRelease fails. The default is to not perform any action."

fn spec.install.remediation.withIgnoreTestFailures

withIgnoreTestFailures(ignoreTestFailures)

"IgnoreTestFailures tells the controller to skip remediation when the Helm\ntests are run after an install action but fail. Defaults to\n'Test.IgnoreFailures'."

fn spec.install.remediation.withRemediateLastFailure

withRemediateLastFailure(remediateLastFailure)

"RemediateLastFailure tells the controller to remediate the last failure, when\nno retries remain. Defaults to 'false'."

fn spec.install.remediation.withRetries

withRetries(retries)

"Retries is the number of retries that should be attempted on failures before\nbailing. Remediation, using an uninstall, is performed between each attempt.\nDefaults to '0', a negative integer equals to unlimited retries."

obj spec.kubeConfig

"KubeConfig for reconciling the HelmRelease on a remote cluster.\nWhen used in combination with HelmReleaseSpec.ServiceAccountName,\nforces the controller to act on behalf of that Service Account at the\ntarget cluster.\nIf the --default-service-account flag is set, its value will be used as\na controller level fallback for when HelmReleaseSpec.ServiceAccountName\nis empty."

obj spec.kubeConfig.secretRef

"SecretRef holds the name of a secret that contains a key with\nthe kubeconfig file as the value. If no key is set, the key will default\nto 'value'.\nIt is recommended that the kubeconfig is self-contained, and the secret\nis regularly updated if credentials such as a cloud-access-token expire.\nCloud specific cmd-path auth helpers will not function without adding\nbinaries and credentials to the Pod that is responsible for reconciling\nKubernetes resources."

fn spec.kubeConfig.secretRef.withKey

withKey(key)

"Key in the Secret, when not specified an implementation-specific default key is used."

fn spec.kubeConfig.secretRef.withName

withName(name)

"Name of the Secret."

obj spec.postRenderers

"PostRenderers holds an array of Helm PostRenderers, which will be applied in order\nof their definition."

obj spec.postRenderers.kustomize

"Kustomization to apply as PostRenderer."

fn spec.postRenderers.kustomize.withImages

withImages(images)

"Images is a list of (image name, new name, new tag or digest)\nfor changing image names, tags or digests. This can also be achieved with a\npatch, but this operator is simpler to specify."

fn spec.postRenderers.kustomize.withImagesMixin

withImagesMixin(images)

"Images is a list of (image name, new name, new tag or digest)\nfor changing image names, tags or digests. This can also be achieved with a\npatch, but this operator is simpler to specify."

Note: This function appends passed data to existing values

fn spec.postRenderers.kustomize.withPatches

withPatches(patches)

"Strategic merge and JSON patches, defined as inline YAML objects,\ncapable of targeting objects based on kind, label and annotation selectors."

fn spec.postRenderers.kustomize.withPatchesJson6902

withPatchesJson6902(patchesJson6902)

"JSON 6902 patches, defined as inline YAML objects."

fn spec.postRenderers.kustomize.withPatchesJson6902Mixin

withPatchesJson6902Mixin(patchesJson6902)

"JSON 6902 patches, defined as inline YAML objects."

Note: This function appends passed data to existing values

fn spec.postRenderers.kustomize.withPatchesMixin

withPatchesMixin(patches)

"Strategic merge and JSON patches, defined as inline YAML objects,\ncapable of targeting objects based on kind, label and annotation selectors."

Note: This function appends passed data to existing values

fn spec.postRenderers.kustomize.withPatchesStrategicMerge

withPatchesStrategicMerge(patchesStrategicMerge)

"Strategic merge patches, defined as inline YAML objects."

fn spec.postRenderers.kustomize.withPatchesStrategicMergeMixin

withPatchesStrategicMergeMixin(patchesStrategicMerge)

"Strategic merge patches, defined as inline YAML objects."

Note: This function appends passed data to existing values

obj spec.postRenderers.kustomize.images

"Images is a list of (image name, new name, new tag or digest)\nfor changing image names, tags or digests. This can also be achieved with a\npatch, but this operator is simpler to specify."

fn spec.postRenderers.kustomize.images.withDigest

withDigest(digest)

"Digest is the value used to replace the original image tag.\nIf digest is present NewTag value is ignored."

fn spec.postRenderers.kustomize.images.withName

withName(name)

"Name is a tag-less image name."

fn spec.postRenderers.kustomize.images.withNewName

withNewName(newName)

"NewName is the value used to replace the original name."

fn spec.postRenderers.kustomize.images.withNewTag

withNewTag(newTag)

"NewTag is the value used to replace the original tag."

obj spec.postRenderers.kustomize.patches

"Strategic merge and JSON patches, defined as inline YAML objects,\ncapable of targeting objects based on kind, label and annotation selectors."

fn spec.postRenderers.kustomize.patches.withPatch

withPatch(patch)

"Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with\nan array of operation objects."

obj spec.postRenderers.kustomize.patches.target

"Target points to the resources that the patch document should be applied to."

fn spec.postRenderers.kustomize.patches.target.withAnnotationSelector

withAnnotationSelector(annotationSelector)

"AnnotationSelector is a string that follows the label selection expression\nhttps://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api\nIt matches with the resource annotations."

fn spec.postRenderers.kustomize.patches.target.withGroup

withGroup(group)

"Group is the API group to select resources from.\nTogether with Version and Kind it is capable of unambiguously identifying and/or selecting resources.\nhttps://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md"

fn spec.postRenderers.kustomize.patches.target.withKind

withKind(kind)

"Kind of the API Group to select resources from.\nTogether with Group and Version it is capable of unambiguously\nidentifying and/or selecting resources.\nhttps://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md"

fn spec.postRenderers.kustomize.patches.target.withLabelSelector

withLabelSelector(labelSelector)

"LabelSelector is a string that follows the label selection expression\nhttps://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api\nIt matches with the resource labels."

fn spec.postRenderers.kustomize.patches.target.withName

withName(name)

"Name to match resources with."

fn spec.postRenderers.kustomize.patches.target.withNamespace

withNamespace(namespace)

"Namespace to select resources from."

fn spec.postRenderers.kustomize.patches.target.withVersion

withVersion(version)

"Version of the API Group to select resources from.\nTogether with Group and Kind it is capable of unambiguously identifying and/or selecting resources.\nhttps://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md"

obj spec.postRenderers.kustomize.patchesJson6902

"JSON 6902 patches, defined as inline YAML objects."

fn spec.postRenderers.kustomize.patchesJson6902.withPatch

withPatch(patch)

"Patch contains the JSON6902 patch document with an array of operation objects."

fn spec.postRenderers.kustomize.patchesJson6902.withPatchMixin

withPatchMixin(patch)

"Patch contains the JSON6902 patch document with an array of operation objects."

Note: This function appends passed data to existing values

obj spec.postRenderers.kustomize.patchesJson6902.patch

"Patch contains the JSON6902 patch document with an array of operation objects."

fn spec.postRenderers.kustomize.patchesJson6902.patch.withFrom

withFrom(from)

"From contains a JSON-pointer value that references a location within the target document where the operation is\nperformed. The meaning of the value depends on the value of Op, and is NOT taken into account by all operations."

fn spec.postRenderers.kustomize.patchesJson6902.patch.withOp

withOp(op)

"Op indicates the operation to perform. Its value MUST be one of \"add\", \"remove\", \"replace\", \"move\", \"copy\", or\n\"test\".\nhttps://datatracker.ietf.org/doc/html/rfc6902#section-4"

fn spec.postRenderers.kustomize.patchesJson6902.patch.withPath

withPath(path)

"Path contains the JSON-pointer value that references a location within the target document where the operation\nis performed. The meaning of the value depends on the value of Op."

fn spec.postRenderers.kustomize.patchesJson6902.patch.withValue

withValue(value)

"Value contains a valid JSON structure. The meaning of the value depends on the value of Op, and is NOT taken into\naccount by all operations."

obj spec.postRenderers.kustomize.patchesJson6902.target

"Target points to the resources that the patch document should be applied to."

fn spec.postRenderers.kustomize.patchesJson6902.target.withAnnotationSelector

withAnnotationSelector(annotationSelector)

"AnnotationSelector is a string that follows the label selection expression\nhttps://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api\nIt matches with the resource annotations."

fn spec.postRenderers.kustomize.patchesJson6902.target.withGroup

withGroup(group)

"Group is the API group to select resources from.\nTogether with Version and Kind it is capable of unambiguously identifying and/or selecting resources.\nhttps://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md"

fn spec.postRenderers.kustomize.patchesJson6902.target.withKind

withKind(kind)

"Kind of the API Group to select resources from.\nTogether with Group and Version it is capable of unambiguously\nidentifying and/or selecting resources.\nhttps://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md"

fn spec.postRenderers.kustomize.patchesJson6902.target.withLabelSelector

withLabelSelector(labelSelector)

"LabelSelector is a string that follows the label selection expression\nhttps://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api\nIt matches with the resource labels."

fn spec.postRenderers.kustomize.patchesJson6902.target.withName

withName(name)

"Name to match resources with."

fn spec.postRenderers.kustomize.patchesJson6902.target.withNamespace

withNamespace(namespace)

"Namespace to select resources from."

fn spec.postRenderers.kustomize.patchesJson6902.target.withVersion

withVersion(version)

"Version of the API Group to select resources from.\nTogether with Group and Kind it is capable of unambiguously identifying and/or selecting resources.\nhttps://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md"

obj spec.rollback

"Rollback holds the configuration for Helm rollback actions for this HelmRelease."

fn spec.rollback.withCleanupOnFail

withCleanupOnFail(cleanupOnFail)

"CleanupOnFail allows deletion of new resources created during the Helm\nrollback action when it fails."

fn spec.rollback.withDisableHooks

withDisableHooks(disableHooks)

"DisableHooks prevents hooks from running during the Helm rollback action."

fn spec.rollback.withDisableWait

withDisableWait(disableWait)

"DisableWait disables the waiting for resources to be ready after a Helm\nrollback has been performed."

fn spec.rollback.withDisableWaitForJobs

withDisableWaitForJobs(disableWaitForJobs)

"DisableWaitForJobs disables waiting for jobs to complete after a Helm\nrollback has been performed."

fn spec.rollback.withForce

withForce(force)

"Force forces resource updates through a replacement strategy."

fn spec.rollback.withRecreate

withRecreate(recreate)

"Recreate performs pod restarts for the resource if applicable."

fn spec.rollback.withTimeout

withTimeout(timeout)

"Timeout is the time to wait for any individual Kubernetes operation (like\nJobs for hooks) during the performance of a Helm rollback action. Defaults to\n'HelmReleaseSpec.Timeout'."

obj spec.test

"Test holds the configuration for Helm test actions for this HelmRelease."

fn spec.test.withEnable

withEnable(enable)

"Enable enables Helm test actions for this HelmRelease after an Helm install\nor upgrade action has been performed."

fn spec.test.withIgnoreFailures

withIgnoreFailures(ignoreFailures)

"IgnoreFailures tells the controller to skip remediation when the Helm tests\nare run but fail. Can be overwritten for tests run after install or upgrade\nactions in 'Install.IgnoreTestFailures' and 'Upgrade.IgnoreTestFailures'."

fn spec.test.withTimeout

withTimeout(timeout)

"Timeout is the time to wait for any individual Kubernetes operation during\nthe performance of a Helm test action. Defaults to 'HelmReleaseSpec.Timeout'."

obj spec.uninstall

"Uninstall holds the configuration for Helm uninstall actions for this HelmRelease."

fn spec.uninstall.withDeletionPropagation

withDeletionPropagation(deletionPropagation)

"DeletionPropagation specifies the deletion propagation policy when\na Helm uninstall is performed."

fn spec.uninstall.withDisableHooks

withDisableHooks(disableHooks)

"DisableHooks prevents hooks from running during the Helm rollback action."

fn spec.uninstall.withDisableWait

withDisableWait(disableWait)

"DisableWait disables waiting for all the resources to be deleted after\na Helm uninstall is performed."

fn spec.uninstall.withKeepHistory

withKeepHistory(keepHistory)

"KeepHistory tells Helm to remove all associated resources and mark the\nrelease as deleted, but retain the release history."

fn spec.uninstall.withTimeout

withTimeout(timeout)

"Timeout is the time to wait for any individual Kubernetes operation (like\nJobs for hooks) during the performance of a Helm uninstall action. Defaults\nto 'HelmReleaseSpec.Timeout'."

obj spec.upgrade

"Upgrade holds the configuration for Helm upgrade actions for this HelmRelease."

fn spec.upgrade.withCleanupOnFail

withCleanupOnFail(cleanupOnFail)

"CleanupOnFail allows deletion of new resources created during the Helm\nupgrade action when it fails."

fn spec.upgrade.withCrds

withCrds(crds)

"CRDs upgrade CRDs from the Helm Chart's crds directory according\nto the CRD upgrade policy provided here. Valid values are Skip,\nCreate or CreateReplace. Default is Skip and if omitted\nCRDs are neither installed nor upgraded.\n\n\nSkip: do neither install nor replace (update) any CRDs.\n\n\nCreate: new CRDs are created, existing CRDs are neither updated nor deleted.\n\n\nCreateReplace: new CRDs are created, existing CRDs are updated (replaced)\nbut not deleted.\n\n\nBy default, CRDs are not applied during Helm upgrade action. With this\noption users can opt-in to CRD upgrade, which is not (yet) natively supported by Helm.\nhttps://helm.sh/docs/chart_best_practices/custom_resource_definitions."

fn spec.upgrade.withDisableHooks

withDisableHooks(disableHooks)

"DisableHooks prevents hooks from running during the Helm upgrade action."

fn spec.upgrade.withDisableOpenAPIValidation

withDisableOpenAPIValidation(disableOpenAPIValidation)

"DisableOpenAPIValidation prevents the Helm upgrade action from validating\nrendered templates against the Kubernetes OpenAPI Schema."

fn spec.upgrade.withDisableWait

withDisableWait(disableWait)

"DisableWait disables the waiting for resources to be ready after a Helm\nupgrade has been performed."

fn spec.upgrade.withDisableWaitForJobs

withDisableWaitForJobs(disableWaitForJobs)

"DisableWaitForJobs disables waiting for jobs to complete after a Helm\nupgrade has been performed."

fn spec.upgrade.withForce

withForce(force)

"Force forces resource updates through a replacement strategy."

fn spec.upgrade.withPreserveValues

withPreserveValues(preserveValues)

"PreserveValues will make Helm reuse the last release's values and merge in\noverrides from 'Values'. Setting this flag makes the HelmRelease\nnon-declarative."

fn spec.upgrade.withTimeout

withTimeout(timeout)

"Timeout is the time to wait for any individual Kubernetes operation (like\nJobs for hooks) during the performance of a Helm upgrade action. Defaults to\n'HelmReleaseSpec.Timeout'."

obj spec.upgrade.remediation

"Remediation holds the remediation configuration for when the Helm upgrade\naction for the HelmRelease fails. The default is to not perform any action."

fn spec.upgrade.remediation.withIgnoreTestFailures

withIgnoreTestFailures(ignoreTestFailures)

"IgnoreTestFailures tells the controller to skip remediation when the Helm\ntests are run after an upgrade action but fail.\nDefaults to 'Test.IgnoreFailures'."

fn spec.upgrade.remediation.withRemediateLastFailure

withRemediateLastFailure(remediateLastFailure)

"RemediateLastFailure tells the controller to remediate the last failure, when\nno retries remain. Defaults to 'false' unless 'Retries' is greater than 0."

fn spec.upgrade.remediation.withRetries

withRetries(retries)

"Retries is the number of retries that should be attempted on failures before\nbailing. Remediation, using 'Strategy', is performed between each attempt.\nDefaults to '0', a negative integer equals to unlimited retries."

fn spec.upgrade.remediation.withStrategy

withStrategy(strategy)

"Strategy to use for failure remediation. Defaults to 'rollback'."

obj spec.valuesFrom

"ValuesFrom holds references to resources containing Helm values for this HelmRelease,\nand information about how they should be merged."

fn spec.valuesFrom.withKind

withKind(kind)

"Kind of the values referent, valid values are ('Secret', 'ConfigMap')."

fn spec.valuesFrom.withName

withName(name)

"Name of the values referent. Should reside in the same namespace as the\nreferring resource."

fn spec.valuesFrom.withOptional

withOptional(optional)

"Optional marks this ValuesReference as optional. When set, a not found error\nfor the values reference is ignored, but any ValuesKey, TargetPath or\ntransient error will still result in a reconciliation failure."

fn spec.valuesFrom.withTargetPath

withTargetPath(targetPath)

"TargetPath is the YAML dot notation path the value should be merged at. When\nset, the ValuesKey is expected to be a single flat value. Defaults to 'None',\nwhich results in the values getting merged at the root."

fn spec.valuesFrom.withValuesKey

withValuesKey(valuesKey)

"ValuesKey is the data key where the values.yaml or a specific value can be\nfound at. Defaults to 'values.yaml'.\nWhen set, must be a valid Data Key, consisting of alphanumeric characters,\n'-', '_' or '.'."