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

Properly annotate OpenStack PVs on CCM/CSI migration #1482

Merged
merged 1 commit into from
Aug 31, 2021

Conversation

xmudrii
Copy link
Member

@xmudrii xmudrii commented Aug 31, 2021

What this PR does / why we need it:

As per the OpenStack CCM/CSI migration guide, all PersistentVolumes created with in-tree OpenStack plugin should be re-annotated with pv.kubernetes.io/provisioned-by=cinder.csi.openstack.org annotation.

I've researched and found out that volumes created with the in-tree OpenStack plugin have pv.kubernetes.io/provisioned-by=kubernetes.io/cinder annotation, so I use that annotation to find PVs that should be patched with a new annotation.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1452

Does this PR introduce a user-facing change?:

NONE

Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
@kubermatic-bot kubermatic-bot added release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. labels Aug 31, 2021
@kubermatic-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xmudrii

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

@kubermatic-bot kubermatic-bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 31, 2021
@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Aug 31, 2021
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 95b2244103215a004399b1b80c9bd40b05098718

@kubermatic-bot kubermatic-bot merged commit 7db9694 into master Aug 31, 2021
@kubermatic-bot kubermatic-bot added this to the KubeOne 1.3 milestone Aug 31, 2021
@kubermatic-bot kubermatic-bot deleted the openstack-annotate-pvs branch August 31, 2021 12:08
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 Denotes that all commits in the pull request have the valid DCO signoff message. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. 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.

Implement CCM/CSI migration for OpenStack
3 participants