questions.yaml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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. - "$kubernetes-resource_configmap_minio-config_protocol"
  14. host:
  15. - "$node_ip"
  16. ports:
  17. - "$variable-service.nodePort"
  18. questions:
  19. - variable: updateStrategy
  20. label: "Minio update strategy"
  21. group: "Workload Configuration"
  22. schema:
  23. type: string
  24. default: "RollingUpdate"
  25. enum:
  26. - value: "RollingUpdate"
  27. description: "Create new pods and then kill old ones"
  28. - value: "Recreate"
  29. description: "Kill existing pods before creating new ones"
  30. - variable: extraArgs
  31. label: "Minio Extra Arguments"
  32. group: "Minio Configuration"
  33. schema:
  34. type: list
  35. default: []
  36. items:
  37. - variable: arg
  38. label: "Argument"
  39. schema:
  40. type: string
  41. - variable: accessKey
  42. label: "Access Key"
  43. group: "Minio Configuration"
  44. description: "Enter the S3 access ID"
  45. schema:
  46. type: string
  47. private: true
  48. required: true
  49. min_length: 5
  50. max_length: 20
  51. - variable: secretKey
  52. label: "Secret Key"
  53. group: "Minio Configuration"
  54. description: "Enter the S3 secret access key"
  55. schema:
  56. type: string
  57. private: true
  58. required: true
  59. min_length: 8
  60. max_length: 40
  61. - variable: environmentVariables
  62. label: "Minio image environment"
  63. group: "Minio Configuration"
  64. schema:
  65. type: list
  66. default: []
  67. items:
  68. - variable: environmentVariable
  69. label: "Environment Variable"
  70. schema:
  71. type: dict
  72. attrs:
  73. - variable: name
  74. label: "Name"
  75. schema:
  76. type: string
  77. - variable: value
  78. label: "Value"
  79. schema:
  80. type: string
  81. - variable: service
  82. description: "Minio Service Configuration"
  83. label: "Minio Service Configuration"
  84. group: "Minio Configuration"
  85. schema:
  86. type: dict
  87. required: true
  88. attrs:
  89. - variable: nodePort
  90. label: "Node Port to use for Minio"
  91. schema:
  92. type: int
  93. min: 9000
  94. max: 65535
  95. default: 9000
  96. required: true
  97. - variable: certificate
  98. description: "Minio Certificate"
  99. label: "Minio Certificate"
  100. group: "Minio Configuration"
  101. schema:
  102. type: int
  103. $ref:
  104. - "definitions/certificate"
  105. - variable: appVolumeMounts
  106. label: "Minio Storage"
  107. group: "Storage"
  108. schema:
  109. type: dict
  110. attrs:
  111. - variable: export
  112. label: "Data Volume"
  113. schema:
  114. type: dict
  115. attrs:
  116. - variable: datasetName
  117. label: "Minio Data Volume Name"
  118. schema:
  119. type: string
  120. hidden: true
  121. $ref:
  122. - "normalize/ixVolume"
  123. show_if: [["hostPathEnabled", "=", false]]
  124. default: "ix-minio"
  125. editable: false
  126. - variable: mountPath
  127. label: "Minio Data Mount Path"
  128. description: "Path where the volume will be mounted inside the pod"
  129. schema:
  130. type: path
  131. hidden: true
  132. editable: false
  133. default: "/export"
  134. - variable: hostPathEnabled
  135. label: "Enable Host Path for Minio Data Volume"
  136. schema:
  137. type: boolean
  138. default: false
  139. show_subquestions_if: true
  140. subquestions:
  141. - variable: hostPath
  142. label: "Host Path for Minio Data Volume"
  143. schema:
  144. type: hostpath
  145. required: true