How to troubleshoot 'has no deployed releases' error during deployment?

This troubleshooting guide helps you troubleshoot the error ‘has no deployed releases while doing deployment.

Problem

Failed deployment, error message “has no deployed releases”.

Connected Zen-Desk Tickets:

  • Ticket #88 (Upgrade fail from 9.4 to 9.5)

Solution

  1. Execute the following command
kubectl patch secret [name-of-secret-related-to-deployment] --type=merge -p '{"metadata":{"labels":{"status":"deployed"}}}' 
  Source: [https://phoenixnap.com/kb/helm-has-no-deployed-releases](https://phoenixnap.com/kb/helm-has-no-deployed-releases)
  1. After that, execute the upgrage using “force”:
helm upgrade [release name] --force
 Source: [https://phoenixnap.com/kb/helm-has-no-deployed-releases](https://phoenixnap.com/kb/helm-has-no-deployed-releases)
  1. Make necessary changes to the values.yaml helm-chart and save these changes.
Last modified October 5, 2022: Historian article (#107) (5f30dc0)