famous-journalist-11332
07/08/2023, 12:08 AMkubectl delete deployments.apps longhorn-admission-webhook longhorn-conversion-webhook longhorn-recovery-backend -n longhorn-system
Issue 2: We missed updated the webhook logic for orphan CR thus blocking any update to orphan CR. The workaround for this one is:
1. Edit longhorn-webhook-validator
validatingwebhookconfigurations
kubectl -n longhorn-system edit validatingwebhookconfigurations longhorn-webhook-validator
2. Remove UPDATE
from orphans
resources
...
- apiGroups:
- <http://longhorn.io|longhorn.io>
apiVersions:
- v1beta2
operations:
- CREATE
- UPDATE
resources:
- orphans
...
3. Continue the upgrade
---
ref: https://github.com/longhorn/longhorn/issues/6246