helm_uninstall(name, kubernetes_context, namespace, namespace_dep, release_name, wait)
Uninstall a helm release.
To load the rule use:
load("//helm:defs.bzl", "helm_uninstall")
This rule builds an executable. Use run
instead of build
to be uninstall the helm release.
ATTRIBUTES
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
name | A unique name for this target. | Name | required | |
kubernetes_context | Reference to a kubernetes context file tu be used by helm binary. | Label | optional | None |
namespace | The namespace where the helm release is installed. | String | optional | "" |
namespace_dep | A reference to a k8s_namespace rule from where to extract the namespace where the helm release is installed. |
Label | optional | None |
release_name | The name of the helm release to be installed or upgraded. | String | required | |
wait | Helm flag to wait for all resources to be created to exit. | Boolean | optional | True |