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

Updates for v1.7.0 #33

Merged
merged 7 commits into from
Nov 4, 2024
Merged

Updates for v1.7.0 #33

merged 7 commits into from
Nov 4, 2024

Conversation

iamjoemccormick
Copy link
Member

@iamjoemccormick iamjoemccormick commented Oct 31, 2024

This PR addresses a number of housekeeping items for the driver and operator and prepares for the v1.7.0 release. See individual commits for details.

Dependency Update Notes

This section includes any notes related to updating dependencies not already covered in the commit messages and/or a comment elsewhere.

New Operator Test Warnings

Operator test ($operator make build test) are now returning a warning that did not previously occur:

[...]
•Creating ns =  test-73812
Used Names:  [default kube-node-lease kube-public kube-system test-10991 test-12390 test-18231 test-25529 test-25960 test-32860 test-64306 test-70028 test-70689 test-72984 test-8954 test-90633 test-91250 test-95789 test-96201]
•W1101 15:33:57.430755  269448 reflector.go:484] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers.go:106: watch of *v1.CSIDriver ended with: an error on the server ("unable to decode an event from the watch stream: context canceled") has prevented the request from succeeding
[...]

My initial reaction was that I did not correctly adapt setting up the manager with the new DefaultNamespaces but there is no change even if I omit configuring a Cache entirely. Additionally all other functionality is working as expected, including deploying the operator+driver with and without a namespace.

The warning is coming from the K8s Go client. I suspect this is an issue with how the tests are being executed, and not actually an issue with the operator. I tried bumping the version of Ginkgo but the error persists. Because this warning appears benign I'm choosing to ignore it for now.

@iamjoemccormick iamjoemccormick self-assigned this Oct 31, 2024
…libraries

- Add ControllerModifyVolume as an unimplemented method to comply with the CSI v1.9.0 spec.
- Embed unimplemented server types in controller, identity, and node servers per CSI v1.10.0 spec requirements.
- Replace deprecated e2eframework expects with gomega expects.
- Update manager.Options configuration to reflect controller-runtime API changes.

Resolves:
- https://github.com/ThinkParQ/beegfs-csi-driver/security/dependabot/27
- https://github.com/ThinkParQ/beegfs-csi-driver/security/dependabot/31
- https://github.com/ThinkParQ/beegfs-csi-driver/security/dependabot/29
Due to the previous dependency updates, the old version was incompatible and building the manager would fail:

Error: /home/runner/work/beegfs-csi-driver/beegfs-csi-driver/vendor/k8s.io/api/core/v1/doc.go:21:1: missing argument  (at <input>)
- Regenerate operator manifests and bundle.
- Kubectl deployment manifests.
- Nomad deployment manifests.
Support for volume expansion required adding the patch verb to the driver’s ClusterRole. To enable seamless upgrades from v1.6 to v1.7, the operator now requires permission to update ClusterRoles.
@iamjoemccormick iamjoemccormick added documentation Improvements or additions to documentation dependencies Updates to dependency versions ci/cd Additions or improvements to CI/CD workflows bug Something isn't working labels Nov 1, 2024
@iamjoemccormick iamjoemccormick marked this pull request as ready for review November 1, 2024 18:45
@iamjoemccormick iamjoemccormick merged commit 6752e2e into master Nov 4, 2024
24 checks passed
@iamjoemccormick iamjoemccormick deleted the iamjoe/v1.7.0-updates branch November 4, 2024 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ci/cd Additions or improvements to CI/CD workflows dependencies Updates to dependency versions documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant