Skip to content

Synology CSI Chart 0.11.1

Latest

Choose a tag to compare

@christian-schlichtherle christian-schlichtherle released this 11 Mar 21:54
· 1 commit to main since this release
c323820

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/template label was included in spec.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.yamlnode_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