·
1 commit
to main
since this release
This patch release fixes a breaking upgrade issue introduced in 0.11.0.
Fixes
- Fixed upgrade failures due to mutable selector labels — The
helm.sh/templatelabel was included inspec.selector.matchLabels, which is immutable on DaemonSets and StatefulSets. When template files were reorganized into subdirectories in 0.11.0, the label value changed (e.g.,node.yaml→node_daemonset.yaml), causing Kubernetes to reject the update. The label has been removed from selector labels entirely to prevent this class of issue in the future. (#29)
Upgrade notes
Upgrading from any prior version requires deleting the existing workloads first, because the immutable spec.selector.matchLabels has changed. Use --cascade=orphan to keep pods running during the upgrade:
kubectl delete statefulset <release>-synology-csi-controller --cascade=orphan -n <namespace>
kubectl delete statefulset <release>-synology-csi-snapshotter --cascade=orphan -n <namespace>
kubectl delete daemonset <release>-synology-csi-node --cascade=orphan -n <namespace>
helm upgrade <release> synology-csi/synology-csi -n <namespace>Contributors
- @tsndqst — reporting the upgrade issue