Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
84333bc
change image pullpolicy from Always to IfNotPresent
Madhu-1 Aug 13, 2020
a2666d1
Fix image name for example webhook, and other nitpicks
bswartz Sep 22, 2020
e02d45a
Merge pull request #378 from bswartz/webhook-nitpicks
k8s-ci-robot Sep 23, 2020
73f72bd
Fix panic when source PVC does not exist
jsafrane Sep 29, 2020
9b5b601
Merge pull request #381 from jsafrane/fix-nil-default-class
k8s-ci-robot Sep 30, 2020
fa12fa9
Upgrade csi-lib-utils to 0.8.1
Jiawei0227 Oct 2, 2020
0a5839e
Merge pull request #387 from Jiawei0227/csilibupgrade
k8s-ci-robot Oct 2, 2020
67f729c
release-tools: update
Jiawei0227 Oct 6, 2020
a9a39cd
Merge pull request #391 from Jiawei0227/prow-update-master
k8s-ci-robot Oct 6, 2020
8cf2d5d
Workaround for job failure due to update in distroless base image
namrata-ibm Oct 8, 2020
731f140
update hyperlink for snaphshot validation webhook
boddumanohar Oct 9, 2020
faa0aa0
Merge pull request #397 from boddumanohar/master
k8s-ci-robot Oct 9, 2020
fff475c
Merge pull request #396 from linux-on-ibm-z/distroless
k8s-ci-robot Oct 9, 2020
f705b23
Pass snapshot metadata to CSI driver
chrishenzie Sep 11, 2020
8418456
Merge pull request #375 from chrishenzie/pass-metadata
k8s-ci-robot Oct 14, 2020
315bde3
Revert to multiarch distroless base image
namrata-ibm Oct 21, 2020
1e7a896
Merge pull request #405 from linux-on-ibm-z/distroless-revert
k8s-ci-robot Oct 23, 2020
91bc0c8
Squashed 'release-tools/' changes from 3041b8a4..4aff857d
pohly Oct 27, 2020
f3f0ae3
Merge commit '91bc0c8f98c19aa5551969afc8621afeb48911a8' into prow-upd…
pohly Oct 27, 2020
a525683
Merge pull request #408 from pohly/prow-update-master
k8s-ci-robot Oct 27, 2020
5d52b74
add instructions on creating volume snapshot quota for CRs
boddumanohar Oct 28, 2020
6c162d1
Merge pull request #410 from boddumanohar/master
k8s-ci-robot Oct 30, 2020
b9139fa
Allow creation of snapshot content if pvc finalizer exists,
RaunakShah Oct 30, 2020
23b415b
Merge pull request #413 from RaunakShah/pvcfinalizer_fix
k8s-ci-robot Oct 31, 2020
0f3fa91
Don't check for snapshotClass when deleting content
huffmanca Nov 6, 2020
e56a75b
Merge pull request #423 from huffmanca/adjust-content-deletion
k8s-ci-robot Nov 6, 2020
9e21c62
Move snapshot APIs and client to v1 (no controller changes)
xing-yang Nov 2, 2020
24a2aa8
Address review comments
xing-yang Nov 10, 2020
606d304
Merge pull request #419 from xing-yang/only_api
k8s-ci-robot Nov 11, 2020
fb668d1
Merge commit 'fae14210b99fc2ec25dedebd4172ec8d27864468' into update_r…
xing-yang Nov 14, 2020
fae1421
Squashed 'release-tools/' changes from 4aff857d..5d874cce
xing-yang Nov 14, 2020
1e5a7ef
Merge pull request #426 from xing-yang/update_release_tools
k8s-ci-robot Nov 16, 2020
d61b728
Merge pull request #357 from Madhu-1/change-pull-policy
k8s-ci-robot Nov 18, 2020
b457b08
Add certwatcher to webhook server
ggriffiths Nov 17, 2020
114b65e
Merge commit 'a6565f3dd4a7ab53f2d62b68f21589ffad30b600' into release_…
xing-yang Nov 19, 2020
a6565f3
Squashed 'release-tools/' changes from 5d874cce..c6a88c6e
xing-yang Nov 19, 2020
8751eb0
Merge pull request #430 from xing-yang/release_tools2
k8s-ci-robot Nov 19, 2020
6f237c2
using csi driver from PV instead of from StorageClass
yuxiangqian Nov 17, 2020
95f3197
Merge pull request #429 from ggriffiths/webhook_certwatcher_changes
k8s-ci-robot Dec 2, 2020
684a1d3
Merge pull request #428 from yuxiangqian/pv-drivername
k8s-ci-robot Dec 2, 2020
941821b
Add snapshot controller metrics
ggriffiths Oct 7, 2020
5caa4bb
Merge pull request #409 from ggriffiths/snapshot_controller_metrics
k8s-ci-robot Dec 3, 2020
7efebbe
Switch to klog/v2
xing-yang Nov 3, 2020
6761111
Bump csi-lib-utils to v0.9.0
xing-yang Dec 4, 2020
29eced0
Merge pull request #439 from xing-yang/csi-lib-utils_0.9
k8s-ci-robot Dec 7, 2020
997795d
Increase resync-period default to 15 minutes
ggriffiths Dec 10, 2020
09c2251
Merge pull request #447 from ggriffiths/resyncperiod_increase_15min
k8s-ci-robot Dec 10, 2020
5069c99
Update controller based on snapshot v1 apis
xing-yang Nov 12, 2020
b55e1f9
Merge pull request #425 from xing-yang/only_controller
k8s-ci-robot Dec 14, 2020
730e6f6
Update to client/v4
xing-yang Dec 14, 2020
a9a28d8
Merge pull request #451 from xing-yang/master
k8s-ci-robot Dec 14, 2020
e22364e
Bump dependencies to Kubernetes 1.20
xing-yang Dec 14, 2020
29b01ac
Merge pull request #450 from xing-yang/update_dep_1.20
k8s-ci-robot Dec 15, 2020
2a7c550
Change ReadyToUse in Snapshot based on caller input
xing-yang Dec 2, 2020
a2789f0
Add changelog for release 4.0
xing-yang Dec 16, 2020
e228b3b
Merge pull request #433 from xing-yang/fix_ready_status
k8s-ci-robot Dec 17, 2020
03046a3
Merge pull request #453 from xing-yang/changelog_v4.0
k8s-ci-robot Dec 17, 2020
7e83f24
Update README
xing-yang Dec 17, 2020
56f8ca5
Merge pull request #454 from xing-yang/readme_ga
k8s-ci-robot Dec 18, 2020
53d6d33
Clarify instructions about validation webhook
xing-yang Dec 18, 2020
4893f4a
Squashed 'release-tools/' changes from c6a88c6e..3b6d17b1
pohly Dec 18, 2020
5508635
Merge commit '4893f4a6a006882f0d2989d40b152cfad578c2e0' into prow-upd…
pohly Dec 18, 2020
89d0a2a
Merge pull request #458 from pohly/prow-update-master
k8s-ci-robot Dec 18, 2020
8145ca4
Merge pull request #457 from xing-yang/update_readme_ga
k8s-ci-robot Dec 18, 2020
b1f5277
Merge tag 'v4.0.0' into rebase-v4.0.0
jsafrane Jan 4, 2021
e302d92
UPSTREAM: <carry>: Update to 4.7 base images
jsafrane Jan 4, 2021
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
  •  
  •  
  •  
52 changes: 0 additions & 52 deletions CHANGELOG/CHANGELOG-3.0.md
Original file line number Diff line number Diff line change
@@ -1,55 +1,3 @@
# Release notes for v3.0.2

[Documentation](https://kubernetes-csi.github.io)

# Changelog since v3.0.1

## Changes by Kind

### Bug or Regression

- Cherry-pick from https://github.com/kubernetes-csi/external-snapshotter/pull/413. Bug fix to allow creation of snapshot content if pvc finalizer exists, even if pvc is marked for deletion. ([#414](https://github.com/kubernetes-csi/external-snapshotter/pull/414), [@RaunakShah](https://github.com/RaunakShah))

- Cherry-pick PR ([#381](https://github.com/kubernetes-csi/external-snapshotter/pull/381), [@jsafrane](https://github.com/jsafrane)). Fix crash of snapshot-controller when source PVC of a snapshot to take does not exist. ([#416](https://github.com/kubernetes-csi/external-snapshotter/pull/416), [@xing-yang](https://github.com/xing-yang)).

## Dependencies

### Added
_Nothing has changed._

### Changed
_Nothing has changed._

### Removed
_Nothing has changed._


# Release notes for v3.0.1

[Documentation](https://kubernetes-csi.github.io)

# Changelog since v3.0.0

## Changes by Kind

### Bug or Regression

- Cherry-pick from https://github.com/kubernetes-csi/external-snapshotter/pull/387. Add `process_start_time_seconds` metric so that we can properly extrapolate the beginning part of the histogram data. ([#388](https://github.com/kubernetes-csi/external-snapshotter/pull/388), [@Jiawei0227](https://github.com/Jiawei0227))

## Dependencies

### Added
_Nothing has changed._

### Changed
- github.com/kubernetes-csi/csi-lib-utils: [v0.7.0 → v0.8.1](https://github.com/kubernetes-csi/csi-lib-utils/compare/v0.7.0...v0.8.1)
- github.com/stretchr/testify: [v1.4.0 → v1.5.1](https://github.com/stretchr/testify/compare/v1.4.0...v1.5.1)
- google.golang.org/grpc: v1.28.0 → v1.29.0

### Removed
_Nothing has changed._


# Release notes for v3.0.0

[Documentation](https://kubernetes-csi.github.io)
Expand Down
276 changes: 276 additions & 0 deletions CHANGELOG/CHANGELOG-4.0.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Dockerfile.snapshot-controller.openshift
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
COPY . .
RUN make build

FROM registry.svc.ci.openshift.org/openshift/origin-v4.6:base
FROM registry.svc.ci.openshift.org/openshift/origin-v4.7:base
COPY --from=builder /go/src/github.com/kubernetes-csi/external-snapshotter/bin/snapshot-controller /usr/bin/
ENTRYPOINT ["/usr/bin/snapshot-controller"]
113 changes: 82 additions & 31 deletions README.md

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions client/apis/volumesnapshot/v1/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
Copyright 2018 The Kubernetes Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

// +k8s:deepcopy-gen=package
// +groupName=snapshot.storage.k8s.io

package v1
58 changes: 58 additions & 0 deletions client/apis/volumesnapshot/v1/register.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/*
Copyright 2018 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package v1

import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
)

// GroupName is the group name use in this package.
const GroupName = "snapshot.storage.k8s.io"

var (
// SchemeBuilder is the new scheme builder
SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
// AddToScheme adds to scheme
AddToScheme = SchemeBuilder.AddToScheme
// SchemeGroupVersion is the group version used to register these objects.
SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
)

// Resource takes an unqualified resource and returns a Group-qualified GroupResource.
func Resource(resource string) schema.GroupResource {
return SchemeGroupVersion.WithResource(resource).GroupResource()
}

func init() {
// We only register manually written functions here. The registration of the
// generated functions takes place in the generated files. The separation
// makes the code compile even when the generated files are missing.
SchemeBuilder.Register(addKnownTypes)
}

// addKnownTypes adds the set of types defined in this package to the supplied scheme.
func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(SchemeGroupVersion,
&VolumeSnapshotClass{},
&VolumeSnapshotClassList{},
&VolumeSnapshot{},
&VolumeSnapshotList{},
&VolumeSnapshotContent{},
&VolumeSnapshotContentList{},
)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
Loading