Sameer Shaikh
ffaba0f81d
external-snapshotter constantly retrying CreateSnapshot calls on error w/o backoff
2023-06-28 18:32:07 +05:30
Sameer Shaikh
a8c9b7b644
external-snapshotter constantly retrying CreateSnapshot calls on error w/o backoff
2023-06-28 15:59:21 +05:30
Sameer Shaikh
98939c02c5
external-snapshotter constantly retrying CreateSnapshot calls on error w/o backoff
...
Signed-off-by: Sameer Shaikh <sameer.shaikh@ibm.com >
2023-06-28 13:17:42 +05:30
Rakshith R
a3cb5a927f
add groupsnapshot related webhooks
2023-05-08 18:25:23 +05:30
Raunak Pradip Shah
dbfa2c75fc
remove ptypes
2023-05-03 22:34:39 +05:30
Raunak Pradip Shah
21acc924d7
Fix typos
2023-05-03 21:21:32 +05:30
Raunak Pradip Shah
1a93d9f551
Add volume snapshot ref details to group snapshot
2023-05-03 21:21:32 +05:30
Raunak Pradip Shah
65fbb48cd7
Change timestamp format in volumesnapshot and content names
2023-05-03 21:21:32 +05:30
Raunak Pradip Shah
80893cb871
Add hash of PVC UUID to group snapshot names
2023-05-03 21:21:32 +05:30
Raunak Pradip Shah
e26501e510
Add reference details to volume group snapshot content status
2023-05-03 21:21:32 +05:30
Raunak Pradip Shah
9e2d4f6264
Add groupSnapshotNamePrefix and groupSnapshotNameUUIDLength CLI options
2023-05-03 21:21:32 +05:30
Raunak Pradip Shah
d8d01a38e4
Change all occurences of content to group snapshot content
2023-05-03 21:21:32 +05:30
Raunak Pradip Shah
871312988b
Added create group volume snapshot functionality
2023-05-03 21:21:32 +05:30
Raunak Pradip Shah
299862c783
Add csi snapshotter functionality for volume group snapshots
2023-05-03 21:21:32 +05:30
Raunak Pradip Shah
09b36e73ae
Add syncGroupSnapshotContent and related functions
2023-05-03 21:21:32 +05:30
Raunak Pradip Shah
3c32e81fe0
SyncUnreadyGroupSnapshot and related functions
2023-05-03 21:21:32 +05:30
Raunak Pradip Shah
a574b8780c
-Introduce volume group snapshot functionality include initializing queues and caches in snapshotter
...
- Introduce new flag for volume group snapshots and run worker if flag is enabled
- Introduce the main controller for group snapshots in snapshot-controller
2023-05-03 21:21:32 +05:30
Matthew Brooks
8a11d50738
Switch to using google.golang.org/protobuf rather than github.com/golang/protobuf
2023-04-16 14:55:02 -06:00
Humble Chirammal
461143ec25
update client package with go 1.19 formatting changes
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2022-09-14 08:26:30 +05:30
Humble Chirammal
d34102faae
make the formatting errors based on go 1.19
...
Reference#
https://github.com/kubernetes-csi/csi-release-tools/pull/203
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2022-09-13 19:37:34 +05:30
Tiger Kaovilai
e19220824d
typo snapshot_test.go
2022-08-10 19:57:13 -04:00
Tiger Kaovilai
ea89dde907
typo snapshot.go
2022-08-10 19:54:56 -04:00
Raunak Pradip Shah
23ef3b5220
Remove v1beta1 references from validation webhook
2022-05-11 12:16:11 +05:30
Kubernetes Prow Robot
9ffdb95103
Merge pull request #690 from humblec/rbac
...
replace serviceAccountName key, rbac and cleanup in the code
2022-04-25 07:39:39 -07:00
Raunak Pradip Shah
24bbdae16f
Add feature flag
2022-04-19 16:00:43 +05:30
Raunak Pradip Shah
bb13123906
Add webhook to make SourceVolumeMode immutable
2022-04-19 15:59:24 +05:30
Humble Chirammal
f30b14f8fd
make use of short declaration of variables and cleanup code
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2022-04-13 08:35:03 +05:30
Raunak Pradip Shah
454fb36092
Update code with new type logic
2022-04-07 19:24:41 +05:30
Raunak Pradip Shah
5b578e8573
- Introduce new flag to enable feature to prevent unauthorised volume mode conversion
...
- Changes to snapshot controller to read the volume mode from the PV and add it to SourceVolumeMode field in VolumeSnapshotContent
2022-04-07 19:08:18 +05:30
Shawn Hurley
689a875bfc
Adding test case for updating default class to new driver
2022-04-01 12:46:36 -04:00
Shawn Hurley
27f8d3fe72
Addressing feedback given
2022-03-29 11:36:04 -04:00
Shawn Hurley
b52d1d474a
add unit test coverage for v1beta1
2022-03-25 14:18:30 -04:00
Shawn Hurley
eeb9897c67
[] Adding validation to snapshot class defaulting
2022-03-25 13:43:09 -04:00
Raunak Pradip Shah
5b3a927d2a
Vendored deps
2022-03-24 21:40:29 +05:30
Raunak Pradip Shah
d300796fab
- Update snapshotter module to v6
...
- Update snapshotter client module to v5
- Update go version in client modules to v1.17
2022-03-23 08:59:19 +05:30
Peter Schuurman
497a316b04
Bugfix: Check if newSnapContent.Status is set before checking if Status.Error is present
2022-03-08 09:06:37 -08:00
Peter Schuurman
edf2e03f35
Allow resync on pvc when there is no error on the object
2022-03-02 11:26:16 -08:00
zhucan
e46df1bdab
external-snapshotter constantly retrying CreateSnapshot calls on error w/o backoff
...
Signed-off-by: zhucan <zhucan.k8s@gmail.com >
2022-02-14 10:38:57 +08:00
Ubuntu
21fc337b87
feat: Implement distributed snapshotting
2021-12-24 20:03:31 +00:00
Grant Griffiths
f3d345340e
Fix an issue where patch will fail when status is nil
...
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com >
2021-10-20 19:36:48 -07:00
Grant Griffiths
ad7dfe6045
Revert patch for empty finalizers
...
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com >
2021-10-05 15:38:57 -07:00
Grant Griffiths
d14e2eea8f
Use patch for snapshot-controller when there are no finalizers
...
- Also address PR feedback re: avoid a deepCopy for annotations patch
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com >
2021-09-29 16:43:02 -07:00
Grant Griffiths
b2d17cd6bb
setAnnVolumeSnapshotBeingCreated patch impl
...
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com >
2021-09-28 17:40:55 -07:00
Grant Griffiths
e1f82e4f1a
Add patch for delete annotation
...
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com >
2021-09-28 15:54:15 -07:00
Grant Griffiths
3b9f0e2c72
Fix unit tests and don't patch with empty finalizers
...
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com >
2021-09-28 14:29:40 -07:00
Grant Griffiths
2039ad9101
checkandBindSnapshotContent with patch tested
...
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com >
2021-09-24 11:11:15 -07:00
Grant Griffiths
36b6b879ba
add content finalizer patch
...
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com >
2021-09-23 14:05:17 -07:00
Grant Griffiths
afff04176d
WIP
...
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com >
2021-09-23 14:05:17 -07:00
Jan Safranek
5cfcb31222
Fix deadlock in recursive metric locks
...
RecordMetrics() grabs a mutex and calls recordCancelMetric(), which wants to
grab the same mutex. Go mutexes are not recursive, so recordCancelMetric
blocks forever.
recordCancelMetric should not grab the mutex, it can be sure that the
caller did it already.
2021-08-19 18:14:56 +02:00
Grant Griffiths
0476dcedcc
Refactor http server and register leaderelection health check
...
- Needed to start the http server outside of pkg/metric
- We needed this because we want to add other endpoints to the server
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com >
2021-08-10 11:44:12 -07:00