Helm Charts
Helm upgrade failed 解決方式

Table Of Content
情境描述:在上版到 Prod 分支期間發現有些事情沒有做好,使用手動的方式將 CI/CD pipeline 終止了。導致,之後的上版 helm 都沒有辦法
錯誤訊息如下:

在 Local terminal 上使用 helm ls 會發現 helm 沒有部署成功

需要使用 helm history 做 rollback
helm history <release> --namespace <namespace>

接著使用 helm rollback
helm rollback <release> <revision> --namespace <namespace>

總結:CI/CD pipeline Helm chart 在 Upgrade 或是 Install 時,不要手動的終止。
參考資源