Skip to content

api: update api version to v1beta1#216

Closed
black-dragon74 wants to merge 7 commits intoceph:mainfrom
black-dragon74:alpha-to-beta
Closed

api: update api version to v1beta1#216
black-dragon74 wants to merge 7 commits intoceph:mainfrom
black-dragon74:alpha-to-beta

Conversation

@black-dragon74
Copy link
Member

Describe what this PR does

This patch updates the API version from v1alpha1 to v1beta1

Closes: #43

This patch updates the API version from v1alpha1 to v1beta1

Signed-off-by: Niraj Yadav <niryadav@redhat.com>
Signed-off-by: Niraj Yadav <niryadav@redhat.com>
Signed-off-by: Niraj Yadav <niryadav@redhat.com>
Signed-off-by: Niraj Yadav <niryadav@redhat.com>
Signed-off-by: Niraj Yadav <niryadav@redhat.com>
Signed-off-by: Niraj Yadav <niryadav@redhat.com>
Signed-off-by: Niraj Yadav <niryadav@redhat.com>
@Madhu-1
Copy link
Collaborator

Madhu-1 commented Mar 19, 2025

@black-dragon74 have you tested this change? the ceph-csi-operator should surve both Alpha and Beta API's as we already have clusters for Alpha CRD.

@Madhu-1 Madhu-1 requested a review from nb-ohad March 19, 2025 07:07
@black-dragon74 black-dragon74 marked this pull request as draft March 19, 2025 07:59
Copy link
Collaborator

@nb-ohad nb-ohad left a comment

Choose a reason for hiding this comment

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

I believe that the PR is missing a conversion webhook. Without it k8s will not be able to convert forward and backward between the two version (even if the are identical)

Have we tested having a v1beta1 CR served as a v1alpha1 CR?

@black-dragon74
Copy link
Member Author

I believe that the PR is missing a conversion webhook.

Closing this one and following it at: #218

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.

CRD apiVersion for stable features running in production should be v1beta1

3 participants