Files
external-snapshotter/CHANGELOG/CHANGELOG-2.0.md
2020-05-09 19:04:38 +00:00

3.7 KiB

Changelog since v1.2.0

New Features

  • Split the external-snapshotter sidecar controller into two controllers, a snapshot-controller and an external-snapshotter sidecar. Only the external-snapshotter sidecar should be deployed with the CSI driver. (#182, @xing-yang)

Snapshot Controller

  • Add a finalizer on VolumeSnapshot object to protect it from being deleted when it is bound to a VolumeSnapshotContent. (#182, @xing-yang)
  • Adds deletion secret as annotation to volume snapshot content. (#165, @xing-yang)

CSI External-Snapshotter Sidecar

  • Add prometheus metrics to CSI external-snapshotter under the /metrics endpoint. This can be enabled via the "--metrics-address" and "--metrics-path" options. (#227, @saad-ali)
  • Adds deletion secret as annotation to volume snapshot content. (#165, @xing-yang)

Breaking Changes

API Changes

  • Changes VolumeSnapshot CRD version from v1alpha1 to v1beta1. v1alpha1 is no longer supported. (#139, @xing-yang)

Snapshot Controller

  • Removes createSnapshotContentRetryCount and createSnapshotContentInterval from command line options. (#211, @xing-yang)

CSI External-Snapshotter Sidecar

  • Add a prefix "external-snapshotter-leader" and the driver name to the snapshotter leader election lock name. Rolling update will not work if leader election is enabled because the lock name is changed in v2.0.0. (#129, @zhucan)

Bug Fixes

Snapshot Controller

  • Added extra verification of source PersistentVolumeClaim before creating snapshot. (#172, @xing-yang)
  • Fixes issue when SelfLink removal is turned on in Kubernetes. (#160, @msau42)

CSI External-Snapshotter Sidecar

  • Snapshotter will no longer call ListSnapshots if the CSI Driver does not support this operation. (#138, @ggriffiths)
  • Fixes issue when SelfLink removal is turned on in Kubernetes. (#160, @msau42)

Other Notable Changes

Snapshot Controller

  • Migrated to Go modules, so the source builds also outside of GOPATH. (#179, @pohly)

CSI External-Snapshotter Sidecar

  • Migrated to Go modules, so the source builds also outside of GOPATH. (#179, @pohly)
  • We will now exit the external-snapshotter when the connection to a CSI driver is lost, allowing for another leader to takeover. (#171, @ggriffiths)