You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

221 lines
5.4 KiB

  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. name: ips.kubeovn.io
  5. spec:
  6. group: kubeovn.io
  7. versions:
  8. - name: v1
  9. served: true
  10. storage: true
  11. additionalPrinterColumns:
  12. - name: Provider
  13. type: string
  14. jsonPath: .spec.provider
  15. - name: IP
  16. type: string
  17. jsonPath: .spec.ipAddress
  18. - name: Mac
  19. type: string
  20. jsonPath: .spec.macAddress
  21. - name: Node
  22. type: string
  23. jsonPath: .spec.nodeName
  24. - name: Subnet
  25. type: string
  26. jsonPath: .spec.subnet
  27. schema:
  28. openAPIV3Schema:
  29. type: object
  30. properties:
  31. spec:
  32. type: object
  33. properties:
  34. podName:
  35. type: string
  36. namespace:
  37. type: string
  38. subnet:
  39. type: string
  40. attachSubnets:
  41. type: array
  42. items:
  43. type: string
  44. nodeName:
  45. type: string
  46. ipAddress:
  47. type: string
  48. attachIps:
  49. type: array
  50. items:
  51. type: string
  52. macAddress:
  53. type: string
  54. attachMacs:
  55. type: array
  56. items:
  57. type: string
  58. containerID:
  59. type: string
  60. scope: Cluster
  61. names:
  62. plural: ips
  63. singular: ip
  64. kind: IP
  65. shortNames:
  66. - ip
  67. ---
  68. apiVersion: apiextensions.k8s.io/v1
  69. kind: CustomResourceDefinition
  70. metadata:
  71. name: subnets.kubeovn.io
  72. spec:
  73. group: kubeovn.io
  74. versions:
  75. - name: v1
  76. served: true
  77. storage: true
  78. subresources:
  79. status: {}
  80. additionalPrinterColumns:
  81. - name: Protocol
  82. type: string
  83. jsonPath: .spec.protocol
  84. - name: CIDR
  85. type: string
  86. jsonPath: .spec.cidrBlock
  87. - name: Private
  88. type: boolean
  89. jsonPath: .spec.private
  90. - name: NAT
  91. type: boolean
  92. jsonPath: .spec.natOutgoing
  93. - name: Default
  94. type: boolean
  95. jsonPath: .spec.default
  96. - name: GatewayType
  97. type: string
  98. jsonPath: .spec.gatewayType
  99. - name: Used
  100. type: number
  101. jsonPath: .status.usingIPs
  102. - name: Available
  103. type: number
  104. jsonPath: .status.availableIPs
  105. schema:
  106. openAPIV3Schema:
  107. type: object
  108. properties:
  109. status:
  110. type: object
  111. properties:
  112. availableIPs:
  113. type: number
  114. usingIPs:
  115. type: number
  116. activateGateway:
  117. type: string
  118. conditions:
  119. type: array
  120. items:
  121. type: object
  122. properties:
  123. type:
  124. type: string
  125. status:
  126. type: string
  127. reason:
  128. type: string
  129. message:
  130. type: string
  131. lastUpdateTime:
  132. type: string
  133. lastTransitionTime:
  134. type: string
  135. spec:
  136. type: object
  137. properties:
  138. default:
  139. type: boolean
  140. protocol:
  141. type: string
  142. cidrBlock:
  143. type: string
  144. namespaces:
  145. type: array
  146. items:
  147. type: string
  148. gateway:
  149. type: string
  150. provider:
  151. type: string
  152. excludeIps:
  153. type: array
  154. items:
  155. type: string
  156. gatewayType:
  157. type: string
  158. allowSubnets:
  159. type: array
  160. items:
  161. type: string
  162. gatewayNode:
  163. type: string
  164. natOutgoing:
  165. type: boolean
  166. private:
  167. type: boolean
  168. vlan:
  169. type: string
  170. underlayGateway:
  171. type: boolean
  172. scope: Cluster
  173. names:
  174. plural: subnets
  175. singular: subnet
  176. kind: Subnet
  177. shortNames:
  178. - subnet
  179. ---
  180. apiVersion: apiextensions.k8s.io/v1
  181. kind: CustomResourceDefinition
  182. metadata:
  183. name: vlans.kubeovn.io
  184. spec:
  185. group: kubeovn.io
  186. versions:
  187. - name: v1
  188. served: true
  189. storage: true
  190. schema:
  191. openAPIV3Schema:
  192. type: object
  193. properties:
  194. spec:
  195. type: object
  196. properties:
  197. vlanId:
  198. type: integer
  199. providerInterfaceName:
  200. type: string
  201. logicalInterfaceName:
  202. type: string
  203. subnet:
  204. type: string
  205. additionalPrinterColumns:
  206. - name: VlanID
  207. type: string
  208. jsonPath: .spec.vlanId
  209. - name: ProviderInterfaceName
  210. type: string
  211. jsonPath: .spec.providerInterfaceName
  212. - name: Subnet
  213. type: string
  214. jsonPath: .spec.subnet
  215. scope: Cluster
  216. names:
  217. plural: vlans
  218. singular: vlan
  219. kind: Vlan
  220. shortNames:
  221. - vlan