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

Update Kubernetes dependency to 1.19.2 and sidecars to latest #341

Merged
merged 3 commits into from
Sep 24, 2020

Conversation

adamwg
Copy link
Contributor

@adamwg adamwg commented Sep 11, 2020

Update our Kubernetes dependencies to 1.19.2. While we're here, update all the sidecars to their latest versions:

  • Provisioner 2.0.1 - requires an RBAC update for new permissions.
  • Attacher 3.0.0 - requires an RBAC update for new permissions.
  • Resizer 1.0.0 - requires the new commandline arg --handle-volume-inuse-error=false since we can handle online resizes.
  • Registrar 2.0.1

Copy link
Contributor

@timoreimann timoreimann left a comment

Choose a reason for hiding this comment

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

This looks good. A few remarks / questions:

  1. Strictly speaking, we do not need the flag to set ext4 since our driver implementation is already assuming ext4 if no explicit driver is set. Shouldn't make a difference, though less parameters to maintain may seem better.

  2. The external-provisioner change log says the following:

Add VolumeAttachment Lister to prevent calling DeleteVolume on the CSI plugin for volumes that are still attached to a kubernetes node. New RBAC rules for listing VolumeAttachment objects are required.

It sounds like we would need to extend the RBAC rules then?

  1. Similar remark on the csi-attacher change log::

RBAC policy was updated to allow the external-attacher to patch VolumeAttachment.Status.

Could you also add a change log entry? 🙏

@timoreimann
Copy link
Contributor

It also seems like the images are being moved to k8s.gcr.io now. Pulling from Quay still works though, so maybe that's to support a transitioning period.

@adamwg
Copy link
Contributor Author

adamwg commented Sep 22, 2020

Ah, I had updated the RBAC rules elsewhere for testing, but forgot to apply those changes here. Added.

Also updated the changelog, and got rid of the --default-fstype as suggested.

@timoreimann
Copy link
Contributor

Looking good. 👍

The CI is unhappy for what I believe to be reasons unrelated to your PR. (Other open, much more trivial PRs are failing too.) I'm investigating.

@timoreimann
Copy link
Contributor

CI is green. 🎉

@timoreimann
Copy link
Contributor

timoreimann commented Sep 24, 2020

We may want to bump the Kubernetes deps to 1.19.2 now that it's out, just so that we're on the latest version when this PR merges.

A couple of changes here other than the image tags:

1. Add `--handle-volume-inuse-error=false` to the resizer, since we handle
   online resizes.
2. Update RBAC rules for the provisioner and attacher to accommodate
   newly-required permissions.
@adamwg adamwg merged commit 15ecd75 into master Sep 24, 2020
@adamwg adamwg deleted the awg/1.19.1 branch September 24, 2020 22:42
@timoreimann timoreimann changed the title Update Kubernetes dependency to 1.19.1 and sidecars to latest Update Kubernetes dependency to 1.19.2 and sidecars to latest Oct 6, 2020
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.

2 participants