Skip to content

Uninstalling Helm releases only works when the name of the release ends with the name of the chart #3021

@datho7561

Description

@datho7561

Let's say you create a Helm release called my-janus, based on the backstage Helm chart from the OpenShift Helm repository:

helm-release-uninstall-pt1

It will appear in the "Application Explorer" panel as my-janus-backstage:

helm-release-uninstall-pt2

If you attempt to use the context menu to uninstall the Helm release:

helm-release-uninstall-pt3

Then nothing happens.

This is because the command is trying to uninstall the release my-janus-backstage, but the release is called my-janus. However, if you name the release my-janus-backstage, then the uninstall works.

The root cause is that the item that appears in the "Application Explorer" isn't the Helm release, it's a deployment created by the Helm chart, which is only one of the components making up the Helm release. In order to address this issue, we should list Helm releases in the "Application Explorer" tree view.

You can run helm list -o json to get a JSON list of the Helm releases for the current namespace.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions