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

volumes: rename existing volume resources #344

Merged
merged 2 commits into from
Jul 11, 2023
Merged

Conversation

lgfa29
Copy link
Contributor

@lgfa29 lgfa29 commented Jul 11, 2023

Rename nomad_volume to nomad_csi_volume_registration and nomad_external_volume to nomad_csi_volume to better reflect their intended use.

The deprecated top-level fields access_mode and attachment_mode were not moved to the new resource.

The previous resources are now marked as deprecated.

It's kind of hard to spot the differences between the original and new files, so here's a diff of them:
https://gist.github.com/lgfa29/c2a0c588da8724c3fd916b3e97f98b4b

Rename `nomad_volume` to `nomad_csi_volume_registration` and
`nomad_external_volume` to `nomad_csi_volume` to better reflect their
intended use.

The deprecated top-level fields `access_mode` and `attachment_mode` were
not moved to the new resource.

The previous resources are now marked as deprecated.
Copy link
Member

@jrasell jrasell left a comment

Choose a reason for hiding this comment

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

LGTM!

Base automatically changed from upgrade-sdkv2 to main July 11, 2023 15:05
@lgfa29 lgfa29 merged commit 4afd543 into main Jul 11, 2023
2 checks passed
@lgfa29 lgfa29 deleted the rename-volume-resources branch July 11, 2023 15:21
@lgfa29 lgfa29 added this to the 2.0.0 milestone Aug 15, 2023
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.

None yet

2 participants