Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions images/snapshot-controller/.cloudbuild.sh
2 changes: 2 additions & 0 deletions images/snapshot-controller/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Compiled binaries and deployment files
/bin/
5 changes: 5 additions & 0 deletions images/snapshot-controller/.prow.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#! /bin/bash

. release-tools/prow.sh

main
23 changes: 23 additions & 0 deletions images/snapshot-controller/CHANGELOG/CHANGELOG-1.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Changelog since v1.0.1

## Deprecations
* Command line flag `--connection-timeout` is deprecated and has no effect.
* Command line flag `--snapshotter` is deprecated and has no effect ([#103](https://github.com/kubernetes-csi/external-snapshotter/pull/103))

## Notable Features
* Add Lease based Leader Election Support ([#107](https://github.com/kubernetes-csi/external-snapshotter/pull/107))
* The external snapshotter now tries to connect to the CSI driver indefinitely ([#92](https://github.com/kubernetes-csi/external-snapshotter/pull/92))
* A new --timeout parameter has been added for CSI operations ([#93](https://github.com/kubernetes-csi/external-snapshotter/pull/93))
* Prow testing ([#111](https://github.com/kubernetes-csi/external-snapshotter/pull/111))

## Other Notable Changes
* Add PR template ([#113](https://github.com/kubernetes-csi/external-snapshotter/pull/113))
* Un-prune code-generator scripts ([#110](https://github.com/kubernetes-csi/external-snapshotter/pull/110))
* Refactor external snapshotter to use csi-lib-utils/rpc ([#97](https://github.com/kubernetes-csi/external-snapshotter/pull/97))
* Fix for pre-bound snapshot empty source error ([#98](https://github.com/kubernetes-csi/external-snapshotter/pull/98))
* Update vendor to k8s 1.14.0 ([#105](https://github.com/kubernetes-csi/external-snapshotter/pull/105))
* Migrate to k8s.io/klog from glog. ([#88](https://github.com/kubernetes-csi/external-snapshotter/pull/88))
* Use distroless as base image ([#101](https://github.com/kubernetes-csi/external-snapshotter/pull/101))
* Remove constraints and update all vendor pkgs ([#100](https://github.com/kubernetes-csi/external-snapshotter/pull/100))
* Add dep prune options and remove unused packages ([#99](https://github.com/kubernetes-csi/external-snapshotter/pull/99))
* Release tools ([#86](https://github.com/kubernetes-csi/external-snapshotter/pull/86))
13 changes: 13 additions & 0 deletions images/snapshot-controller/CHANGELOG/CHANGELOG-1.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changelog since v1.1.0

## Breaking Changes

- Changes the API group name for the fake VolumeSnapshot object to "snapshot.storage.k8s.io" to be in-sync with the group name of the real VolumeSnapshot object. As a result, the generated interfaces for clientset and informers of VolumeSnapshot are also changed from "VolumeSnapshot" to "Snapshot". ([#123](https://github.com/kubernetes-csi/external-snapshotter/pull/123), [@xing-yang](https://github.com/xing-yang))

## New Features

- Adds Finalizer on the snapshot source PVC to prevent it from being deleted when a snapshot is being created from it. ([#47](https://github.com/kubernetes-csi/external-snapshotter/pull/47), [@xing-yang](https://github.com/xing-yang))

## Other Notable Changes

- Add Status subresource for VolumeSnapshot. ([#121](https://github.com/kubernetes-csi/external-snapshotter/pull/121), [@zhucan](https://github.com/zhucan))
45 changes: 45 additions & 0 deletions images/snapshot-controller/CHANGELOG/CHANGELOG-2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# 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](https://github.com/kubernetes-csi/external-snapshotter/pull/182), [@xing-yang](https://github.com/xing-yang))

### Snapshot Controller
- Add a finalizer on VolumeSnapshot object to protect it from being deleted when it is bound to
a VolumeSnapshotContent. ([#182](https://github.com/kubernetes-csi/external-snapshotter/pull/182), [@xing-yang](https://github.com/xing-yang))
- Adds deletion secret as annotation to volume snapshot content. ([#165](https://github.com/kubernetes-csi/external-snapshotter/pull/165), [@xing-yang](https://github.com/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](https://github.com/kubernetes-csi/external-snapshotter/pull/227), [@saad-ali](https://github.com/saad-ali))
- Adds deletion secret as annotation to volume snapshot content. ([#165](https://github.com/kubernetes-csi/external-snapshotter/pull/165), [@xing-yang](https://github.com/xing-yang))

### Breaking Changes

#### API Changes
- Changes VolumeSnapshot CRD version from v1alpha1 to v1beta1. v1alpha1 is no longer supported. ([#139](https://github.com/kubernetes-csi/external-snapshotter/pull/139), [@xing-yang](https://github.com/xing-yang))

#### Snapshot Controller
- Removes createSnapshotContentRetryCount and createSnapshotContentInterval
from command line options. ([#211](https://github.com/kubernetes-csi/external-snapshotter/pull/211), [@xing-yang](https://github.com/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](https://github.com/kubernetes-csi/external-snapshotter/pull/129), [@zhucan](https://github.com/zhucan))

### Bug Fixes

#### Snapshot Controller
- Added extra verification of source PersistentVolumeClaim before creating snapshot. ([#172](https://github.com/kubernetes-csi/external-snapshotter/pull/172), [@xing-yang](https://github.com/xing-yang))
- Fixes issue when SelfLink removal is turned on in Kubernetes. ([#160](https://github.com/kubernetes-csi/external-snapshotter/pull/160), [@msau42](https://github.com/msau42))

#### CSI External-Snapshotter Sidecar
- Snapshotter will no longer call ListSnapshots if the CSI Driver does not support this operation. ([#138](https://github.com/kubernetes-csi/external-snapshotter/pull/138), [@ggriffiths](https://github.com/ggriffiths))
- Fixes issue when SelfLink removal is turned on in Kubernetes. ([#160](https://github.com/kubernetes-csi/external-snapshotter/pull/160), [@msau42](https://github.com/msau42))

### Other Notable Changes

#### Snapshot Controller
- Migrated to Go modules, so the source builds also outside of GOPATH. ([#179](https://github.com/kubernetes-csi/external-snapshotter/pull/179), [@pohly](https://github.com/pohly))

#### CSI External-Snapshotter Sidecar
- Migrated to Go modules, so the source builds also outside of GOPATH. ([#179](https://github.com/kubernetes-csi/external-snapshotter/pull/179), [@pohly](https://github.com/pohly))
- We will now exit the external-snapshotter when the connection to a CSI driver is lost, allowing for another leader to takeover. ([#171](https://github.com/kubernetes-csi/external-snapshotter/pull/171), [@ggriffiths](https://github.com/ggriffiths))
34 changes: 34 additions & 0 deletions images/snapshot-controller/CHANGELOG/CHANGELOG-2.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Changelog since v2.0.0

## New Features

### Snapshot Controller

- The number of worker threads in the snapshot-controller is now configurable via the `worker-threads` flag. ([#282](https://github.com/kubernetes-csi/external-snapshotter/pull/282), [@huffmanca](https://github.com/huffmanca))

### CSI External-Snapshotter Sidecar

- The number of worker threads in the csi-snapshotter is now configurable via the `worker-threads` flag. ([#282](https://github.com/kubernetes-csi/external-snapshotter/pull/282), [@huffmanca](https://github.com/huffmanca))
- Adds support for ListSnapshots secrets ([#252](https://github.com/kubernetes-csi/external-snapshotter/pull/252), [@bells17](https://github.com/bells17))

## Breaking Changes

- Update package path to v2. Vendoring with dep depends on https://github.com/golang/dep/pull/1963 or the workaround described in v2/README.md. ([#240](https://github.com/kubernetes-csi/external-snapshotter/pull/240), [@alex1989hu](https://github.com/alex1989hu))

## Bug Fixes

### Snapshot Controller

- Fixes a problem of not removing the PVC finalizer when it is no longer used by a snapshot as source. ([#283](https://github.com/kubernetes-csi/external-snapshotter/pull/283), [@xing-yang](https://github.com/xing-yang))
- Fixes a problem deleting VolumeSnapshotContent with `Retain` policy for pre-provisioned snapshots. ([#249](https://github.com/kubernetes-csi/external-snapshotter/pull/249), [@xing-yang](https://github.com/xing-yang))
- Allows the volume snapshot to be deleted if the volume snapshot class is not found. ([#275](https://github.com/kubernetes-csi/external-snapshotter/pull/275), [@huffmanca](https://github.com/huffmanca))

### CSI External-Snapshotter Sidecar

- Fixes a create snapshot timeout issue. ([#261](https://github.com/kubernetes-csi/external-snapshotter/pull/261), [@xing-yang](https://github.com/xing-yang))

## Other Notable Changes

### API Changes

- Prints additional details when using kubectl get on VolumeSnapshot, VolumeSnapshotContent, and VolumeSnapshotClass API objects. ([#260](https://github.com/kubernetes-csi/external-snapshotter/pull/260), [@huffmanca](https://github.com/huffmanca))
Loading
Loading