bundles.automationbroker.io.yaml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. ---
  2. apiVersion: apiextensions.k8s.io/v1beta1
  3. kind: CustomResourceDefinition
  4. metadata:
  5. name: bundles.automationbroker.io
  6. spec:
  7. group: automationbroker.io
  8. version: v1
  9. scope: Namespaced
  10. names:
  11. plural: bundles
  12. singular: bundle
  13. kind: Bundle
  14. validation:
  15. # openAPIV3Schema is the schema for validating custom objects.
  16. openAPIV3Schema:
  17. properties:
  18. spec:
  19. properties:
  20. runtime:
  21. type: integer
  22. minimum: 1
  23. maximum: 2
  24. version:
  25. type: string
  26. pattern: '^[\d]+.[\d*]+$'
  27. fqName:
  28. type: string
  29. image:
  30. type: string
  31. tags:
  32. type: array
  33. items:
  34. type: string
  35. bindable:
  36. type: boolean
  37. description:
  38. type: string
  39. metadata:
  40. type: string
  41. async:
  42. type: string
  43. pattern: '^(optional|required|unsupported)$'
  44. plans:
  45. type: array
  46. minItems: 1
  47. items:
  48. type: object
  49. properties:
  50. id:
  51. type: string
  52. name:
  53. type: string
  54. description:
  55. type: string
  56. metadata:
  57. type: string
  58. free:
  59. type: boolean
  60. bindable:
  61. type: boolean
  62. updatesTo:
  63. type: array
  64. items:
  65. type: string
  66. parameters:
  67. type: array
  68. items:
  69. type: object
  70. properties:
  71. name:
  72. type: string
  73. title:
  74. type: string
  75. type:
  76. type: string
  77. description:
  78. type: string
  79. default:
  80. type: string
  81. deprecateMaxLength:
  82. type: integer
  83. maxLength:
  84. type: integer
  85. minLength:
  86. type: integer
  87. pattern:
  88. type: string
  89. multipleOf:
  90. type: float
  91. maximum:
  92. type: float
  93. exclusiveMaximum:
  94. type: float
  95. minimum:
  96. type: float
  97. exclusiveMinimum:
  98. type: float
  99. enum:
  100. type: array
  101. items:
  102. type: string
  103. required:
  104. type: boolean
  105. updatable:
  106. type: boolean
  107. displayType:
  108. type: string
  109. displayGroup:
  110. type: string
  111. bindParameters:
  112. type: array
  113. properties:
  114. name:
  115. type: string
  116. title:
  117. type: string
  118. type:
  119. type: string
  120. description:
  121. type: string
  122. default:
  123. type: string
  124. deprecateMaxLength:
  125. type: integer
  126. maxLength:
  127. type: integer
  128. minLength:
  129. type: integer
  130. pattern:
  131. type: string
  132. multipleOf:
  133. type: float
  134. maximum:
  135. type: float
  136. exclusiveMaximum:
  137. type: float
  138. minimum:
  139. type: float
  140. exclusiveMinimum:
  141. type: float
  142. enum:
  143. type: array
  144. items:
  145. type: string
  146. required:
  147. type: boolean
  148. updatable:
  149. type: boolean
  150. displayType:
  151. type: string
  152. displayGroup:
  153. type: string