Skip to content

Bump csi-lib to v0.10.0 and update related deps#419

Merged
cert-manager-prow[bot] merged 1 commit into
cert-manager:mainfrom
wallrj-cyberark:csi-lib-v0.10.0
Dec 10, 2025
Merged

Bump csi-lib to v0.10.0 and update related deps#419
cert-manager-prow[bot] merged 1 commit into
cert-manager:mainfrom
wallrj-cyberark:csi-lib-v0.10.0

Conversation

@wallrj-cyberark
Copy link
Copy Markdown
Member

Manual update because there's a breaking change. Originally attempted by Renovate in:

ℹ️ In a followup PR, we can enable the new csi-lib metrics, but I just wanted to keep this as simple as possible so that I can do a quick security release.

I ran make vendor-go generate to update the LICENSES and go.sum files.

  • Add context.Context parameter to internal csi driver.New
  • Propagate ctx from NewCommand to driver and underlying CSI driver
  • Bump dependencies (csi-lib, csi-lib-utils, otel, grpc, k8s/mount-utils)
  • Update LICENSES to reflect removed/updated dependency entries

Similar to the changes in csi-driver:

- Add context.Context parameter to internal csi driver.New
- Propagate ctx from NewCommand to driver and underlying CSI driver
- Bump dependencies (csi-lib, csi-lib-utils, otel, grpc, k8s/mount-utils)
- Update LICENSES to reflect removed/updated dependency entries

Signed-off-by: Richard Wall <richard.wall@cyberark.com>
@cert-manager-prow cert-manager-prow Bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 10, 2025
Comment thread internal/csi/app/app.go
}

driver, err := driver.New(opts.Logr, driver.Options{
driver, err := driver.New(ctx, opts.Logr, driver.Options{
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The csi-lib driver requires both context and logr. It doesn't use logr.FromContext.


// New constructs a new Driver instance.
func New(log logr.Logger, opts Options) (*Driver, error) {
func New(ctx context.Context, log logr.Logger, opts Options) (*Driver, error) {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I decided to use the same function signature as the csi-lib driver.New constructor, for consistency. But it could in future be modified to use logr.FromContext:

Copy link
Copy Markdown
Member

@SgtCoDFish SgtCoDFish left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

Cheers!

@cert-manager-prow cert-manager-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Dec 10, 2025
@cert-manager-prow
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SgtCoDFish

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

The pull request process is described here

Details 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

@cert-manager-prow cert-manager-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 10, 2025
@cert-manager-prow cert-manager-prow Bot merged commit cc80c83 into cert-manager:main Dec 10, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants