## What this PR does It was observed during upgrades to the `cozystack-api` Helm release that when enabling the local endpoint for the traffic locality feature, hence switching from a deployment to a daemonset, the deployment may remain unpruned and the pods of the deployment will continue to run indefinitely. This patch adds a post-upgrade hook that explicitly deletes the deployment in case it exists and was not pruned. ### Release-note ```release-note [api] Delete the cozystack-api deployment in a post-upgrade hook when migrating to a daemonset and vice-versa. ``` Signed-off-by: Timofei Larkin <lllamnyp@gmail.com> |
||
|---|---|---|
| .. | ||
| images/cozystack-api | ||
| templates | ||
| Chart.yaml | ||
| Makefile | ||
| values.yaml | ||