sentry-kubernetes / charts

Easily deploy Sentry on your Kubernetes Cluster
MIT License
1.09k stars 514 forks source link

Some Deployments are Not Deleted During helm uninstall #1427

Closed patsevanton closed 1 month ago

patsevanton commented 2 months ago

Issue: Some Deployments are Not Deleted During helm uninstall

Description:

When running helm uninstall, several deployments are not deleted, even though they are part of the Helm release. This issue persists despite the Helm release being successfully uninstalled.

Affected Deployments:

The following deployments are not deleted:

Steps to Reproduce:

  1. Install the Helm chart:
    helm install <release-name> <chart-name>
  2. Verify that all deployments are created.
  3. Uninstall the Helm release:
    helm uninstall <release-name>
  4. Check the list of deployments:
    kubectl get deployments

Expected Behavior:

All deployments associated with the Helm release should be deleted upon running helm uninstall.

Actual Behavior:

Several deployments remain undeleted after the Helm release is uninstalled.

patsevanton commented 2 months ago

I tried to add the following annotation to ensure resources are deleted upon Helm uninstallation:

metadata:
  annotations:
    helm.sh/resource-policy: delete

However, the Helm uninstall operation did not delete the existing deployments.

Related Issues:

Mokto commented 1 month ago

This issue is stale because it has been open for 30 days with no activity.