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.

212 lines
4.1 KiB

  1. # Create all the CustomResourceDefinitions needed for
  2. apiVersion: apiextensions.k8s.io/v1beta1
  3. kind: CustomResourceDefinition
  4. metadata:
  5. name: felixconfigurations.crd.projectcalico.org
  6. spec:
  7. scope: Cluster
  8. group: crd.projectcalico.org
  9. version: v1
  10. names:
  11. kind: FelixConfiguration
  12. plural: felixconfigurations
  13. singular: felixconfiguration
  14. ---
  15. {% if calico_version is version('v3.6.0', '>=') %}
  16. apiVersion: apiextensions.k8s.io/v1beta1
  17. kind: CustomResourceDefinition
  18. metadata:
  19. name: ipamblocks.crd.projectcalico.org
  20. spec:
  21. scope: Cluster
  22. group: crd.projectcalico.org
  23. version: v1
  24. names:
  25. kind: IPAMBlock
  26. plural: ipamblocks
  27. singular: ipamblock
  28. ---
  29. apiVersion: apiextensions.k8s.io/v1beta1
  30. kind: CustomResourceDefinition
  31. metadata:
  32. name: blockaffinities.crd.projectcalico.org
  33. spec:
  34. scope: Cluster
  35. group: crd.projectcalico.org
  36. version: v1
  37. names:
  38. kind: BlockAffinity
  39. plural: blockaffinities
  40. singular: blockaffinity
  41. ---
  42. apiVersion: apiextensions.k8s.io/v1beta1
  43. kind: CustomResourceDefinition
  44. metadata:
  45. name: ipamhandles.crd.projectcalico.org
  46. spec:
  47. scope: Cluster
  48. group: crd.projectcalico.org
  49. version: v1
  50. names:
  51. kind: IPAMHandle
  52. plural: ipamhandles
  53. singular: ipamhandle
  54. ---
  55. apiVersion: apiextensions.k8s.io/v1beta1
  56. kind: CustomResourceDefinition
  57. metadata:
  58. name: ipamconfigs.crd.projectcalico.org
  59. spec:
  60. scope: Cluster
  61. group: crd.projectcalico.org
  62. version: v1
  63. names:
  64. kind: IPAMConfig
  65. plural: ipamconfigs
  66. singular: ipamconfig
  67. ---
  68. {% endif %}
  69. apiVersion: apiextensions.k8s.io/v1beta1
  70. kind: CustomResourceDefinition
  71. metadata:
  72. name: bgppeers.crd.projectcalico.org
  73. spec:
  74. scope: Cluster
  75. group: crd.projectcalico.org
  76. version: v1
  77. names:
  78. kind: BGPPeer
  79. plural: bgppeers
  80. singular: bgppeer
  81. ---
  82. apiVersion: apiextensions.k8s.io/v1beta1
  83. kind: CustomResourceDefinition
  84. metadata:
  85. name: bgpconfigurations.crd.projectcalico.org
  86. spec:
  87. scope: Cluster
  88. group: crd.projectcalico.org
  89. version: v1
  90. names:
  91. kind: BGPConfiguration
  92. plural: bgpconfigurations
  93. singular: bgpconfiguration
  94. ---
  95. apiVersion: apiextensions.k8s.io/v1beta1
  96. kind: CustomResourceDefinition
  97. metadata:
  98. name: ippools.crd.projectcalico.org
  99. spec:
  100. scope: Cluster
  101. group: crd.projectcalico.org
  102. version: v1
  103. names:
  104. kind: IPPool
  105. plural: ippools
  106. singular: ippool
  107. ---
  108. apiVersion: apiextensions.k8s.io/v1beta1
  109. kind: CustomResourceDefinition
  110. metadata:
  111. name: hostendpoints.crd.projectcalico.org
  112. spec:
  113. scope: Cluster
  114. group: crd.projectcalico.org
  115. version: v1
  116. names:
  117. kind: HostEndpoint
  118. plural: hostendpoints
  119. singular: hostendpoint
  120. ---
  121. apiVersion: apiextensions.k8s.io/v1beta1
  122. kind: CustomResourceDefinition
  123. metadata:
  124. name: clusterinformations.crd.projectcalico.org
  125. spec:
  126. scope: Cluster
  127. group: crd.projectcalico.org
  128. version: v1
  129. names:
  130. kind: ClusterInformation
  131. plural: clusterinformations
  132. singular: clusterinformation
  133. ---
  134. apiVersion: apiextensions.k8s.io/v1beta1
  135. kind: CustomResourceDefinition
  136. metadata:
  137. name: globalnetworkpolicies.crd.projectcalico.org
  138. spec:
  139. scope: Cluster
  140. group: crd.projectcalico.org
  141. version: v1
  142. names:
  143. kind: GlobalNetworkPolicy
  144. plural: globalnetworkpolicies
  145. singular: globalnetworkpolicy
  146. ---
  147. apiVersion: apiextensions.k8s.io/v1beta1
  148. kind: CustomResourceDefinition
  149. metadata:
  150. name: globalnetworksets.crd.projectcalico.org
  151. spec:
  152. scope: Cluster
  153. group: crd.projectcalico.org
  154. version: v1
  155. names:
  156. kind: GlobalNetworkSet
  157. plural: globalnetworksets
  158. singular: globalnetworkset
  159. ---
  160. apiVersion: apiextensions.k8s.io/v1beta1
  161. kind: CustomResourceDefinition
  162. metadata:
  163. name: networkpolicies.crd.projectcalico.org
  164. spec:
  165. scope: Namespaced
  166. group: crd.projectcalico.org
  167. version: v1
  168. names:
  169. kind: NetworkPolicy
  170. plural: networkpolicies
  171. singular: networkpolicy
  172. {% if calico_version is version('v3.7.0', '>=') %}
  173. ---
  174. apiVersion: apiextensions.k8s.io/v1beta1
  175. kind: CustomResourceDefinition
  176. metadata:
  177. name: networksets.crd.projectcalico.org
  178. spec:
  179. scope: Namespaced
  180. group: crd.projectcalico.org
  181. version: v1
  182. names:
  183. kind: NetworkSet
  184. plural: networksets
  185. singular: networkset
  186. {% endif %}