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

Upgrade sig storage lib external provisioner #445

Merged

Conversation

rorosen
Copy link
Contributor

@rorosen rorosen commented Aug 23, 2024

This also requires to update the minimun go version from 1.21 to 1.22.,
as sig-storage-lib-external-provisioner requires at least go 1.22.0.
Additionally, sig-storage-lib-external-provisioner now uses patch
to modify finalizers on PersistentVolumes, meaning that external
provisioners now need permission rules to patch PersistentVolumes.
The permission is already present in deploy/local-path-storage.yaml.

https://github.com/kubernetes-sigs/sig-storage-lib-external-provisioner/releases/tag/v10.0.0
https://github.com/kubernetes-sigs/sig-storage-lib-external-provisioner/releases/tag/v10.0.1

Steps executed:

  • Update to sig-storage-lib-external-provisioner/v10 v10.0.1
  • go mod tidy
  • go mod vendor

Fixes #179.

@rorosen
Copy link
Contributor Author

rorosen commented Aug 30, 2024

Tests pass locally with make && make e2e-test

--- PASS: TestPVCTestSuite (227.23s)
    --- PASS: TestPVCTestSuite/TestPodWithCustomPathPatternStorageClasses (41.71s)
    --- PASS: TestPVCTestSuite/TestPodWithHostPathVolume (20.26s)
    --- PASS: TestPVCTestSuite/TestPodWithLocalVolume (13.02s)
    --- PASS: TestPVCTestSuite/TestPodWithLocalVolumeDefault (13.28s)
    --- PASS: TestPVCTestSuite/TestPodWithNodeAffinity (13.02s)
    --- PASS: TestPVCTestSuite/TestPodWithRWOPVolume (12.93s)
    --- PASS: TestPVCTestSuite/TestPodWithSecurityContext (27.10s)
    --- PASS: TestPVCTestSuite/TestPodWithSubpath (40.10s)
PASS

@derekbit
Copy link
Member

Tests pass locally with make && make e2e-test

--- PASS: TestPVCTestSuite (227.23s)
    --- PASS: TestPVCTestSuite/TestPodWithCustomPathPatternStorageClasses (41.71s)
    --- PASS: TestPVCTestSuite/TestPodWithHostPathVolume (20.26s)
    --- PASS: TestPVCTestSuite/TestPodWithLocalVolume (13.02s)
    --- PASS: TestPVCTestSuite/TestPodWithLocalVolumeDefault (13.28s)
    --- PASS: TestPVCTestSuite/TestPodWithNodeAffinity (13.02s)
    --- PASS: TestPVCTestSuite/TestPodWithRWOPVolume (12.93s)
    --- PASS: TestPVCTestSuite/TestPodWithSecurityContext (27.10s)
    --- PASS: TestPVCTestSuite/TestPodWithSubpath (40.10s)
PASS

Thanks @rorosen
I'm checking why it failed in the ci runner.

@derekbit derekbit force-pushed the upgrade-sig-storage-lib-external-provisioner branch from e77a6d9 to 8f134a3 Compare August 30, 2024 14:45
rorosen and others added 2 commits August 30, 2024 15:09
This also requires to update the minimun go version from 1.21 to 1.22.0,
as sig-storage-lib-external-provisioner requires at least go 1.22.0.
Additionally, sig-storage-lib-external-provisioner now uses patch
to modify finalizers on PersistentVolumes, meaning that external
provisioners now need permission rules to patch PersistentVolumes.

https://github.com/kubernetes-sigs/sig-storage-lib-external-provisioner/releases/tag/v10.0.0
https://github.com/kubernetes-sigs/sig-storage-lib-external-provisioner/releases/tag/v10.0.1

Signed-off-by: Robert Rose <robert.rose@mailbox.org>
Signed-off-by: Derek Su <derek.su@suse.com>
@derekbit derekbit force-pushed the upgrade-sig-storage-lib-external-provisioner branch from 8f134a3 to afbdd4b Compare August 30, 2024 15:10
Copy link
Contributor Author

@rorosen rorosen left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks for cleaning up the commits @derekbit

@derekbit derekbit merged commit f3062c0 into rancher:master Aug 30, 2024
2 checks passed
@superherointj
Copy link

superherointj commented Aug 30, 2024

Thanks @rorosen @derekbit !

@rorosen rorosen deleted the upgrade-sig-storage-lib-external-provisioner branch August 30, 2024 15:45
@derekbit
Copy link
Member

Thanks for the contribution @rorosen.

lumiere-bot bot added a commit to coolguy1771/home-ops that referenced this pull request Sep 3, 2024
…9 ) (#5335)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[local-path-provisioner](https://redirect.github.com/rancher/local-path-provisioner)
| patch | `v0.0.28` -> `v0.0.29` |

---

### Release Notes

<details>
<summary>rancher/local-path-provisioner
(local-path-provisioner)</summary>

###
[`v0.0.29`](https://redirect.github.com/rancher/local-path-provisioner/releases/tag/v0.0.29):
Local Path Provisioner v0.0.29

[Compare
Source](https://redirect.github.com/rancher/local-path-provisioner/compare/v0.0.28...v0.0.29)

#### What's Changed

- Update Go to 1.22.5 by
[@&#8203;unguiculus](https://redirect.github.com/unguiculus) in
[rancher/local-path-provisioner#435
- vendor: update dependencies by
[@&#8203;derekbit](https://redirect.github.com/derekbit) in
[rancher/local-path-provisioner#446
- Upgrade sig storage lib external provisioner by
[@&#8203;rorosen](https://redirect.github.com/rorosen) in
[rancher/local-path-provisioner#445
- chore(workflow): add "Scan With Trivy and Upload Results to GitHub
Security Tab" by
[@&#8203;derekbit](https://redirect.github.com/derekbit) in
[rancher/local-path-provisioner#448
- Bugfix: pvs not deleting was: Remove the assumption that a node's name
== its hostname by [@&#8203;jan-g](https://redirect.github.com/jan-g) in
[rancher/local-path-provisioner#414
- Bump to v0.0.29 by
[@&#8203;derekbit](https://redirect.github.com/derekbit) in
[rancher/local-path-provisioner#450

#### Contributors

-   [@&#8203;unguiculus](https://redirect.github.com/unguiculus)
-   [@&#8203;galal-hussein](https://redirect.github.com/galal-hussein)
-   [@&#8203;jamshidi799](https://redirect.github.com/jamshidi799)
-   [@&#8203;rorosen](https://redirect.github.com/rorosen)
-   [@&#8203;jan-g](https://redirect.github.com/jan-g)

</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://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC42NC4yIiwidXBkYXRlZEluVmVyIjoiMzguNjQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUvZ2l0aHViLXJlbGVhc2UiLCJ0eXBlL3BhdGNoIl19-->

Co-authored-by: lumiere-bot[bot] <98047013+lumiere-bot[bot]@users.noreply.github.com>
lumiere-bot bot added a commit to coolguy1771/home-ops that referenced this pull request Sep 3, 2024
…9 ) (#5334)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[local-path-provisioner](https://redirect.github.com/rancher/local-path-provisioner)
| patch | `v0.0.28` -> `v0.0.29` |

---

### Release Notes

<details>
<summary>rancher/local-path-provisioner
(local-path-provisioner)</summary>

###
[`v0.0.29`](https://redirect.github.com/rancher/local-path-provisioner/releases/tag/v0.0.29):
Local Path Provisioner v0.0.29

[Compare
Source](https://redirect.github.com/rancher/local-path-provisioner/compare/v0.0.28...v0.0.29)

#### What's Changed

- Update Go to 1.22.5 by
[@&#8203;unguiculus](https://redirect.github.com/unguiculus) in
[rancher/local-path-provisioner#435
- vendor: update dependencies by
[@&#8203;derekbit](https://redirect.github.com/derekbit) in
[rancher/local-path-provisioner#446
- Upgrade sig storage lib external provisioner by
[@&#8203;rorosen](https://redirect.github.com/rorosen) in
[rancher/local-path-provisioner#445
- chore(workflow): add "Scan With Trivy and Upload Results to GitHub
Security Tab" by
[@&#8203;derekbit](https://redirect.github.com/derekbit) in
[rancher/local-path-provisioner#448
- Bugfix: pvs not deleting was: Remove the assumption that a node's name
== its hostname by [@&#8203;jan-g](https://redirect.github.com/jan-g) in
[rancher/local-path-provisioner#414
- Bump to v0.0.29 by
[@&#8203;derekbit](https://redirect.github.com/derekbit) in
[rancher/local-path-provisioner#450

#### Contributors

-   [@&#8203;unguiculus](https://redirect.github.com/unguiculus)
-   [@&#8203;galal-hussein](https://redirect.github.com/galal-hussein)
-   [@&#8203;jamshidi799](https://redirect.github.com/jamshidi799)
-   [@&#8203;rorosen](https://redirect.github.com/rorosen)
-   [@&#8203;jan-g](https://redirect.github.com/jan-g)

</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://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC42NC4yIiwidXBkYXRlZEluVmVyIjoiMzguNjQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUvZ2l0aHViLXJlbGVhc2UiLCJ0eXBlL3BhdGNoIl19-->

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.

Fix manager termination
3 participants