-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2932 from fabriziopandini/improve-vm-operator-target
🌱 Improve vm operator target + use config/wcp
- Loading branch information
Showing
20 changed files
with
1,018 additions
and
324 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vm-operator.tmp |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vm-operator.yaml |
84 changes: 84 additions & 0 deletions
84
test/infrastructure/vm-operator/config/external-crds/cnsnodevmattachment-crd.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.6.2 | ||
name: cnsnodevmattachments.cns.vmware.com | ||
spec: | ||
conversion: | ||
strategy: None | ||
group: cns.vmware.com | ||
names: | ||
kind: CnsNodeVmAttachment | ||
listKind: CnsNodeVmAttachmentList | ||
plural: cnsnodevmattachments | ||
singular: cnsnodevmattachment | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: CnsNodeVmAttachment is the Schema for the cnsnodevmattachments | ||
API | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: CnsNodeVmAttachmentSpec defines the desired state of CnsNodeVmAttachment | ||
properties: | ||
nodeuuid: | ||
description: NodeUUID indicates the UUID of the node where the volume | ||
needs to be attached to. Here NodeUUID is the bios UUID of the node. | ||
type: string | ||
volumename: | ||
description: VolumeName indicates the name of the volume on the supervisor | ||
Cluster. This is guaranteed to be unique in Supervisor cluster. | ||
type: string | ||
required: | ||
- nodeuuid | ||
- volumename | ||
type: object | ||
status: | ||
description: CnsNodeVmAttachmentStatus defines the observed state of CnsNodeVmAttachment | ||
properties: | ||
attached: | ||
description: Indicates the volume is successfully attached. This field | ||
must only be set by the entity completing the attach operation, | ||
i.e. the CNS Operator. | ||
type: boolean | ||
error: | ||
description: The last error encountered during attach/detach operation, | ||
if any. This field must only be set by the entity completing the | ||
attach operation, i.e. the CNS Operator. | ||
type: string | ||
metadata: | ||
additionalProperties: | ||
type: string | ||
description: Before successful attach, this field is populated with | ||
CNS volume ID. Upon successful attach, this field is populated with | ||
any information returned by the attach operation. This field must | ||
only be set by the entity completing the attach operation, i.e. | ||
the CNS Operator | ||
type: object | ||
required: | ||
- attached | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
Oops, something went wrong.