Commit Graph

1250 Commits

Author SHA1 Message Date
dependabot[bot]
a4412e927c Bump k8s.io/klog/v2 from 2.110.1 to 2.120.0
Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog) from 2.110.1 to 2.120.0.
- [Release notes](https://github.com/kubernetes/klog/releases)
- [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes/klog/compare/v2.110.1...v2.120.0)

---
updated-dependencies:
- dependency-name: k8s.io/klog/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 11:25:17 +00:00
Kubernetes Prow Robot
b06160e5c9 Merge pull request #987 from DataDog/fricounet/upstream/fix-controller-startup-time
Fix the max duration to wait for CRDs in the snapshot-controller
2024-01-10 16:34:01 +01:00
Baptiste Girard-Carrabin
72b51c066c [snapshot-controller] Fix wait for CRDs duration
Ensure the function `ensureCustomResourceDefinitionsExist` returns when
the duration specified in `retryCRDIntervalMax` flag is reached.
This works by passing a context to the backoff so that we can
timeout with context.WithTimeout. The new (correct) default duration for
the flag is 30s to give a bit more time when controller and CRD are
created at the same time.
Also limit the amount of resources returned by the list calls to 0 to
speed up the operations because we only care that the CRD exists.
2024-01-10 10:36:55 +01:00
Kubernetes Prow Robot
612c89be2f Merge pull request #988 from kubernetes-csi/dependabot/go_modules/github.com/prometheus/client_golang-1.18.0
Bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0
2024-01-05 17:45:55 +01:00
Kubernetes Prow Robot
2688b2b438 Merge pull request #986 from kubernetes-csi/dependabot/go_modules/google.golang.org/protobuf-1.32.0
Bump google.golang.org/protobuf from 1.31.0 to 1.32.0
2024-01-05 16:42:50 +01:00
dependabot[bot]
1f4944b50c Bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.17.0...v1.18.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-28 11:28:38 +00:00
dependabot[bot]
73259e5286 Bump google.golang.org/protobuf from 1.31.0 to 1.32.0
Bumps google.golang.org/protobuf from 1.31.0 to 1.32.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-22 11:25:49 +00:00
Kubernetes Prow Robot
f36175d652 Merge pull request #982 from sunnylovestiramisu/module-update-master
Update csi-lib-utils to v0.17.0
2023-12-21 21:29:42 +01:00
Sunny Song
e629e87852 Update csi-lib-utils to v0.17.0 2023-12-21 18:16:29 +00:00
Kubernetes Prow Robot
1345ca0a31 Merge pull request #973 from kubernetes-csi/dependabot/github_actions/actions/setup-go-5
Bump actions/setup-go from 4 to 5
2023-12-20 19:54:49 +01:00
Kubernetes Prow Robot
5938db0b88 Merge pull request #978 from RaunakShah/update-deps
Update dependencies for k8s v1.29.0
2023-12-20 18:04:39 +01:00
Raunak Pradip Shah
e813e3c0cd fix vendored modules 2023-12-18 16:12:22 -08:00
Raunak Pradip Shah
70d7692d75 Update dependencies for k8s v1.29.0 2023-12-18 15:39:22 -08:00
Kubernetes Prow Robot
b44a6b006e Merge pull request #916 from akalenyu/enable-prevent-volume-mode-conversion
Enable prevent-volume-mode-conversion by default following k8s 1.28 release
2023-12-18 21:49:34 +01:00
Kubernetes Prow Robot
77c98680ee Merge pull request #977 from andyzhangx/update_release-tools
Update release tools to fix broken image build pipeline
2023-12-18 17:43:16 +01:00
andyzhangx
185888f0e1 Merge commit '73708b3b3912b5804c6caead303aa195c7dcbdc0' into update_release-tools 2023-12-16 03:02:29 +00:00
andyzhangx
73708b3b39 Squashed 'release-tools/' changes from f8c8cc4c..b54c1ba4
b54c1ba4 Merge pull request #246 from xing-yang/go_1.21
5436c81e Change go version to 1.21.5
267b40e9 Merge pull request #244 from carlory/sig-storage
b42e5a2d nominate self (carlory) as kubernetes-csi reviewer
a17f536f Merge pull request #210 from sunnylovestiramisu/sidecar
011033de Use set -x instead of die
5deaf667 Add wrapper script for sidecar release

git-subtree-dir: release-tools
git-subtree-split: b54c1ba49469d4d5d1b5d75285e8868ffe3d328f
2023-12-16 03:02:29 +00:00
Alex Kalenyuk
895dc73977 Enable prevent-volume-mode-conversion by default following k8s 1.28 release
This is beta since 1.27 so we can safely default to true, to get this new validation logic.
https://github.com/kubernetes/enhancements/blob/master/keps/sig-storage/3141-prevent-volume-mode-conversion/kep.yaml#L30

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
2023-12-10 14:23:29 +02:00
Kubernetes Prow Robot
feca95e803 Merge pull request #972 from RaunakShah/deletegroupsnapshot-part-4
Add finalizer to prevent deletion of individual volume snapshots
2023-12-07 19:58:18 +01:00
Raunak Pradip Shah
47e71db17f add comments and fix unit test 2023-12-07 09:20:11 -08:00
dependabot[bot]
31843e80b1 Bump actions/setup-go from 4 to 5
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-07 11:17:51 +00:00
Raunak Pradip Shah
875662b365 Add finalizer to indicate volume snapshot is part of a group 2023-12-06 16:16:30 -08:00
Kubernetes Prow Robot
0ce7955655 Merge pull request #967 from sunnylovestiramisu/module-update-master
Update dependency go modules for k8s v1.29.0-rc.1
2023-11-30 00:54:01 +01:00
Sunny Song
7603bf1c4e Update dependency go modules for k8s v1.29.0-rc.1 2023-11-29 22:24:11 +00:00
Kubernetes Prow Robot
cdbbb78ff8 Merge pull request #966 from leonardoce/examples
Add VolumeGroupSnaphot examples
2023-11-29 16:57:15 +01:00
Leonardo Cecchi
b5743bf3cc Clarify the meaning of the matchLabels field of the PVC selector
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2023-11-29 14:52:47 +00:00
Kubernetes Prow Robot
2dd157aa27 Merge pull request #963 from kubernetes-csi/dependabot/go_modules/github.com/kubernetes-csi/csi-test/v5-5.2.0
Bump github.com/kubernetes-csi/csi-test/v5 from 5.1.0 to 5.2.0
2023-11-28 10:44:28 +01:00
Kubernetes Prow Robot
a9b026a8df Merge pull request #965 from xing-yang/update_release-tools_1123
Update release tools
2023-11-27 19:21:03 +01:00
Leonardo Cecchi
c5038ac31d Add VolumeGroupSnaphot examples
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2023-11-27 11:13:56 +01:00
xing-yang
be28c6ea64 Merge commit 'cf439164991d224aa2e6f3ed1bcf931cd2cb1fdb' into update_release-tools_1123 2023-11-26 20:47:25 -05:00
xing-yang
cf43916499 Squashed 'release-tools/' changes from f9d5b9c0..f8c8cc4c
f8c8cc4c Merge pull request #237 from msau42/prow
b36b5bfd Merge pull request #240 from dannawang0221/upgrade-go-version
adfddcc9 Merge pull request #243 from pohly/git-subtree-pull-fix
c4650889 pull-test.sh: avoid "git subtree pull" error
7b175a1e Update csi-test version to v5.2.0
987c90cc Update go version to 1.21 to match k/k
2c625d41 Add script to generate patch release notes

git-subtree-dir: release-tools
git-subtree-split: f8c8cc4c7414c11526f14649856ff8e6b8a4e67c
2023-11-26 20:47:24 -05:00
dependabot[bot]
9eb4a68e3e Bump github.com/kubernetes-csi/csi-test/v5 from 5.1.0 to 5.2.0
Bumps [github.com/kubernetes-csi/csi-test/v5](https://github.com/kubernetes-csi/csi-test) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/kubernetes-csi/csi-test/releases)
- [Commits](https://github.com/kubernetes-csi/csi-test/compare/v5.1.0...v5.2.0)

---
updated-dependencies:
- dependency-name: github.com/kubernetes-csi/csi-test/v5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-22 12:00:31 +00:00
Kubernetes Prow Robot
c68695b6d1 Merge pull request #952 from RaunakShah/deletegroupsnapshot-part-2
DeleteVolumeGroupSnapshot API - part 2
2023-11-17 16:10:59 +01:00
Raunak Pradip Shah
060ee23d6d Delete individual volume snapshots as part of the group snapshot delete API and prevent users from deleting individual volume snapshots if it is part of an existing group snapshot
Also revert commit bb29899ca3.
2023-11-17 14:24:55 +05:30
Kubernetes Prow Robot
5ca300ec1e Merge pull request #958 from jsafrane/fix-unready-requeue
Requeue un-ready volume snapshots
2023-11-16 20:44:48 +01:00
Kubernetes Prow Robot
d27ee265c1 Merge pull request #961 from leonardoce/dev/volume-snapshot-permission
Allow snapshot controller to delete VolumeSnapshots
2023-11-16 19:40:18 +01:00
Kubernetes Prow Robot
74b56006de Merge pull request #959 from leonardoce/dev/rbac-group-snapshot
Allow csi-snapshotter to create and manage VolumeSnapshots
2023-11-16 18:01:41 +01:00
Leonardo Cecchi
6ac1229ab8 Allow csi-snapshotter to create and manage VolumeSnapshots
This patch allows the `external-snapshotter-runner` ClusterRole, which
is bound to the `csi-snapshotter` Service Account, to create and manage
VolumeSnapshot objects.

This is needed during the synchronization of VolumeGroupSnapshots.
2023-11-16 16:29:29 +01:00
Leonardo Cecchi
17f739c7ac Allow snapshot controller to delete VolumeSnapshots
This patch allows the snapshot-controller-runner ClusterRole, bound to
the snapshot-controller Service Account, to delete VolumeSnapshot
objects. This is needed during the VolumeGroupSnapshot deletion.

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2023-11-16 16:27:17 +01:00
Jan Safranek
8a29bf5b21 Re-queue SnapshotContents that are readyToUse: false
SnapshotContents with readyToUse: false should be periodically requeued
with exp. backoff until the CSI driver confirms the snapshot is ready.
2023-11-16 15:37:48 +01:00
Jan Safranek
f9e125b994 Check sync error in unit test properly
Tests must fail when syncContent() returns success and error was expected.
2023-11-16 15:37:48 +01:00
Kubernetes Prow Robot
36c3f6d7d7 Merge pull request #962 from xing-yang/update_opentelemetry_lib
Update lib to fix CVE-2023-47108
2023-11-16 09:33:51 +01:00
xing-yang
ff4faefbd6 Update lib 2023-11-15 14:58:29 +00:00
Kubernetes Prow Robot
be851d9b8c Merge pull request #951 from kubernetes-csi/dependabot/go_modules/github.com/spf13/cobra-1.8.0
Bump github.com/spf13/cobra from 1.7.0 to 1.8.0
2023-11-14 06:13:52 +01:00
Kubernetes Prow Robot
53d64ba977 Merge pull request #955 from RaunakShah/update_0.28.1_follow_up
Update go mod and vendor in client dir to 0.28.0
2023-11-08 15:11:42 +01:00
Raunak Pradip Shah
42151b59aa change VolumeGroupSnapshotContentName to VolumeGroupSnapshotHandle in snapshot content status 2023-11-08 12:06:06 +05:30
Raunak Pradip Shah
1bf2305d28 Update go mod and vendor in client dir to 0.28.0 2023-11-08 10:57:36 +05:30
dependabot[bot]
b8a9793ca1 Bump github.com/spf13/cobra from 1.7.0 to 1.8.0
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 11:23:08 +00:00
Kubernetes Prow Robot
dad8b28c35 Merge pull request #882 from RaunakShah/deletegroupsnapshot-copy
DeleteVolumeGroupSnapshot API - part 1
2023-11-03 15:20:12 +01:00
Raunak Pradip Shah
facefbad6e add DeleteVolumeGroupSnapshot API to delete group snapshot 2023-11-03 13:14:00 +05:30