Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-4.15] Syncing latest changes from upstream main for kubernetes-csi-addons #107

Conversation

openshift-cherrypick-robot

This is an automated cherry-pick of #106

/assign Rakshith-R

nixpanic and others added 10 commits December 19, 2023 13:13
The new `NormalizeLeaseName()` function can be used to convert a
drivername to an acceptible name for a Kubernetes Lease object.

Signed-off-by: Niels de Vos <[email protected]>
When a CSI-driver provides the CONTROLLER_SERVICE capability, the
sidecar will try to become the leader by obtaining a Lease based on the
name of the CSI-driver.

Signed-off-by: Niels de Vos <[email protected]>
NetworkFence operations should only be sent to a CSI-Addons sidecar that
has the CONTROLLER_SERVICE capability. There should be a single leader
for the CSI-Addons sidecars that support that, and the leader can be
identified by the Lease object for the CSI-drivername.

Signed-off-by: Niels de Vos <[email protected]>
The CSIAddonsNode objects are located in the Namespace where CSI-drivers
are running. Use this Namespace in the Connection struct, so that the
Lease for a group of CSI-Addons ControllerServers can be found.

Updates: csi-addons#422
Signed-off-by: Niels de Vos <[email protected]>
Just like NetworkFence operations should be sent to a preferred
Controller Server, VolumeReplication operations should be sent
there as well.

Updates: csi-addons#422
Signed-off-by: Niels de Vos <[email protected]>
…ontroller

Just like NetworkFence operations should be sent to a preferred
Controller Server, the OFFLINE ReclaimSpace operations should be sent
there as well.

Updates: csi-addons#422
Signed-off-by: Niels de Vos <[email protected]>
Bumps the golang-dependencies group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.59.0...v1.60.0)
Bumps the k8s-dependencies group with 2 updates: [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) and [k8s.io/client-go](https://github.com/kubernetes/client-go).

Updates `k8s.io/apimachinery` from 0.28.4 to 0.29.0
- [Commits](kubernetes/apimachinery@v0.28.4...v0.29.0)

Updates `k8s.io/client-go` from 0.28.4 to 0.29.0
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](kubernetes/client-go@v0.28.4...v0.29.0)
@Rakshith-R
Copy link
Member

/cc @nixpanic

@openshift-ci openshift-ci bot requested a review from nixpanic December 19, 2023 13:14
@nixpanic
Copy link
Member

/lgtm
/approve

Copy link

openshift-ci bot commented Dec 19, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nixpanic, openshift-cherrypick-robot

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 8190460 into red-hat-storage:release-4.15 Dec 19, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants