|
|
@ -243,24 +243,34 @@ spec: |
|
|
|
spec: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
id: |
|
|
|
type: integer |
|
|
|
minimum: 0 |
|
|
|
maximum: 4095 |
|
|
|
provider: |
|
|
|
type: string |
|
|
|
vlanId: |
|
|
|
type: integer |
|
|
|
description: Deprecated in favor of id |
|
|
|
providerInterfaceName: |
|
|
|
type: string |
|
|
|
logicalInterfaceName: |
|
|
|
type: string |
|
|
|
subnet: |
|
|
|
type: string |
|
|
|
description: Deprecated in favor of provider |
|
|
|
required: |
|
|
|
- provider |
|
|
|
status: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
subnets: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
type: string |
|
|
|
additionalPrinterColumns: |
|
|
|
- name: VlanID |
|
|
|
- name: ID |
|
|
|
type: string |
|
|
|
jsonPath: .spec.vlanId |
|
|
|
- name: ProviderInterfaceName |
|
|
|
type: string |
|
|
|
jsonPath: .spec.providerInterfaceName |
|
|
|
- name: Subnet |
|
|
|
jsonPath: .spec.id |
|
|
|
- name: Provider |
|
|
|
type: string |
|
|
|
jsonPath: .spec.subnet |
|
|
|
jsonPath: .spec.provider |
|
|
|
scope: Cluster |
|
|
|
names: |
|
|
|
plural: vlans |
|
|
@ -271,6 +281,83 @@ spec: |
|
|
|
--- |
|
|
|
apiVersion: apiextensions.k8s.io/v1 |
|
|
|
kind: CustomResourceDefinition |
|
|
|
metadata: |
|
|
|
name: provider-networks.kubeovn.io |
|
|
|
spec: |
|
|
|
group: kubeovn.io |
|
|
|
versions: |
|
|
|
- name: v1 |
|
|
|
served: true |
|
|
|
storage: true |
|
|
|
schema: |
|
|
|
openAPIV3Schema: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
spec: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
defaultInterface: |
|
|
|
type: string |
|
|
|
customInterfaces: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
interface: |
|
|
|
type: string |
|
|
|
nodes: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
type: string |
|
|
|
excludeNodes: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
type: string |
|
|
|
required: |
|
|
|
- defaultInterface |
|
|
|
status: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
readyNodes: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
type: string |
|
|
|
vlans: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
type: string |
|
|
|
conditions: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
node: |
|
|
|
type: string |
|
|
|
type: |
|
|
|
type: string |
|
|
|
status: |
|
|
|
type: string |
|
|
|
reason: |
|
|
|
type: string |
|
|
|
message: |
|
|
|
type: string |
|
|
|
lastUpdateTime: |
|
|
|
type: string |
|
|
|
lastTransitionTime: |
|
|
|
type: string |
|
|
|
additionalPrinterColumns: |
|
|
|
- name: DefaultInterface |
|
|
|
type: string |
|
|
|
jsonPath: .spec.defaultInterface |
|
|
|
scope: Cluster |
|
|
|
names: |
|
|
|
plural: provider-networks |
|
|
|
singular: provider-network |
|
|
|
kind: ProviderNetwork |
|
|
|
listKind: ProviderNetworkList |
|
|
|
--- |
|
|
|
apiVersion: apiextensions.k8s.io/v1 |
|
|
|
kind: CustomResourceDefinition |
|
|
|
metadata: |
|
|
|
name: vpcs.kubeovn.io |
|
|
|
spec: |
|
|
|