Skip to content

Commit c8cad39

Browse files
committed
crd add description2
Signed-off-by: clyi <[email protected]>
1 parent 0661c5b commit c8cad39

File tree

3 files changed

+174
-0
lines changed

3 files changed

+174
-0
lines changed

charts/kube-ovn-v2/crds/kube-ovn-crd.yaml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ spec:
127127
properties:
128128
namespace:
129129
type: string
130+
description: Namespace of the pod
130131
vip:
131132
type: string
132133
sessionAffinity:
@@ -2342,6 +2343,7 @@ spec:
23422343
type: string
23432344
routeTable:
23442345
type: string
2346+
description: Route table for the subnet
23452347
type: object
23462348
type: array
23472349
policyRoutes:
@@ -2440,6 +2442,7 @@ spec:
24402442
type: array
24412443
default:
24422444
type: boolean
2445+
description: Whether this is the default subnet
24432446
defaultLogicalSwitch:
24442447
type: string
24452448
router:
@@ -2448,8 +2451,10 @@ spec:
24482451
type: boolean
24492452
enableExternal:
24502453
type: boolean
2454+
description: Enable external connectivity for the VPC
24512455
enableBfd:
24522456
type: boolean
2457+
description: Enable BFD (Bidirectional Forwarding Detection) for the VPC
24532458
subnets:
24542459
items:
24552460
type: string
@@ -2779,36 +2784,52 @@ spec:
27792784
properties:
27802785
v4availableIPs:
27812786
type: number
2787+
description: Number of available IPv4 addresses
27822788
v4usingIPs:
27832789
type: number
2790+
description: Number of used IPv4 addresses
27842791
v6availableIPs:
27852792
type: number
2793+
description: Number of available IPv6 addresses
27862794
v6usingIPs:
27872795
type: number
2796+
description: Number of used IPv6 addresses
27882797
activateGateway:
27892798
type: string
2799+
description: Active gateway node for the subnet
27902800
dhcpV4OptionsUUID:
27912801
type: string
2802+
description: UUID of DHCPv4 options
27922803
dhcpV6OptionsUUID:
27932804
type: string
2805+
description: UUID of DHCPv6 options
27942806
u2oInterconnectionIP:
27952807
type: string
2808+
description: IP address for underlay to overlay interconnection
27962809
u2oInterconnectionMAC:
27972810
type: string
2811+
description: MAC address for underlay to overlay interconnection
27982812
u2oInterconnectionVPC:
27992813
type: string
2814+
description: VPC for underlay to overlay interconnection
28002815
mcastQuerierIP:
28012816
type: string
2817+
description: Multicast querier IP address
28022818
mcastQuerierMAC:
28032819
type: string
2820+
description: Multicast querier MAC address
28042821
v4usingIPrange:
28052822
type: string
2823+
description: Used IPv4 address range
28062824
v4availableIPrange:
28072825
type: string
2826+
description: Available IPv4 address range
28082827
v6usingIPrange:
28092828
type: string
2829+
description: Used IPv6 address range
28102830
v6availableIPrange:
28112831
type: string
2832+
description: Available IPv6 address range
28122833
natOutgoingPolicyRules:
28132834
type: array
28142835
items:
@@ -2850,40 +2871,52 @@ spec:
28502871
properties:
28512872
vpc:
28522873
type: string
2874+
description: VPC name for the subnet
28532875
default:
28542876
type: boolean
2877+
description: Whether this is the default subnet
28552878
protocol:
28562879
type: string
2880+
description: Network protocol (IPv4, IPv6, or Dual)
28572881
enum:
28582882
- IPv4
28592883
- IPv6
28602884
- Dual
28612885
cidrBlock:
28622886
type: string
2887+
description: CIDR block for the subnet
28632888
namespaces:
28642889
type: array
2890+
description: List of namespaces using this subnet
28652891
items:
28662892
type: string
28672893
gateway:
28682894
type: string
2895+
description: Gateway IP address for the subnet
28692896
provider:
28702897
type: string
2898+
description: Underlying network provider
28712899
excludeIps:
28722900
type: array
2901+
description: List of IP addresses to exclude from allocation
28732902
items:
28742903
type: string
28752904
vips:
28762905
type: array
2906+
description: List of virtual IP addresses
28772907
items:
28782908
type: string
28792909
gatewayType:
28802910
type: string
2911+
description: Type of gateway (distributed or centralized)
28812912
allowSubnets:
28822913
type: array
2914+
description: List of subnets allowed to communicate with this subnet
28832915
items:
28842916
type: string
28852917
gatewayNode:
28862918
type: string
2919+
description: Gateway node for the subnet
28872920
gatewayNodeSelectors:
28882921
type: array
28892922
items:
@@ -2908,14 +2941,18 @@ spec:
29082941
type: string
29092942
natOutgoing:
29102943
type: boolean
2944+
description: Enable NAT for outgoing traffic
29112945
externalEgressGateway:
29122946
type: string
2947+
description: External egress gateway for the subnet
29132948
policyRoutingPriority:
29142949
type: integer
2950+
description: Priority for policy routing
29152951
minimum: 1
29162952
maximum: 32765
29172953
policyRoutingTableID:
29182954
type: integer
2955+
description: Table ID for policy routing
29192956
minimum: 1
29202957
maximum: 2147483647
29212958
not:
@@ -2926,30 +2963,42 @@ spec:
29262963
- 255 # local
29272964
mtu:
29282965
type: integer
2966+
description: Maximum Transmission Unit for the subnet
29292967
minimum: 68
29302968
maximum: 65535
29312969
private:
29322970
type: boolean
2971+
description: Whether the subnet is private
29332972
vlan:
29342973
type: string
2974+
description: VLAN ID for the subnet
29352975
logicalGateway:
29362976
type: boolean
2977+
description: Whether to use logical gateway
29372978
disableGatewayCheck:
29382979
type: boolean
2980+
description: Disable gateway connectivity check
29392981
disableInterConnection:
29402982
type: boolean
2983+
description: Disable inter-connection between subnets
29412984
enableDHCP:
29422985
type: boolean
2986+
description: Enable DHCP for the subnet
29432987
dhcpV4Options:
29442988
type: string
2989+
description: DHCPv4 options for the subnet
29452990
dhcpV6Options:
29462991
type: string
2992+
description: DHCPv6 options for the subnet
29472993
enableIPv6RA:
29482994
type: boolean
2995+
description: Enable IPv6 Router Advertisement
29492996
ipv6RAConfigs:
29502997
type: string
2998+
description: IPv6 Router Advertisement configurations
29512999
allowEWTraffic:
29523000
type: boolean
3001+
description: Allow east-west traffic between pods in the subnet
29533002
acls:
29543003
type: array
29553004
items:
@@ -2993,20 +3042,28 @@ spec:
29933042
type: string
29943043
u2oInterconnection:
29953044
type: boolean
3045+
description: Enable underlay to overlay interconnection
29963046
u2oInterconnectionIP:
29973047
type: string
3048+
description: IP address for underlay to overlay interconnection
29983049
enableLb:
29993050
type: boolean
3051+
description: Enable load balancer for the subnet
30003052
enableEcmp:
30013053
type: boolean
3054+
description: Enable ECMP (Equal-Cost Multi-Path) routing
30023055
enableMulticastSnoop:
30033056
type: boolean
3057+
description: Enable multicast snooping
30043058
enableExternalLBAddress:
30053059
type: boolean
3060+
description: Enable external load balancer address
30063061
routeTable:
30073062
type: string
3063+
description: Route table for the subnet
30083064
namespaceSelectors:
30093065
type: array
3066+
description: Label selectors to choose namespaces using this subnet
30103067
items:
30113068
type: object
30123069
properties:
@@ -3029,6 +3086,7 @@ spec:
30293086
type: string
30303087
nodeNetwork:
30313088
type: string
3089+
description: Node network for the subnet
30323090
scope: Cluster
30333091
names:
30343092
plural: subnets

0 commit comments

Comments
 (0)