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

Syncing latest changes from upstream main for kubernetes-csi-addons #106

Merged
merged 10 commits into from
Dec 19, 2023

Conversation

df-build-team
Copy link

PR containing the latest commits from upstream main branch

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]>
@df-build-team df-build-team requested a review from a team December 12, 2023 08:04
@Rakshith-R
Copy link
Member

/hold

dependabot bot and others added 6 commits December 12, 2023 08:47
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v4...v5)

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

Signed-off-by: dependabot[bot] <[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)

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

Signed-off-by: dependabot[bot] <[email protected]>
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)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: k8s-dependencies
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: k8s-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@Rakshith-R
Copy link
Member

/un-hold
/lgtm

@Rakshith-R
Copy link
Member

/approve

@openshift-ci openshift-ci bot removed the lgtm label Dec 19, 2023
@Rakshith-R
Copy link
Member

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm label Dec 19, 2023
Copy link

openshift-ci bot commented Dec 19, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: df-build-team, Rakshith-R

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

@Rakshith-R
Copy link
Member

/refresh

@openshift-merge-bot openshift-merge-bot bot merged commit b4df6ec into main Dec 19, 2023
12 checks passed
@Rakshith-R
Copy link
Member

/cherry-pick release-4.15

@openshift-cherrypick-robot

@Rakshith-R: new pull request created: #107

In response to this:

/cherry-pick release-4.15

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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.

4 participants