Skip to content

Commit 298cb96

Browse files
authored
Merge pull request #239 from jsafrane/prepare-v3
Prepare v3 release
2 parents c8128b1 + 92de65d commit 298cb96

27 files changed

+130
-42
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

CHANGELOG/CHANGELOG-3.0.md

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
# Release notes for v3.0.0
2+
3+
[Documentation](https://kubernetes-csi.github.io/docs/)
4+
5+
# Changelog since v2.2.0
6+
7+
## Urgent Upgrade Notes
8+
9+
### (No, really, you MUST read this before you upgrade)
10+
11+
- Update volumeAttachment to v1.
12+
- RBAC policy was updated to allow the external-attacher to patch VolumeAttachment.Status ([#200](https://github.com/kubernetes-csi/external-attacher/pull/200), [@cwdsuzhou](https://github.com/cwdsuzhou))
13+
- Use GA version of CSINode object. The external-attacher now requires Kubernetes 1.17. ([#193](https://github.com/kubernetes-csi/external-attacher/pull/193), [@bertinatto](https://github.com/bertinatto))
14+
15+
## Changes by Kind
16+
17+
### Feature
18+
19+
- Added support for migration of Kubernetes in-tree VMware volumes to CSI. ([#236](https://github.com/kubernetes-csi/external-attacher/pull/236), [@divyenpatel](https://github.com/divyenpatel))
20+
21+
### Bug or Regression
22+
23+
- Use dedicated Kubernetes client for leader election that does not get throttled when the external-attacher is under heavy load. ([#242](https://github.com/kubernetes-csi/external-attacher/pull/242), [@jsafrane](https://github.com/jsafrane))
24+
25+
### Uncategorized
26+
27+
- Publishing of images on k8s.gcr.io ([#231](https://github.com/kubernetes-csi/external-attacher/pull/231), [@pohly](https://github.com/pohly))
28+
- Updated client-go to v0.18 ([#221](https://github.com/kubernetes-csi/external-attacher/pull/221), [@humblec](https://github.com/humblec))
29+
30+
## Dependencies
31+
32+
### Added
33+
- cloud.google.com/go/bigquery: v1.0.1
34+
- cloud.google.com/go/datastore: v1.0.0
35+
- cloud.google.com/go/pubsub: v1.0.1
36+
- cloud.google.com/go/storage: v1.0.0
37+
- dmitri.shuralyov.com/gpu/mtl: 666a987
38+
- github.com/BurntSushi/xgb: [27f1227](https://github.com/BurntSushi/xgb/tree/27f1227)
39+
- github.com/chzyer/logex: [v1.1.10](https://github.com/chzyer/logex/tree/v1.1.10)
40+
- github.com/chzyer/readline: [2972be2](https://github.com/chzyer/readline/tree/2972be2)
41+
- github.com/chzyer/test: [a1ea475](https://github.com/chzyer/test/tree/a1ea475)
42+
- github.com/cncf/udpa/go: [269d4d4](https://github.com/cncf/udpa/go/tree/269d4d4)
43+
- github.com/docopt/docopt-go: [ee0de3b](https://github.com/docopt/docopt-go/tree/ee0de3b)
44+
- github.com/go-gl/glfw/v3.3/glfw: [12ad95a](https://github.com/go-gl/glfw/v3.3/glfw/tree/12ad95a)
45+
- github.com/google/renameio: [v0.1.0](https://github.com/google/renameio/tree/v0.1.0)
46+
- github.com/ianlancetaylor/demangle: [5e5cf60](https://github.com/ianlancetaylor/demangle/tree/5e5cf60)
47+
- github.com/kubernetes-csi/csi-test/v3: [v3.1.0](https://github.com/kubernetes-csi/csi-test/v3/tree/v3.1.0)
48+
- github.com/robertkrimen/otto: [c382bd3](https://github.com/robertkrimen/otto/tree/c382bd3)
49+
- github.com/rogpeppe/go-internal: [v1.3.0](https://github.com/rogpeppe/go-internal/tree/v1.3.0)
50+
- golang.org/x/image: cff245a
51+
- golang.org/x/mobile: d2bd2a2
52+
- golang.org/x/mod: c90efee
53+
- golang.org/x/xerrors: 9bdfabe
54+
- google.golang.org/protobuf: v1.24.0
55+
- gopkg.in/errgo.v2: v2.1.0
56+
- gopkg.in/sourcemap.v1: v1.0.5
57+
- k8s.io/klog/v2: v2.2.0
58+
- rsc.io/binaryregexp: v0.2.0
59+
- rsc.io/quote/v3: v3.1.0
60+
- rsc.io/sampler: v1.3.0
61+
- sigs.k8s.io/structured-merge-diff/v3: 43c19bb
62+
63+
### Changed
64+
- cloud.google.com/go: v0.38.0 → v0.51.0
65+
- github.com/Azure/go-autorest/autorest/adal: [v0.5.0 → v0.8.2](https://github.com/Azure/go-autorest/autorest/adal/compare/v0.5.0...v0.8.2)
66+
- github.com/Azure/go-autorest/autorest/date: [v0.1.0 → v0.2.0](https://github.com/Azure/go-autorest/autorest/date/compare/v0.1.0...v0.2.0)
67+
- github.com/Azure/go-autorest/autorest/mocks: [v0.2.0 → v0.3.0](https://github.com/Azure/go-autorest/autorest/mocks/compare/v0.2.0...v0.3.0)
68+
- github.com/Azure/go-autorest/autorest: [v0.9.0 → v0.9.6](https://github.com/Azure/go-autorest/autorest/compare/v0.9.0...v0.9.6)
69+
- github.com/elazarl/goproxy: [c4fc265 → 947c36d](https://github.com/elazarl/goproxy/compare/c4fc265...947c36d)
70+
- github.com/envoyproxy/go-control-plane: [5f8ba28 → v0.9.4](https://github.com/envoyproxy/go-control-plane/compare/5f8ba28...v0.9.4)
71+
- github.com/fsnotify/fsnotify: [v1.4.7 → v1.4.9](https://github.com/fsnotify/fsnotify/compare/v1.4.7...v1.4.9)
72+
- github.com/go-logr/logr: [v0.1.0 → v0.2.0](https://github.com/go-logr/logr/compare/v0.1.0...v0.2.0)
73+
- github.com/gogo/protobuf: [65acae2 → v1.3.1](https://github.com/gogo/protobuf/compare/65acae2...v1.3.1)
74+
- github.com/golang/groupcache: [5b532d6 → 215e871](https://github.com/golang/groupcache/compare/5b532d6...215e871)
75+
- github.com/golang/mock: [v1.2.0 → v1.4.3](https://github.com/golang/mock/compare/v1.2.0...v1.4.3)
76+
- github.com/golang/protobuf: [v1.3.2 → v1.4.2](https://github.com/golang/protobuf/compare/v1.3.2...v1.4.2)
77+
- github.com/google/go-cmp: [v0.3.0 → v0.4.0](https://github.com/google/go-cmp/compare/v0.3.0...v0.4.0)
78+
- github.com/google/gofuzz: [v1.0.0 → v1.1.0](https://github.com/google/gofuzz/compare/v1.0.0...v1.1.0)
79+
- github.com/google/pprof: [3ea8567 → d4f498a](https://github.com/google/pprof/compare/3ea8567...d4f498a)
80+
- github.com/googleapis/gax-go/v2: [v2.0.4 → v2.0.5](https://github.com/googleapis/gax-go/v2/compare/v2.0.4...v2.0.5)
81+
- github.com/googleapis/gnostic: [v0.2.0 → v0.4.1](https://github.com/googleapis/gnostic/compare/v0.2.0...v0.4.1)
82+
- github.com/imdario/mergo: [v0.3.7 → v0.3.9](https://github.com/imdario/mergo/compare/v0.3.7...v0.3.9)
83+
- github.com/json-iterator/go: [v1.1.8 → v1.1.10](https://github.com/json-iterator/go/compare/v1.1.8...v1.1.10)
84+
- github.com/jstemmer/go-junit-report: [af01ea7 → v0.9.1](https://github.com/jstemmer/go-junit-report/compare/af01ea7...v0.9.1)
85+
- github.com/konsorten/go-windows-terminal-sequences: [v1.0.1 → v1.0.2](https://github.com/konsorten/go-windows-terminal-sequences/compare/v1.0.1...v1.0.2)
86+
- github.com/kr/pretty: [v0.1.0 → v0.2.0](https://github.com/kr/pretty/compare/v0.1.0...v0.2.0)
87+
- github.com/onsi/ginkgo: [v1.10.2 → v1.11.0](https://github.com/onsi/ginkgo/compare/v1.10.2...v1.11.0)
88+
- github.com/onsi/gomega: [v1.7.0 → v1.7.1](https://github.com/onsi/gomega/compare/v1.7.0...v1.7.1)
89+
- github.com/pkg/errors: [v0.8.1 → v0.9.1](https://github.com/pkg/errors/compare/v0.8.1...v0.9.1)
90+
- github.com/sirupsen/logrus: [v1.2.0 → v1.4.2](https://github.com/sirupsen/logrus/compare/v1.2.0...v1.4.2)
91+
- go.opencensus.io: v0.21.0 → v0.22.2
92+
- golang.org/x/crypto: 60c769a → bac4c82
93+
- golang.org/x/exp: 509febe → da58074
94+
- golang.org/x/lint: d0100b6 → fdd1cda
95+
- golang.org/x/net: c0dbc17 → d3edc99
96+
- golang.org/x/oauth2: 0f29369 → 858c2ad
97+
- golang.org/x/sync: 1122301 → cd5d95a
98+
- golang.org/x/sys: 0732a99 → ed371f2
99+
- golang.org/x/text: v0.3.2 → v0.3.3
100+
- golang.org/x/time: 9d24e82 → 555d28b
101+
- golang.org/x/tools: 2c0ae70 → 7b8e75d
102+
- google.golang.org/api: v0.4.0 → v0.15.0
103+
- google.golang.org/appengine: v1.5.0 → v1.6.5
104+
- google.golang.org/genproto: 5c49e3e → cb27e3a
105+
- google.golang.org/grpc: v1.26.0 → v1.28.0
106+
- gopkg.in/check.v1: 788fd78 → 41f04d3
107+
- gopkg.in/yaml.v2: v2.2.4 → v2.2.8
108+
- honnef.co/go/tools: ea95bdf → v0.0.1-2019.2.3
109+
- k8s.io/api: v0.17.0 → v0.19.0-rc.2
110+
- k8s.io/apimachinery: v0.17.1-beta.0 → v0.19.0-rc.2
111+
- k8s.io/client-go: v0.17.0 → v0.19.0-rc.2
112+
- k8s.io/csi-translation-lib: v0.17.0 → v0.19.0-rc.2
113+
- k8s.io/gengo: 0689ccc → 3a45101
114+
- k8s.io/kube-openapi: 30be4d1 → 656914f
115+
- k8s.io/utils: e782cd3 → 0bdb4ca
116+
- sigs.k8s.io/yaml: v1.1.0 → v1.2.0
117+
118+
### Removed
119+
- github.com/kubernetes-csi/csi-test: [v2.0.0+incompatible](https://github.com/kubernetes-csi/csi-test/tree/v2.0.0)

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ The external-attacher is an external controller that monitors `VolumeAttachment`
1919

2020
This information reflects the head of this branch.
2121

22-
| Compatible with CSI Version | Container Image | [Min K8s Version](https://kubernetes-csi.github.io/docs/kubernetes-compatibility.html#minimum-version) | [Recommended K8s Version](https://kubernetes-csi.github.io/docs/kubernetes-compatibility.html#recommended-version) |
23-
| ------------------------------------------------------------------------------------------ | ----------------------------| ---- | ---- |
24-
| [CSI Spec v1.2.0](https://github.com/container-storage-interface/spec/releases/tag/v1.2.0) | quay.io/k8scsi/csi-attacher | 1.14 | 1.17 |
22+
| Compatible with CSI Version | Container Image | [Min K8s Version](https://kubernetes-csi.github.io/docs/kubernetes-compatibility.html#minimum-version) | [Recommended K8s Version](https://kubernetes-csi.github.io/docs/kubernetes-compatibility.html#recommended-version) |
23+
| ------------------------------------------------------------------------------------------ | ------------------------------------| ---- | ---- |
24+
| [CSI Spec v1.2.0](https://github.com/container-storage-interface/spec/releases/tag/v1.2.0) | k8s.gcr.io/sig-storage/csi-attacher | 1.17 | 1.17 |
2525

2626
## Feature Status
2727

cmd/csi-attacher/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ import (
3636
"github.com/kubernetes-csi/csi-lib-utils/leaderelection"
3737
"github.com/kubernetes-csi/csi-lib-utils/metrics"
3838
"github.com/kubernetes-csi/csi-lib-utils/rpc"
39-
"github.com/kubernetes-csi/external-attacher/v2/pkg/attacher"
40-
"github.com/kubernetes-csi/external-attacher/v2/pkg/controller"
39+
"github.com/kubernetes-csi/external-attacher/pkg/attacher"
40+
"github.com/kubernetes-csi/external-attacher/pkg/controller"
4141
"google.golang.org/grpc"
4242
)
4343

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
module github.com/kubernetes-csi/external-attacher/v2
1+
module github.com/kubernetes-csi/external-attacher
22

3-
go 1.13
3+
go 1.14
44

55
require (
66
github.com/container-storage-interface/spec v1.2.0

pkg/controller/csi_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"sync"
2424
"time"
2525

26-
"github.com/kubernetes-csi/external-attacher/v2/pkg/attacher"
26+
"github.com/kubernetes-csi/external-attacher/pkg/attacher"
2727
v1 "k8s.io/api/core/v1"
2828
storage "k8s.io/api/storage/v1"
2929
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

pkg/controller/csi_handler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"testing"
2323
"time"
2424

25-
"github.com/kubernetes-csi/external-attacher/v2/pkg/attacher"
25+
"github.com/kubernetes-csi/external-attacher/pkg/attacher"
2626

2727
v1 "k8s.io/api/core/v1"
2828
storage "k8s.io/api/storage/v1"

pkg/controller/framework_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727

2828
"github.com/container-storage-interface/spec/lib/go/csi"
2929
"github.com/davecgh/go-spew/spew"
30-
"github.com/kubernetes-csi/external-attacher/v2/pkg/attacher"
30+
"github.com/kubernetes-csi/external-attacher/pkg/attacher"
3131

3232
v1 "k8s.io/api/core/v1"
3333
storage "k8s.io/api/storage/v1"

pkg/controller/trivial_handler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"errors"
2121
"testing"
2222

23-
"github.com/kubernetes-csi/external-attacher/v2/pkg/attacher"
23+
"github.com/kubernetes-csi/external-attacher/pkg/attacher"
2424

2525
storage "k8s.io/api/storage/v1"
2626
apierrors "k8s.io/apimachinery/pkg/api/errors"

v2/README.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

v2/cmd/csi-attacher/main.go

Lines changed: 0 additions & 1 deletion
This file was deleted.

v2/pkg/attacher/attacher.go

Lines changed: 0 additions & 1 deletion
This file was deleted.

v2/pkg/attacher/attacher_test.go

Lines changed: 0 additions & 1 deletion
This file was deleted.

v2/pkg/attacher/lister.go

Lines changed: 0 additions & 1 deletion
This file was deleted.

v2/pkg/controller/controller.go

Lines changed: 0 additions & 1 deletion
This file was deleted.

v2/pkg/controller/controller_test.go

Lines changed: 0 additions & 1 deletion
This file was deleted.

v2/pkg/controller/csi_handler.go

Lines changed: 0 additions & 1 deletion
This file was deleted.

v2/pkg/controller/csi_handler_test.go

Lines changed: 0 additions & 1 deletion
This file was deleted.

v2/pkg/controller/framework_test.go

Lines changed: 0 additions & 1 deletion
This file was deleted.

v2/pkg/controller/trivial_handler.go

Lines changed: 0 additions & 1 deletion
This file was deleted.

v2/pkg/controller/trivial_handler_test.go

Lines changed: 0 additions & 1 deletion
This file was deleted.

v2/pkg/controller/util.go

Lines changed: 0 additions & 1 deletion
This file was deleted.

v2/pkg/controller/util_test.go

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)