|
| 1 | +# Release notes for v6.0.0 |
| 2 | + |
| 3 | +[Documentation](https://kubernetes-csi.github.io) |
| 4 | + |
| 5 | +# Changelog since v5.0.1 |
| 6 | + |
| 7 | +## Breaking Changes |
| 8 | + |
| 9 | +### API Removal |
| 10 | + |
| 11 | +- Cherry-pick 704: Remove VolumeSnapshot v1beta1 APIs and generated functions. Please update to VolumeSnapshot v1 APIs as soon as possible. ([#709](https://github.com/kubernetes-csi/external-snapshotter/pull/709), [@RaunakShah](https://github.com/RaunakShah)) |
| 12 | + |
| 13 | +## Changes by Kind |
| 14 | + |
| 15 | +### API Change |
| 16 | + |
| 17 | +- Add SourceVolumeMode field to VolumeSnapshotContents. ([#665](https://github.com/kubernetes-csi/external-snapshotter/pull/665), [@RaunakShah](https://github.com/RaunakShah)) |
| 18 | +- Cherry-pick #683: Change SourceVolumeMode type to v1.PersistentVolumeMode. ([#686](https://github.com/kubernetes-csi/external-snapshotter/pull/686), [@RaunakShah](https://github.com/RaunakShah)) |
| 19 | +- Update snapshotter module to v6 and client module to v5. ([#670](https://github.com/kubernetes-csi/external-snapshotter/pull/670), [@RaunakShah](https://github.com/RaunakShah)) |
| 20 | +- Cherry-pick #673: Upgrade Volume Snapshot client to v6. ([#673](https://github.com/kubernetes-csi/external-snapshotter/pull/673), [@RaunakShah](https://github.com/RaunakShah)) |
| 21 | + |
| 22 | +### Feature |
| 23 | + |
| 24 | +#### Snapshot Controller |
| 25 | + |
| 26 | +- Cherry-pick #679: Changes to snapshot controller to add SourceVolumeMode to VolumeSnapshotContents. ([#694](https://github.com/kubernetes-csi/external-snapshotter/pull/694), [@RaunakShah](https://github.com/RaunakShah)) |
| 27 | + |
| 28 | +#### Snapshot Validation Webhook |
| 29 | + |
| 30 | +- Cherry-pick #680: Add webhook to make SourceVolumeMode immutable. ([#701](https://github.com/kubernetes-csi/external-snapshotter/pull/701), [@RaunakShah](https://github.com/RaunakShah)) |
| 31 | +- Cherry-pick 704: Remove validation for VolumeSnapshot v1beta1 API objects from the snapshot validation webhook. ([#709](https://github.com/kubernetes-csi/external-snapshotter/pull/709), [@RaunakShah](https://github.com/RaunakShah)) |
| 32 | +- Cherry-pick #688: Added admission webhook to ensure that only one VolumeSnapshotClass can be default for each CSI driver. To benefit from this validation, please update your webhook configuration as shown in deploy/kubernetes/webhook-example/admission-configuration-template. ([#700](https://github.com/kubernetes-csi/external-snapshotter/pull/700), [@shawn-hurley](https://github.com/shawn-hurley)) |
| 33 | +- Cherry-pick #674: Adding validation for VolumeSnapshotClass to only have a single default for a particular driver. ([#693](https://github.com/kubernetes-csi/external-snapshotter/pull/693), [@shawn-hurley](https://github.com/shawn-hurley)) |
| 34 | +- Cherry-pick #706: Adding RBAC file to webhook example for updated validating webhook. ([#710](https://github.com/kubernetes-csi/external-snapshotter/pull/710), [@shawn-hurley](https://github.com/shawn-hurley)) |
| 35 | + |
| 36 | +### Bug or Regression |
| 37 | + |
| 38 | +#### CSI Snapshotter Sidecar |
| 39 | + |
| 40 | +- Fix a problem in CSI snapshotter sidecar that constantly retries CreateSnapshot call on error without exponential backoff. ([#651](https://github.com/kubernetes-csi/external-snapshotter/pull/651), [@zhucan](https://github.com/zhucan)) |
| 41 | +- Ensure that the CSI snapshotter sidecar allows for CreateSnapshot retries while waiting for a snapshot to be ready. ([#666](https://github.com/kubernetes-csi/external-snapshotter/pull/666), [@pwschuurman](https://github.com/pwschuurman)) |
| 42 | +- Fixes a nil pointer dereference regression introduced in #666. ([#669](https://github.com/kubernetes-csi/external-snapshotter/pull/669), [@pwschuurman](https://github.com/pwschuurman)) |
| 43 | + |
| 44 | +### Other (Cleanup or Flake) |
| 45 | + |
| 46 | +#### CSI Snapshotter Sidecar |
| 47 | + |
| 48 | +- Cherry-pick #689: Remove create and delete access of volumesnapshotcontents resource from csi-snapshotter RBAC as it's no longer required. ([#696](https://github.com/kubernetes-csi/external-snapshotter/pull/696), [@Madhu-1](https://github.com/Madhu-1)) |
| 49 | +- Cherry-pick ([#703](https://github.com/kubernetes-csi/external-snapshotter/pull/703), [@humblec](https://github.com/humblec)): Kube client dependencies are updated to v1.24.0 ([#712](https://github.com/kubernetes-csi/external-snapshotter/pull/712), [@humblec](https://github.com/humblec)) |
| 50 | + |
| 51 | +#### Snapshot Controller |
| 52 | + |
| 53 | +- Remove unnecessary rbac read permissions of storage class resources from snapshot controller deployment. ([#645](https://github.com/kubernetes-csi/external-snapshotter/pull/645), [@iyashu](https://github.com/iyashu)) |
| 54 | +- Cherry-pick ([#703](https://github.com/kubernetes-csi/external-snapshotter/pull/703), [@humblec](https://github.com/humblec)): Kube client dependencies are updated to v1.24.0 ([#712](https://github.com/kubernetes-csi/external-snapshotter/pull/712), [@humblec](https://github.com/humblec)) |
| 55 | + |
| 56 | +#### Snapshot Validation Webhook |
| 57 | + |
| 58 | +- Cherry-pick ([#703](https://github.com/kubernetes-csi/external-snapshotter/pull/703), [@humblec](https://github.com/humblec)): Kube client dependencies are updated to v1.24.0 ([#712](https://github.com/kubernetes-csi/external-snapshotter/pull/712), [@humblec](https://github.com/humblec)) |
| 59 | + |
| 60 | +## Dependencies |
| 61 | + |
| 62 | +### Added |
| 63 | +_Nothing has changed._ |
| 64 | + |
| 65 | +### Changed |
| 66 | +- github.com/google/go-cmp: [v0.5.5 → v0.5.6](https://github.com/google/go-cmp/compare/v0.5.5...v0.5.6) |
| 67 | +- github.com/nxadm/tail: [v1.4.4 → v1.4.8](https://github.com/nxadm/tail/compare/v1.4.4...v1.4.8) |
| 68 | +- github.com/onsi/ginkgo: [v1.14.0 → v1.16.5](https://github.com/onsi/ginkgo/compare/v1.14.0...v1.16.5) |
| 69 | +- github.com/onsi/gomega: [v1.10.1 → v1.17.0](https://github.com/onsi/gomega/compare/v1.10.1...v1.17.0) |
| 70 | +- github.com/prometheus/client_golang: [v1.11.0 → v1.11.1](https://github.com/prometheus/client_golang/compare/v1.11.0...v1.11.1) |
| 71 | +- sigs.k8s.io/yaml: v1.2.0 → v1.3.0 |
| 72 | + |
| 73 | +### Removed |
| 74 | +_Nothing has changed._ |
0 commit comments