questions.yaml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. portals:
  11. web_portal:
  12. protocols:
  13. - "http"
  14. host:
  15. - "$node_ip"
  16. ports:
  17. - "$variable-service.nodePort"
  18. questions:
  19. # Image related
  20. - variable: image
  21. description: "Docker Image Details"
  22. label: "Docker Image"
  23. group: "Container Images"
  24. schema:
  25. type: dict
  26. required: true
  27. attrs:
  28. - variable: repository
  29. description: "Docker image repository"
  30. label: "Image repository"
  31. schema:
  32. type: string
  33. default: "minio/minio"
  34. required: true
  35. - variable: tag
  36. description: "Tag to use for specified image"
  37. label: "Image Tag"
  38. schema:
  39. type: string
  40. default: "RELEASE.2020-11-19T23-48-16Z"
  41. - variable: pullPolicy
  42. description: "Docker Image Pull Policy"
  43. label: "Image Pull Policy"
  44. schema:
  45. type: string
  46. default: "IfNotPresent"
  47. enum:
  48. - value: "IfNotPresent"
  49. description: "Only pull image if not present on host"
  50. - value: "Always"
  51. description: "Always pull image even if present on host"
  52. - value: "Never"
  53. description: "Never pull image even if it's not present on host"
  54. - variable: updateStrategy
  55. label: "Minio update strategy"
  56. group: "Workload Configuration"
  57. schema:
  58. type: string
  59. default: "RollingUpdate"
  60. enum:
  61. - value: "RollingUpdate"
  62. description: "Create new pods and then kill old ones"
  63. - value: "Recreate"
  64. description: "Kill existing pods before creating new ones"
  65. - variable: extraArgs
  66. label: "Minio Extra Arguments"
  67. group: "Minio Configuration"
  68. schema:
  69. type: list
  70. default: []
  71. items:
  72. - variable: arg
  73. label: "Argument"
  74. schema:
  75. type: string
  76. - variable: accessKey
  77. label: "Access Key"
  78. group: "Minio Configuration"
  79. schema:
  80. type: string
  81. private: true
  82. required: true
  83. min_length: 5
  84. max_length: 20
  85. - variable: secretKey
  86. label: "Secret Key"
  87. group: "Minio Configuration"
  88. schema:
  89. type: string
  90. private: true
  91. required: true
  92. min_length: 8
  93. max_length: 40
  94. - variable: environment
  95. label: "Minio image environment"
  96. group: "Minio Configuration"
  97. schema:
  98. type: dict
  99. additional_attrs: true
  100. attrs: []
  101. - variable: service
  102. description: "Minio Service Configuration"
  103. label: "Minio Service Configuration"
  104. group: "Minio Configuration"
  105. schema:
  106. type: dict
  107. required: true
  108. attrs:
  109. - variable: nodePort
  110. label: "Node Port to use for Minio"
  111. schema:
  112. type: int
  113. min: 9000
  114. max: 65535
  115. default: 9000
  116. required: true
  117. - variable: minioHostPathEnabled
  118. label: "Configure Host Path for Minio data"
  119. group: "Storage"
  120. schema:
  121. type: boolean
  122. default: false
  123. show_subquestions_if: true
  124. subquestions:
  125. - variable: minioHostPath
  126. label: "Specify HostPath for Minio data"
  127. schema:
  128. type: hostpath
  129. - variable: minioDataVolume
  130. label: "Configure iXVolume"
  131. group: "Storage"
  132. schema:
  133. type: dict
  134. $ref:
  135. - "normalize/ixVolume"
  136. show_if: [["minioHostPathEnabled", "=", false]]
  137. attrs:
  138. - variable: mountPath
  139. label: "Mount Path"
  140. description: "Path where the volume will be mounted inside the pod"
  141. schema:
  142. type: path
  143. editable: false
  144. default: "/export"
  145. - variable: datasetName
  146. label: "Dataset Name"
  147. schema:
  148. type: string
  149. default: "ix-minio"
  150. editable: false