Replies: 2 comments 5 replies
-
@adikul30 has the PR out for review - #2831 In this PR we are not checking if registered CR on the supervisor is v1a1 or v1a2. There is a comment regarding conversion in the webhook - #2831 (comment) with that driver does not need to check API version. |
Beta Was this translation helpful? Give feedback.
-
Hello @akutz, based on my conversation with @zyiyi11 - after an upgrade, the VMOP conversion webhook is supposed to convert VMs with v1a1 specs to v1a2 specs. That way any k8s clients using the VM spec post upgrade don't need to check the spec version and also don't need to have any fallback mechanism in the code to handle the older spec. The PR has been put up with this understanding in mind. Does that sound correct? |
Beta Was this translation helpful? Give feedback.
-
This is a question about the release process for the CSI driver for vSphere. We would like to update it to use the VM Operator v1alpha2 API schema to reduce the cost associated with webhook conversion. However, will this mean the CSI driver for vSphere will need to detect the installed API schema and determine if it is safe to use v1a2? We would like to avoid having to put that burden on y'all, but it's also clear we need to update at some point. Thanks!
cc @bryanv @aruneshpa
Beta Was this translation helpful? Give feedback.
All reactions