crd: add Kubernetes CRD module for vim APIs#3989
Draft
akutz wants to merge 1 commit intovmware:mainfrom
Draft
Conversation
f39f779 to
b918a0c
Compare
Introduces a new `crd` Go module that defines Kubernetes Custom Resource Definitions for VMware vSphere (vim) API types under the `vim.vmware.com` API group. The `crd/pkg/vim/api/v1alpha1` package provides the following CRD types: - VirtualMachineConfigOptions: represents hardware config options for a given VMX hardware version - VirtualMachineConfigTarget: represents available devices and options for a compute resource - ClusterConfigTarget: cluster-level config target info - Virtual device types covering controllers, disks, ethernet adapters, and device backings Also included: - A Makefile with controller-gen-based code generation - Generated DeepCopy functions (zz_generated.deepcopy.go) - Generated CRD YAML manifests under config/crd/bases/ - XML test fixtures for VMX hardware versions 10-22, including vGPU and SR-IOV scenarios Signed-off-by: akutz <andrew.kutz@broadcom.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Introduces a new
crdGo module that defines Kubernetes Custom Resource Definitions for VMware vSphere (vim) API types under thevim.vmware.comAPI group.The
crd/pkg/vim/api/v1alpha1package provides the following CRD types:Also included:
Closes:
NAHow Has This Been Tested?
By successfully generating the CRDs. Tests will be added soon to validate them loading into a K8s kind cluster via GH action testing.
Guidelines
Please read and follow the
CONTRIBUTIONguidelines of this project.