kubectl -n kube-system patch configmap [release name].[release version] --type=merge -p '{"metadata":{"labels":{"STATUS":"DEPLOYED"}}}'
Where:
- release name is the name of the release you want to update.
- release version is the current version of your release.
Note: Keep in mind that the solution above only serves to bypass the issue. You still need to make manual adjustments to add the missing resources.
Since Helm 3 stores the deployment history as Kubernetes secrets, use the following command to change the deployment status:
kubectl -n app-namespace patch secret [release name].[release version] --type=merge -p '{"metadata":{"labels":{"status":"deployed"}}}'