questions.yaml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. groups:
  2. - name: "Container Images"
  3. description: "Image to be used for container"
  4. - name: "Workload Configuration"
  5. description: "Configure workload deployment"
  6. - name: "Storage"
  7. description: "Configure Storage for Nextcloud"
  8. - name: "Minio Configuration"
  9. description: "Configure Minio credentials"
  10. - name: "Advanced DNS Settings"
  11. description: "Configure DNS settings"
  12. portals:
  13. web_portal:
  14. protocols:
  15. - "$kubernetes-resource_configmap_minio-config_protocol"
  16. host:
  17. - "$node_ip"
  18. ports:
  19. - "$variable-service.nodePort"
  20. questions:
  21. - variable: dnsConfig
  22. label: "DNS Configuration"
  23. group: "Advanced DNS Settings"
  24. schema:
  25. type: dict
  26. attrs:
  27. - variable: options
  28. label: "DNS Options"
  29. schema:
  30. type: list
  31. items:
  32. - variable: optionsEntry
  33. label: "Option Entry Configuration"
  34. schema:
  35. type: dict
  36. attrs:
  37. - variable: name
  38. label: "Option Name"
  39. schema:
  40. type: string
  41. required: true
  42. - variable: value
  43. label: "Option Value"
  44. schema:
  45. type: string
  46. required: true
  47. - variable: updateStrategy
  48. label: "Minio update strategy"
  49. group: "Workload Configuration"
  50. schema:
  51. type: string
  52. default: "RollingUpdate"
  53. enum:
  54. - value: "RollingUpdate"
  55. description: "Create new pods and then kill old ones"
  56. - value: "Recreate"
  57. description: "Kill existing pods before creating new ones"
  58. - variable: extraArgs
  59. label: "Minio Extra Arguments"
  60. group: "Minio Configuration"
  61. schema:
  62. type: list
  63. default: []
  64. items:
  65. - variable: arg
  66. label: "Argument"
  67. schema:
  68. type: string
  69. - variable: accessKey
  70. label: "Access Key"
  71. group: "Minio Configuration"
  72. description: "Enter the S3 access ID"
  73. schema:
  74. type: string
  75. private: true
  76. required: true
  77. min_length: 5
  78. max_length: 20
  79. - variable: secretKey
  80. label: "Secret Key"
  81. group: "Minio Configuration"
  82. description: "Enter the S3 secret access key"
  83. schema:
  84. type: string
  85. private: true
  86. required: true
  87. min_length: 8
  88. max_length: 40
  89. - variable: environmentVariables
  90. label: "Minio image environment"
  91. group: "Minio Configuration"
  92. schema:
  93. type: list
  94. default: []
  95. items:
  96. - variable: environmentVariable
  97. label: "Environment Variable"
  98. schema:
  99. type: dict
  100. attrs:
  101. - variable: name
  102. label: "Name"
  103. schema:
  104. type: string
  105. - variable: value
  106. label: "Value"
  107. schema:
  108. type: string
  109. - variable: service
  110. description: "Minio Service Configuration"
  111. label: "Minio Service Configuration"
  112. group: "Minio Configuration"
  113. schema:
  114. type: dict
  115. required: true
  116. attrs:
  117. - variable: nodePort
  118. label: "Node Port to use for Minio"
  119. schema:
  120. type: int
  121. min: 9000
  122. max: 65535
  123. default: 9000
  124. required: true
  125. - variable: certificate
  126. description: "Minio Certificate"
  127. label: "Minio Certificate"
  128. group: "Minio Configuration"
  129. schema:
  130. type: int
  131. $ref:
  132. - "definitions/certificate"
  133. - variable: appVolumeMounts
  134. label: "Minio Storage"
  135. group: "Storage"
  136. schema:
  137. type: dict
  138. attrs:
  139. - variable: export
  140. label: "Data Volume"
  141. schema:
  142. type: dict
  143. attrs:
  144. - variable: datasetName
  145. label: "Minio Data Volume Name"
  146. schema:
  147. type: string
  148. hidden: true
  149. $ref:
  150. - "normalize/ixVolume"
  151. show_if: [["hostPathEnabled", "=", false]]
  152. default: "ix-minio"
  153. editable: false
  154. - variable: mountPath
  155. label: "Minio Data Mount Path"
  156. description: "Path where the volume will be mounted inside the pod"
  157. schema:
  158. type: path
  159. hidden: true
  160. editable: false
  161. default: "/export"
  162. - variable: hostPathEnabled
  163. label: "Enable Host Path for Minio Data Volume"
  164. schema:
  165. type: boolean
  166. default: false
  167. show_subquestions_if: true
  168. subquestions:
  169. - variable: hostPath
  170. label: "Host Path for Minio Data Volume"
  171. schema:
  172. type: hostpath
  173. required: true