Helm Delete Step
Overview
The Harness Helm Delete Step allows users to uninstall Helm releases within a pipeline execution. This step does not require a service but must be executed in an environment/infrastructure that supports Helm natively. It provides flexibility by allowing users to manually specify the release name or retrieve it from the selected infrastructure.
This step is useful in scenarios where Helm-based applications need to be removed as part of cleanup processes, rollback strategies, or custom pipeline workflows.
Currently, this feature is behind the feature flag CDS_HELM_DELETE_STEP
. Contact Harness Support to enable the feature.
When to Use This Step
- Uninstalling Helm releases as part of a deployment rollback.
- Cleaning up resources in custom pipeline workflows.
- Removing specific Helm deployments without requiring a full service definition.
How to Configure the Helm Delete Step
- Navigate to your Pipeline and add a new Deploy Stage.
- Under Deployment Type, select Native Helm.
- For Service, use the same service that was used for the Helm deployment.
- For Environment, use the same environment that was used for the Helm deployment.
- In Execution, choose any execution strategy. Since the Helm Delete Step must be added separately:
- Click on Add Step.
- Select Helm Delete.
- Save and Execute the pipeline.

Step Configuration Options
-
Name: The name for the deploy step.
-
Timeout: The timeout duration for this step. You can specify:
w
for weeksd
for daysh
for hoursm
for minutess
for secondsms
for milliseconds
-
Dry-Run: A
--dry-run
checkbox is available for safer execution of destructive operations, allowing users to preview the changes before applying them. -
Release Name: The name of the Helm release to be deleted. Users can specify this manually or leave it blank to automatically retrieve the release name from the selected infrastructure.
The release name supports Runtime input and expressions.
Optional Configuration
-
Command Flags: Users can add or remove Helm flags as needed within the step configuration. For a complete list of supported command flags, refer to the Helm Documentation.
-
Environment Variables: Add any environment variables here.
Limitations
- Helm v2 is not supported.
- The Helm delete command behavior depends on Helm v3 flags, which vary based on the release.
- Users must have an environment/infrastructure that natively supports Helm.
Conclusion
The Harness Helm Delete Step provides a structured way to uninstall Helm releases within pipelines, offering flexibility in execution and customization. With support for runtime inputs, flags, and dry-run execution, this step helps teams safely manage their Helm-based deployments.