Skip to content

Commit

Permalink
docs: add procedure for 1.3.0 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
donch committed Sep 6, 2023
1 parent d5b4657 commit a89bf2f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,19 @@ helm upgrade --install \
--set cachedImagesExpiryDelay=90
```

## Upgrading

### From 1.2.0 to 1.3.0

In v1.3.0, we removed the finalizer `pod.kuik.enix.io/finalizer` from pods that were rewritten by Kuik.

To avoid having these pods stuck in `Terminating` state after a delete action or a rolling update, you will need to manually remove the finalizer from these pods once you upgrade to 1.3.0.
This can be achieved using the following command:

```
kubectl get pods --all-namespaces -l kuik.enix.io/images-rewritten=true -o json | jq '.items[].metadata.finalizers=null' | kubectl replace -f -
```

## Advanced usage

### Pod filtering
Expand Down

0 comments on commit a89bf2f

Please sign in to comment.