forked from vmware-tanzu/nsx-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
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 vmware-tanzu#654 from TaoZou1/main-sync
Main sync
- Loading branch information
Showing
138 changed files
with
10,013 additions
and
1,250 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,65 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.14.0 | ||
name: addressbindings.nsx.vmware.com | ||
spec: | ||
group: nsx.vmware.com | ||
names: | ||
kind: AddressBinding | ||
listKind: AddressBindingList | ||
plural: addressbindings | ||
singular: addressbinding | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: AddressBinding is used to manage 1:1 NAT for a VM/NetworkInterface. | ||
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: | ||
properties: | ||
interfaceName: | ||
description: InterfaceName contains the interface name of the VM, | ||
if not set, the first interface of the VM will be used | ||
type: string | ||
vmName: | ||
description: VMName contains the VM's name | ||
type: string | ||
required: | ||
- vmName | ||
type: object | ||
status: | ||
properties: | ||
ipAddress: | ||
type: string | ||
required: | ||
- ipAddress | ||
type: object | ||
required: | ||
- spec | ||
- status | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
107 changes: 107 additions & 0 deletions
107
build/yaml/crd/nsx.vmware.com_ipaddressallocations.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,107 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.14.0 | ||
name: ipaddressallocations.nsx.vmware.com | ||
spec: | ||
group: nsx.vmware.com | ||
names: | ||
kind: IPAddressAllocation | ||
listKind: IPAddressAllocationList | ||
plural: ipaddressallocations | ||
singular: ipaddressallocation | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- description: IPAddressBlockVisibility of IPAddressAllocation | ||
jsonPath: .spec.ip_address_block_visibility | ||
name: IPAddressBlockVisibility | ||
type: string | ||
- description: CIDRs for the IPAddressAllocation | ||
jsonPath: .status.cidr | ||
name: CIDR | ||
type: string | ||
name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: IPAddressAllocation is the Schema for the IP allocation 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: IPAddressAllocationSpec defines the desired state of IPAddressAllocation. | ||
properties: | ||
allocation_size: | ||
description: AllocationSize specifies the size of IP CIDR to be allocated. | ||
type: integer | ||
ip_address_block_visibility: | ||
default: Private | ||
description: IPAddressBlockVisibility specifies the visibility of | ||
the IPBlocks to allocate IP addresses. Can be External or Private. | ||
enum: | ||
- External | ||
- Private | ||
type: string | ||
type: object | ||
status: | ||
description: IPAddressAllocationStatus defines the observed state of IPAddressAllocation. | ||
properties: | ||
CIDR: | ||
description: CIDR is the allocated CIDR | ||
type: string | ||
conditions: | ||
items: | ||
description: Condition defines condition of custom resource. | ||
properties: | ||
lastTransitionTime: | ||
description: |- | ||
Last time the condition transitioned from one status to another. | ||
This should be when the underlying condition changed. If that is not known, then using the time when | ||
the API field changed is acceptable. | ||
format: date-time | ||
type: string | ||
message: | ||
description: Message shows a human-readable message about condition. | ||
type: string | ||
reason: | ||
description: Reason shows a brief reason of condition. | ||
type: string | ||
status: | ||
description: Status of the condition, one of True, False, Unknown. | ||
type: string | ||
type: | ||
description: Type defines condition type. | ||
type: string | ||
required: | ||
- status | ||
- type | ||
type: object | ||
type: array | ||
required: | ||
- CIDR | ||
type: object | ||
required: | ||
- metadata | ||
- spec | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
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
Oops, something went wrong.