Skip to content

Commit

Permalink
Merge pull request kubernetes-csi#12 from jsafrane/rebase-v2.0.0
Browse files Browse the repository at this point in the history
Rebase to v2.0.0
  • Loading branch information
openshift-merge-robot authored Jan 8, 2020
2 parents a5adc1e + 65107d9 commit 395573c
Show file tree
Hide file tree
Showing 2,124 changed files with 380,823 additions and 368,869 deletions.
2 changes: 2 additions & 0 deletions .prow.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#! /bin/bash

CSI_PROW_TESTS="unit"

. release-tools/prow.sh

main
12 changes: 0 additions & 12 deletions CHANGELOG-1.2.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
# Changelog since v1.2.1

## Notable Changes

- Cherry picks PR #172: Added extra verification of source PersistentVolumeClaim before creating snapshot.([#173](https://github.com/kubernetes-csi/external-snapshotter/pull/173), [@xing-yang](https://github.com/xing-yang))

# Changelog since v1.2.0

## Notable Changes

- Cherry picks PR #138: Prebound snapshots will work correctly with CSI drivers that does not support ListSnasphots.([#156](https://github.com/kubernetes-csi/external-snapshotter/pull/156), [@hakanmemisoglu](https://github.com/hakanmemisoglu))

# Changelog since v1.1.0

## Breaking Changes
Expand Down
45 changes: 45 additions & 0 deletions 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))
6 changes: 0 additions & 6 deletions Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile.openshift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.12 AS builder
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.13 AS builder
WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
COPY . .
RUN make build
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.openshift.rhel7
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.svc.ci.openshift.org/ocp/builder:golang-1.12 AS builder
FROM registry.svc.ci.openshift.org/ocp/builder:golang-1.13 AS builder
WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
COPY . .
RUN make build
Expand Down
Loading

0 comments on commit 395573c

Please sign in to comment.