Skip to content

cmd: add testing tool for volume replication#419

Merged
mergify[bot] merged 1 commit into
csi-addons:mainfrom
riya-singhal31:rep
Aug 1, 2023
Merged

cmd: add testing tool for volume replication#419
mergify[bot] merged 1 commit into
csi-addons:mainfrom
riya-singhal31:rep

Conversation

@riya-singhal31

@riya-singhal31 riya-singhal31 commented Jul 26, 2023

Copy link
Copy Markdown
Contributor

Adds the testing tool for replication

[riyasinghal@fedora ceph-csi]$ kubectl exec -c csi-addons csi-rbdplugin-provisioner-66c68cd59b-4gvn8 -n rook-ceph -- csi-addons -operation EnableVolumeReplication -clusterid rook-ceph --secret default/csi-rbd-secret -endpoint unix:///csi/csi-addons.sock -volumeID 0001-0009-rook-ceph-0000000000000002-deda762a-2910-47fa-9dfe-4b492f719ca7
Enable Volume Replication operation successful

[riyasinghal@fedora ceph-csi]$ kubectl exec -c csi-addons csi-rbdplugin-provisioner-66c68cd59b-4gvn8 -n rook-ceph -- csi-addons -operation DisableVolumeReplication -clusterid rook-ceph --secret default/csi-rbd-secret -endpoint unix:///csi/csi-addons.sock -volumeID 0001-0009-rook-ceph-0000000000000002-deda762a-2910-47fa-9dfe-4b492f719ca7
Disable Volume Replication operation successful

@riya-singhal31 riya-singhal31 force-pushed the rep branch 9 times, most recently from 2b9f991 to a450ce5 Compare July 28, 2023 14:16

@nixpanic nixpanic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly nits, and some considerations that may make things a little nicer.

Comment thread cmd/csi-addons/README.md Outdated
Comment thread cmd/csi-addons/main.go Outdated
Comment thread cmd/csi-addons/replication.go Outdated
nixpanic
nixpanic previously approved these changes Jul 31, 2023

@nixpanic nixpanic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mergify mergify Bot dismissed nixpanic’s stale review July 31, 2023 11:48

Pull request has been modified.

nixpanic
nixpanic previously approved these changes Jul 31, 2023

@Madhu-1 Madhu-1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit

Comment on lines +42 to +60
if rep.parameters["clusterID"] == "" {
return fmt.Errorf("clusterID not set")
}

secrets := strings.Split(c.secret, "/")
if len(secrets) != 2 {
return fmt.Errorf("secret should be specified in the format `namespace/name`")
}
rep.secretNamespace = secrets[0]
if rep.secretNamespace == "" {
return fmt.Errorf("secret namespace is not set")
}

rep.secretName = secrets[1]
if rep.secretName == "" {
return fmt.Errorf("secret name is not set")
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new errors.New() when formatting is not required

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Madhu, just a slight confusion, did you meant to remove this below error

return fmt.Errorf("secret should be specified in the format namespace/name")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I meant use errors.New() instead of fmt.Errorf

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Madhu, Updated.


"github.com/csi-addons/kubernetes-csi-addons/internal/proto"
"github.com/csi-addons/kubernetes-csi-addons/internal/sidecar/service"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a new line for package seperation.

Comment on lines +65 to +73
if pv.Spec.CSI == nil {
return fmt.Errorf("pv %q is not a CSI volume", c.persistentVolume)
}

volID := pv.Spec.CSI.VolumeHandle

rep.volumeID = volID
if rep.volumeID == "" {
return fmt.Errorf("volume ID is not set")
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if pv.Spec.CSI == nil {
return fmt.Errorf("pv %q is not a CSI volume", c.persistentVolume)
}
volID := pv.Spec.CSI.VolumeHandle
rep.volumeID = volID
if rep.volumeID == "" {
return fmt.Errorf("volume ID is not set")
}
if pv.Spec.CSI == nil {
return fmt.Errorf("pv %q is not a CSI volume", c.persistentVolume)
}
if pv.Spec.CSI.VolumeHandle == ""{
return fmt.Errorf("volume ID is not set")
}
rep.volumeID = pv.Spec.CSI.VolumeHandle

Comment thread cmd/csi-addons/replication.go Outdated
return err
}

fmt.Printf("Resync Volume operation successful")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of Printf use Println which adds a new line, take care of it in all other places as well

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review Madhu, Updated the PR.
PTAL

@riya-singhal31 riya-singhal31 force-pushed the rep branch 3 times, most recently from 50882d5 to cfd4fa4 Compare July 31, 2023 13:27
@riya-singhal31 riya-singhal31 requested a review from nixpanic July 31, 2023 13:38
@Rakshith-R

Copy link
Copy Markdown
Member

@Mergifyio rebase

Signed-off-by: riya-singhal31 <rsinghal@redhat.com>
@mergify

mergify Bot commented Aug 1, 2023

Copy link
Copy Markdown

rebase

✅ Branch has been successfully rebased

@riya-singhal31

Copy link
Copy Markdown
Contributor Author

Hey @Madhu-1 ,
Addressed all the review comments.
PTAL.

Comment on lines +237 to +242
_, err := rs.GetVolumeReplicationInfo(context.TODO(), req)
if err != nil {
return err
}

fmt.Println("GetVolumeReplicationInfo operation successful")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Get should print the response that you got from the API as its meant to display details. i would suggest sending a PR to fix it. for now approving this

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I'll send a PR for same.
Thank you!

@mergify mergify Bot merged commit 0fe08b8 into csi-addons:main Aug 1, 2023
spiceratops referenced this pull request in spiceratops/k8s-gitops Dec 20, 2023
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[kubernetes-csi-addons](https://togithub.com/csi-addons/kubernetes-csi-addons)
| minor | `v0.7.0` -> `v0.8.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>csi-addons/kubernetes-csi-addons
(kubernetes-csi-addons)</summary>

###
[`v0.8.0`](https://togithub.com/csi-addons/kubernetes-csi-addons/releases/tag/v0.8.0)

[Compare
Source](https://togithub.com/csi-addons/kubernetes-csi-addons/compare/v0.7.0...v0.8.0)

#### What's Changed

- vendor: bump google.golang.org/grpc from 1.56.1 to 1.56.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/404](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/404)
- ci: add lint-extras github workflow by
[@&#8203;riya-singhal31](https://togithub.com/riya-singhal31) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/403](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/403)
- fix: enable hadolint linter in super linter by
[@&#8203;riya-singhal31](https://togithub.com/riya-singhal31) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/407](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/407)
- ci: wait for images to be pushed before creating the release by
[@&#8203;nixpanic](https://togithub.com/nixpanic) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/408](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/408)
- fix: fix markdown failures by
[@&#8203;riya-singhal31](https://togithub.com/riya-singhal31) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/409](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/409)
- ci: bump helm/kind-action from 1.7.0 to 1.8.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/411](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/411)
- vendor: bump sigs.k8s.io/controller-tools from 0.12.0 to 0.12.1 in
/tools by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/412](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/412)
- vendor: bump github.com/onsi/gomega from 1.27.8 to 1.27.10 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/417](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/417)
- vendor: bump k8s.io/client-go from 0.27.3 to 0.27.4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/416](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/416)
- test: Adding NetworkFence capability to test tool by
[@&#8203;karthik-us](https://togithub.com/karthik-us) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/410](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/410)
- vendor: bump google.golang.org/grpc from 1.56.2 to 1.57.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/420](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/420)
- cmd: add testing tool for volume replication by
[@&#8203;riya-singhal31](https://togithub.com/riya-singhal31) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/419](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/419)
- fix: return response from getVolumeReplicationInfo by
[@&#8203;riya-singhal31](https://togithub.com/riya-singhal31) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/421](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/421)
- vendor: bump go.uber.org/zap from 1.24.0 to 1.25.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/424](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/424)
- vendor: bump sigs.k8s.io/controller-runtime from 0.15.0 to 0.15.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/423](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/423)
- ci: bump arduino/setup-protoc from 1 to 2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/426](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/426)
- vendor: bump k8s.io/client-go from 0.27.4 to 0.28.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/431](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/431)
- vendor: bump k8s.io/client-go from 0.28.0 to 0.28.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/437](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/437)
- vendor: bump github.com/kubernetes-csi/csi-lib-utils from 0.14.0 to
0.15.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/435](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/435)
- vendor: bump sigs.k8s.io/controller-runtime from 0.15.1 to 0.16.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/438](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/438)
- ci: bump actions/checkout from 3 to 4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/440](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/440)
- vendor: bump sigs.k8s.io/controller-runtime from 0.16.0 to 0.16.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/439](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/439)
- vendor: bump google.golang.org/grpc from 1.57.0 to 1.58.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/442](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/442)
- ci: bump docker/setup-buildx-action from 2 to 3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/452](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/452)
- ci: bump docker/setup-qemu-action from 2 to 3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/451](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/451)
- ci: bump docker/build-push-action from 4 to 5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/450](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/450)
- ci: bump docker/login-action from 2 to 3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/449](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/449)
- vendor: bump k8s.io/api from 0.28.1 to 0.28.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/448](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/448)
- vendor: bump google.golang.org/grpc from 1.58.0 to 1.58.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/447](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/447)
- vendor: bump sigs.k8s.io/controller-runtime from 0.16.1 to 0.16.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/446](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/446)
- vendor: bump go.uber.org/zap from 1.25.0 to 1.26.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/461](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/461)
- use CEL for CR validation by
[@&#8203;Madhu-1](https://togithub.com/Madhu-1) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/459](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/459)
- vendor: bump google.golang.org/grpc from 1.58.1 to 1.58.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/460](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/460)
- vendor: bump k8s.io/client-go from 0.28.1 to 0.28.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/445](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/445)
- vendor: bump github.com/onsi/gomega from 1.27.10 to 1.28.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/464](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/464)
- cleanup: fix spelling mistakes by
[@&#8203;nixpanic](https://togithub.com/nixpanic) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/465](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/465)
- vendor: bump google.golang.org/grpc from 1.58.2 to 1.58.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/467](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/467)
- vendor: bump k8s.io/client-go from 0.28.2 to 0.28.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/468](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/468)
- vendor: bump github.com/onsi/gomega from 1.28.0 to 1.28.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/471](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/471)
- vendor: bump sigs.k8s.io/controller-runtime from 0.16.2 to 0.16.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/469](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/469)
- vendor: bump github.com/container-storage-interface/spec from 1.8.0 to
1.9.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/477](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/477)
- vendor: bump github.com/go-logr/logr from 1.2.4 to 1.3.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/475](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/475)
- vendor: bump github.com/onsi/gomega from 1.28.1 to 1.29.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/474](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/474)
- vendor: bump google.golang.org/grpc from 1.58.3 to 1.59.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/476](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/476)
- vendor: bump k8s.io/klog/v2 from 2.100.1 to 2.110.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/480](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/480)
- Fix corner cases bugs found in CEL validation by
[@&#8203;Madhu-1](https://togithub.com/Madhu-1) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/481](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/481)
- Explicitly disable gRPC idle timeout by
[@&#8203;nixpanic](https://togithub.com/nixpanic) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/482](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/482)
- vendor: bump github.com/onsi/gomega from 1.29.0 to 1.30.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/483](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/483)
- ci: update dependabot for group updates by
[@&#8203;Madhu-1](https://togithub.com/Madhu-1) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/484](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/484)
- vendor: bump the github-dependencies group with 1 update by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/485](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/485)
- ci: update group rules for dependabot by
[@&#8203;Madhu-1](https://togithub.com/Madhu-1) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/487](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/487)
- update to proper message on a successful fence op by
[@&#8203;rakeshgm](https://togithub.com/rakeshgm) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/488](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/488)
- vendor: bump the k8s-dependencies group with 2 updates by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/489](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/489)
- send NetworkFence requests to the leading CSI-Addons sidecar by
[@&#8203;nixpanic](https://togithub.com/nixpanic) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/492](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/492)
- ci: bump actions/setup-go from 4 to 5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/494](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/494)
- connection: track Namespace of driver Pods to locate Leases by
[@&#8203;nixpanic](https://togithub.com/nixpanic) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/496](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/496)
- replication: send VolumeReplication operations to the leading
controller by [@&#8203;nixpanic](https://togithub.com/nixpanic) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/495](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/495)
- reclaimspace: send ControllerReclaimSpace operations to the leading
controller by [@&#8203;nixpanic](https://togithub.com/nixpanic) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/493](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/493)

#### New Contributors

- [@&#8203;riya-singhal31](https://togithub.com/riya-singhal31) made
their first contribution in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/403](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/403)
- [@&#8203;rakeshgm](https://togithub.com/rakeshgm) made their first
contribution in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/488](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/488)

**Full Changelog**:
csi-addons/kubernetes-csi-addons@v0.7.0...v0.8.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEwMi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
coolguy1771 referenced this pull request in coolguy1771/home-ops Dec 22, 2023
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[kubernetes-csi-addons](https://togithub.com/csi-addons/kubernetes-csi-addons)
| minor | `v0.7.0` -> `v0.8.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>csi-addons/kubernetes-csi-addons
(kubernetes-csi-addons)</summary>

###
[`v0.8.0`](https://togithub.com/csi-addons/kubernetes-csi-addons/releases/tag/v0.8.0)

[Compare
Source](https://togithub.com/csi-addons/kubernetes-csi-addons/compare/v0.7.0...v0.8.0)

#### What's Changed

- vendor: bump google.golang.org/grpc from 1.56.1 to 1.56.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/404](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/404)
- ci: add lint-extras github workflow by
[@&#8203;riya-singhal31](https://togithub.com/riya-singhal31) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/403](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/403)
- fix: enable hadolint linter in super linter by
[@&#8203;riya-singhal31](https://togithub.com/riya-singhal31) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/407](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/407)
- ci: wait for images to be pushed before creating the release by
[@&#8203;nixpanic](https://togithub.com/nixpanic) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/408](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/408)
- fix: fix markdown failures by
[@&#8203;riya-singhal31](https://togithub.com/riya-singhal31) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/409](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/409)
- ci: bump helm/kind-action from 1.7.0 to 1.8.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/411](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/411)
- vendor: bump sigs.k8s.io/controller-tools from 0.12.0 to 0.12.1 in
/tools by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/412](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/412)
- vendor: bump github.com/onsi/gomega from 1.27.8 to 1.27.10 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/417](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/417)
- vendor: bump k8s.io/client-go from 0.27.3 to 0.27.4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/416](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/416)
- test: Adding NetworkFence capability to test tool by
[@&#8203;karthik-us](https://togithub.com/karthik-us) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/410](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/410)
- vendor: bump google.golang.org/grpc from 1.56.2 to 1.57.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/420](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/420)
- cmd: add testing tool for volume replication by
[@&#8203;riya-singhal31](https://togithub.com/riya-singhal31) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/419](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/419)
- fix: return response from getVolumeReplicationInfo by
[@&#8203;riya-singhal31](https://togithub.com/riya-singhal31) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/421](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/421)
- vendor: bump go.uber.org/zap from 1.24.0 to 1.25.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/424](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/424)
- vendor: bump sigs.k8s.io/controller-runtime from 0.15.0 to 0.15.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/423](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/423)
- ci: bump arduino/setup-protoc from 1 to 2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/426](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/426)
- vendor: bump k8s.io/client-go from 0.27.4 to 0.28.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/431](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/431)
- vendor: bump k8s.io/client-go from 0.28.0 to 0.28.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/437](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/437)
- vendor: bump github.com/kubernetes-csi/csi-lib-utils from 0.14.0 to
0.15.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/435](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/435)
- vendor: bump sigs.k8s.io/controller-runtime from 0.15.1 to 0.16.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/438](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/438)
- ci: bump actions/checkout from 3 to 4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/440](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/440)
- vendor: bump sigs.k8s.io/controller-runtime from 0.16.0 to 0.16.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/439](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/439)
- vendor: bump google.golang.org/grpc from 1.57.0 to 1.58.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/442](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/442)
- ci: bump docker/setup-buildx-action from 2 to 3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/452](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/452)
- ci: bump docker/setup-qemu-action from 2 to 3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/451](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/451)
- ci: bump docker/build-push-action from 4 to 5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/450](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/450)
- ci: bump docker/login-action from 2 to 3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/449](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/449)
- vendor: bump k8s.io/api from 0.28.1 to 0.28.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/448](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/448)
- vendor: bump google.golang.org/grpc from 1.58.0 to 1.58.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/447](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/447)
- vendor: bump sigs.k8s.io/controller-runtime from 0.16.1 to 0.16.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/446](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/446)
- vendor: bump go.uber.org/zap from 1.25.0 to 1.26.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/461](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/461)
- use CEL for CR validation by
[@&#8203;Madhu-1](https://togithub.com/Madhu-1) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/459](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/459)
- vendor: bump google.golang.org/grpc from 1.58.1 to 1.58.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/460](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/460)
- vendor: bump k8s.io/client-go from 0.28.1 to 0.28.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/445](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/445)
- vendor: bump github.com/onsi/gomega from 1.27.10 to 1.28.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/464](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/464)
- cleanup: fix spelling mistakes by
[@&#8203;nixpanic](https://togithub.com/nixpanic) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/465](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/465)
- vendor: bump google.golang.org/grpc from 1.58.2 to 1.58.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/467](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/467)
- vendor: bump k8s.io/client-go from 0.28.2 to 0.28.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/468](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/468)
- vendor: bump github.com/onsi/gomega from 1.28.0 to 1.28.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/471](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/471)
- vendor: bump sigs.k8s.io/controller-runtime from 0.16.2 to 0.16.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/469](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/469)
- vendor: bump github.com/container-storage-interface/spec from 1.8.0 to
1.9.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/477](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/477)
- vendor: bump github.com/go-logr/logr from 1.2.4 to 1.3.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/475](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/475)
- vendor: bump github.com/onsi/gomega from 1.28.1 to 1.29.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/474](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/474)
- vendor: bump google.golang.org/grpc from 1.58.3 to 1.59.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/476](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/476)
- vendor: bump k8s.io/klog/v2 from 2.100.1 to 2.110.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/480](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/480)
- Fix corner cases bugs found in CEL validation by
[@&#8203;Madhu-1](https://togithub.com/Madhu-1) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/481](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/481)
- Explicitly disable gRPC idle timeout by
[@&#8203;nixpanic](https://togithub.com/nixpanic) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/482](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/482)
- vendor: bump github.com/onsi/gomega from 1.29.0 to 1.30.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/483](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/483)
- ci: update dependabot for group updates by
[@&#8203;Madhu-1](https://togithub.com/Madhu-1) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/484](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/484)
- vendor: bump the github-dependencies group with 1 update by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/485](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/485)
- ci: update group rules for dependabot by
[@&#8203;Madhu-1](https://togithub.com/Madhu-1) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/487](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/487)
- update to proper message on a successful fence op by
[@&#8203;rakeshgm](https://togithub.com/rakeshgm) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/488](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/488)
- vendor: bump the k8s-dependencies group with 2 updates by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/489](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/489)
- send NetworkFence requests to the leading CSI-Addons sidecar by
[@&#8203;nixpanic](https://togithub.com/nixpanic) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/492](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/492)
- ci: bump actions/setup-go from 4 to 5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/494](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/494)
- connection: track Namespace of driver Pods to locate Leases by
[@&#8203;nixpanic](https://togithub.com/nixpanic) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/496](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/496)
- replication: send VolumeReplication operations to the leading
controller by [@&#8203;nixpanic](https://togithub.com/nixpanic) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/495](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/495)
- reclaimspace: send ControllerReclaimSpace operations to the leading
controller by [@&#8203;nixpanic](https://togithub.com/nixpanic) in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/493](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/493)

#### New Contributors

- [@&#8203;riya-singhal31](https://togithub.com/riya-singhal31) made
their first contribution in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/403](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/403)
- [@&#8203;rakeshgm](https://togithub.com/rakeshgm) made their first
contribution in
[https://github.com/csi-addons/kubernetes-csi-addons/pull/488](https://togithub.com/csi-addons/kubernetes-csi-addons/pull/488)

**Full Changelog**:
csi-addons/kubernetes-csi-addons@v0.7.0...v0.8.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEwMi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: lumiere-bot[bot] <98047013+lumiere-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants