1300 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
fcf78d3d69 Merge pull request #1025 from kubernetes-csi/dependabot/go_modules/github.com/prometheus/client_golang-1.19.0
Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0
2024-03-07 08:36:35 -08:00
Kubernetes Prow Robot
34fee32155 Merge pull request #1027 from kubernetes-csi/dependabot/go_modules/google.golang.org/grpc-1.62.1
Bump google.golang.org/grpc from 1.61.1 to 1.62.1
2024-03-07 07:35:32 -08:00
dependabot[bot]
b3e0b205ba Bump google.golang.org/grpc from 1.61.1 to 1.62.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.1 to 1.62.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.1...v1.62.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-06 11:12:14 +00:00
Kubernetes Prow Robot
31776603b2 Merge pull request #1009 from ConnorJC3/fix-snapshotter-rpc-spam
Discard unnecessary VolumeSnapshotContent updates to prevent rapid RPC calls
2024-02-29 12:23:20 -08:00
Connor Catlett
35579f2803 Discard unnecessary VolumeSnapshotContent updates to prevent rapid RPC calls
Signed-off-by: Connor Catlett <conncatl@amazon.com>
2024-02-29 18:42:37 +00:00
dependabot[bot]
a8a5df8a53 Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.18.0 to 1.19.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.19.0/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.18.0...v1.19.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>
2024-02-28 11:08:31 +00:00
Kubernetes Prow Robot
d616d7289a Merge pull request #1013 from kubernetes-csi/dependabot/go_modules/github.com/prometheus/client_model-0.6.0
Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0
2024-02-23 11:23:18 -08:00
dependabot[bot]
e79e2d1931 Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0
Bumps [github.com/prometheus/client_model](https://github.com/prometheus/client_model) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/prometheus/client_model/releases)
- [Commits](https://github.com/prometheus/client_model/compare/v0.5.0...v0.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-23 16:50:40 +00:00
Kubernetes Prow Robot
b2bbd079bc Merge pull request #1020 from RaunakShah/release-tools-go-update
Update release tools with go version fix
2024-02-23 08:31:03 -08:00
Raunak Pradip Shah
510a702ec8 Merge commit '59e5148a47423a77938a1401de085f7b4c0d1bb9' into release-tools-go-update 2024-02-22 16:27:32 -08:00
Raunak Pradip Shah
59e5148a47 Squashed 'release-tools/' changes from b54c1ba4..dc4d0ae2
dc4d0ae2 Merge pull request #249 from jsafrane/use-go-version
e681b170 Use .go-version to get Kubernetes go version

git-subtree-dir: release-tools
git-subtree-split: dc4d0ae20a3dcce17fbfc745fb1f1e3b10cd9644
2024-02-22 16:27:32 -08:00
Kubernetes Prow Robot
10c1032bba Merge pull request #1015 from nixpanic/issue/968
Fix detecting default annotation on VolumeGroupSnapshotClass
2024-02-22 08:53:51 -08:00
Niels de Vos
aa837d1ddf Fix detecting default annotation on VolumeGroupSnapshotClass
The `IsDefaultAnnotation()` function has been extended to check for the
correct default annotation, taking the Kind of the object into
consideration.
2024-02-22 12:23:17 +01:00
Kubernetes Prow Robot
ca0b24b661 Merge pull request #1014 from Madhu-1/fix-logging
Fix logging in the volumegroupsnapshot methods
2024-02-20 09:41:36 -08:00
Madhu Rajanna
5706ab6ac8 use GroupSnapshotDeleteError type for event
use GroupSnapshotDeleteError as event type for
event incase if there is any failure in delete
operation.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2024-02-20 08:43:14 +01:00
Madhu Rajanna
0fe3abb9f1 fix method name in logging
updating code to use correct method
names for logging.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2024-02-20 08:41:14 +01:00
Kubernetes Prow Robot
18241c34eb Merge pull request #1011 from Madhu-1/fix-size-vsc
Add snapshot size to VSC created for VGS
2024-02-14 13:25:03 -08:00
Kubernetes Prow Robot
dc1f86147e Merge pull request #1010 from kubernetes-csi/dependabot/go_modules/google.golang.org/grpc-1.61.1
Bump google.golang.org/grpc from 1.61.0 to 1.61.1
2024-02-14 07:55:03 -08:00
Madhu Rajanna
5a7115d61d Add snapshot size to VSC created for VGS
Currently the RestoreSize is missing when
the corresponding VSC are created for the
the volumesnapshotgroup, This PR adds the missing
RestoreSize for VSC.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2024-02-14 15:39:17 +01:00
dependabot[bot]
df3aa4ffb4 Bump google.golang.org/grpc from 1.61.0 to 1.61.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.0 to 1.61.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.0...v1.61.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-14 11:31:01 +00:00
Kubernetes Prow Robot
ebf903ae5f Merge pull request #1005 from xing-yang/check_volumemodeconversion
Add nil check for SourceVolumeMode in the validation webhook
2024-02-09 11:22:35 -08:00
xing-yang
36738cd8bc Add nil check for SourceVolumeMode in the ValidationWebHook 2024-02-09 12:53:14 -05:00
Kubernetes Prow Robot
533a2ee13a Merge pull request #999 from xing-yang/changelog_7.0.0
Add changelog 7.0
2024-01-31 10:56:30 -08:00
xing-yang
024aa294fd Add changelog 7.0 2024-01-30 20:47:25 -05:00
Kubernetes Prow Robot
510ed2d443 Merge pull request #998 from xing-yang/use-clientV7
Use client v7
2024-01-30 15:46:30 -08:00
xing-yang
3ed4ebd3d8 Use client v7 2024-01-30 17:40:58 -05:00
xing-yang
49c81b0855 Update client to v7 2024-01-30 13:48:32 -05:00
Kubernetes Prow Robot
025f824ea8 Merge pull request #837 from nixpanic/GetVolumeGroupSnapshot
implement GroupSnapshotter.GetGroupSnapshotStatus()
2024-01-30 08:29:56 -08:00
Niels de Vos
d0f443f564 implement GroupSnapshotter.GetGroupSnapshotStatus() 2024-01-30 09:22:07 +01:00
Kubernetes Prow Robot
3124b8c9a4 Merge pull request #996 from kubernetes-csi/dependabot/go_modules/github.com/evanphx/json-patch-5.9.0incompatible
Bump github.com/evanphx/json-patch from 5.8.1+incompatible to 5.9.0+incompatible
2024-01-29 08:10:22 -08:00
dependabot[bot]
3ba0eb3bb6 Bump github.com/evanphx/json-patch
Bumps [github.com/evanphx/json-patch](https://github.com/evanphx/json-patch) from 5.8.1+incompatible to 5.9.0+incompatible.
- [Release notes](https://github.com/evanphx/json-patch/releases)
- [Commits](https://github.com/evanphx/json-patch/compare/v5.8.1...v5.9.0)

---
updated-dependencies:
- dependency-name: github.com/evanphx/json-patch
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 11:53:29 +00:00
Kubernetes Prow Robot
921719a420 Merge pull request #994 from kubernetes-csi/dependabot/go_modules/google.golang.org/grpc-1.61.0
Bump google.golang.org/grpc from 1.60.1 to 1.61.0
2024-01-26 21:10:55 +01:00
Kubernetes Prow Robot
8ab2ca6d29 Merge pull request #993 from kubernetes-csi/dependabot/go_modules/k8s.io/klog/v2-2.120.1
Bump k8s.io/klog/v2 from 2.120.0 to 2.120.1
2024-01-26 21:10:46 +01:00
Kubernetes Prow Robot
1bcbb21734 Merge pull request #992 from kubernetes-csi/dependabot/go_modules/github.com/evanphx/json-patch-5.8.1incompatible
Bump github.com/evanphx/json-patch from 5.8.0+incompatible to 5.8.1+incompatible
2024-01-26 21:10:37 +01:00
Kubernetes Prow Robot
4e03bd3673 Merge pull request #995 from nixpanic/VolumeGroupSnapshot/optional-selector
Selector in VolumeGroupSnapshotSource API should be optional
2024-01-26 19:50:53 +01:00
Niels de Vos
9e58d4cc61 Selector in VolumeGroupSnapshotSource API should be optional 2024-01-26 17:27:25 +01:00
dependabot[bot]
d4c5e7e5e8 Bump google.golang.org/grpc from 1.60.1 to 1.61.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.60.1 to 1.61.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.60.1...v1.61.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-24 11:08:58 +00:00
dependabot[bot]
13167bebd5 Bump k8s.io/klog/v2 from 2.120.0 to 2.120.1
Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog) from 2.120.0 to 2.120.1.
- [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.120.0...v2.120.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 11:09:47 +00:00
dependabot[bot]
a64d4b204e Bump github.com/evanphx/json-patch
Bumps [github.com/evanphx/json-patch](https://github.com/evanphx/json-patch) from 5.8.0+incompatible to 5.8.1+incompatible.
- [Release notes](https://github.com/evanphx/json-patch/releases)
- [Commits](https://github.com/evanphx/json-patch/compare/v5.8.0...v5.8.1)

---
updated-dependencies:
- dependency-name: github.com/evanphx/json-patch
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-17 11:09:39 +00:00
Kubernetes Prow Robot
fc49f3258b Merge pull request #991 from kubernetes-csi/dependabot/go_modules/github.com/prometheus/common-0.46.0
Bump github.com/prometheus/common from 0.45.0 to 0.46.0
2024-01-16 23:20:59 +01:00
Kubernetes Prow Robot
93bb6e6290 Merge pull request #990 from kubernetes-csi/dependabot/go_modules/github.com/evanphx/json-patch-5.8.0incompatible
Bump github.com/evanphx/json-patch from 5.7.0+incompatible to 5.8.0+incompatible
2024-01-16 22:18:48 +01:00
dependabot[bot]
d16c2fb4c2 Bump github.com/prometheus/common from 0.45.0 to 0.46.0
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.45.0 to 0.46.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.45.0...v0.46.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 11:40:47 +00:00
dependabot[bot]
4b67f1be72 Bump github.com/evanphx/json-patch
Bumps [github.com/evanphx/json-patch](https://github.com/evanphx/json-patch) from 5.7.0+incompatible to 5.8.0+incompatible.
- [Release notes](https://github.com/evanphx/json-patch/releases)
- [Commits](https://github.com/evanphx/json-patch/compare/v5.7.0...v5.8.0)

---
updated-dependencies:
- dependency-name: github.com/evanphx/json-patch
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 11:40:41 +00:00
Kubernetes Prow Robot
01d5449241 Merge pull request #971 from RaunakShah/deletegroupsnapshot-part-3
Update API for pre provisioned group snapshots
2024-01-12 23:48:22 +01:00
Kubernetes Prow Robot
3e32435293 Merge pull request #979 from kubernetes-csi/dependabot/go_modules/google.golang.org/grpc-1.60.1
Bump google.golang.org/grpc from 1.59.0 to 1.60.1
2024-01-12 18:20:59 +01:00
Kubernetes Prow Robot
66c9ddd5e2 Merge pull request #989 from kubernetes-csi/dependabot/go_modules/k8s.io/klog/v2-2.120.0
Bump k8s.io/klog/v2 from 2.110.1 to 2.120.0
2024-01-12 17:16:39 +01:00
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
Raunak Pradip Shah
e6dc65fefe Fix unit test and remove comments 2024-01-08 10:12:47 -08:00