questions.yaml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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: "Netdata Configuration"
  7. description: "Configure Netdata credentials"
  8. - name: "Storage"
  9. description: "Configure Storage for Netdata"
  10. - name: "Advanced DNS Settings"
  11. description: "Configure DNS settings"
  12. portals:
  13. web_portal:
  14. protocols:
  15. - "http"
  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: environmentVariables
  48. label: "Netdata image environment"
  49. group: "Netdata Configuration"
  50. schema:
  51. type: list
  52. default: []
  53. items:
  54. - variable: environmentVariable
  55. label: "Environment Variable"
  56. schema:
  57. type: dict
  58. attrs:
  59. - variable: name
  60. label: "Name"
  61. schema:
  62. type: string
  63. - variable: value
  64. label: "Value"
  65. schema:
  66. type: string
  67. - variable: service
  68. description: "Netdata Service Configuration"
  69. label: "Netdata Service Configuration"
  70. group: "Netdata Configuration"
  71. schema:
  72. type: dict
  73. required: true
  74. attrs:
  75. - variable: nodePort
  76. label: "Node Port to use for Netdata UI"
  77. schema:
  78. type: int
  79. min: 9000
  80. max: 65535
  81. default: 20489
  82. required: true
  83. - variable: appVolumeMounts
  84. label: "Netdata Storage"
  85. group: "Storage"
  86. schema:
  87. immutable: true
  88. type: dict
  89. attrs:
  90. - variable: netdataconfig
  91. label: "Configuration Volume"
  92. schema:
  93. type: dict
  94. attrs:
  95. - variable: datasetName
  96. label: "Configuration Volume Name"
  97. schema:
  98. type: string
  99. hidden: true
  100. $ref:
  101. - "normalize/ixVolume"
  102. show_if: [ [ "hostPathEnabled", "=", false ] ]
  103. default: "ix-config"
  104. editable: false
  105. - variable: mountPath
  106. label: "Configuration Mount Path"
  107. description: "Path where the volume will be mounted inside the pod"
  108. schema:
  109. type: path
  110. hidden: true
  111. editable: false
  112. default: "/etc/netdata"
  113. - variable: hostPathEnabled
  114. label: "Enable Host Path for Netdata Configuration Volume"
  115. schema:
  116. type: boolean
  117. default: false
  118. show_subquestions_if: true
  119. subquestions:
  120. - variable: hostPath
  121. label: "Host Path for Netdata Configuration Volume"
  122. schema:
  123. type: hostpath
  124. required: true
  125. immutable: true
  126. - variable: netdatacache
  127. label: "Cache Volume"
  128. schema:
  129. type: dict
  130. attrs:
  131. - variable: datasetName
  132. label: "Cache Volume Name"
  133. schema:
  134. type: string
  135. hidden: true
  136. $ref:
  137. - "normalize/ixVolume"
  138. show_if: [["hostPathEnabled", "=", false]]
  139. default: "ix-cache"
  140. editable: false
  141. - variable: mountPath
  142. label: "Cache Mount Path"
  143. description: "Path where the volume will be mounted inside the pod"
  144. schema:
  145. type: path
  146. hidden: true
  147. editable: false
  148. default: "/var/cache/netdata"
  149. - variable: hostPathEnabled
  150. label: "Enable Host Path for Netdata Cache Volume"
  151. schema:
  152. type: boolean
  153. default: false
  154. show_subquestions_if: true
  155. subquestions:
  156. - variable: hostPath
  157. label: "Host Path for Netdata Cache Volume"
  158. schema:
  159. type: hostpath
  160. required: true
  161. immutable: true
  162. - variable: netdatalib
  163. label: "Netdata Library Volume"
  164. schema:
  165. type: dict
  166. attrs:
  167. - variable: datasetName
  168. label: "Netdata Library Volume Name"
  169. schema:
  170. type: string
  171. hidden: true
  172. $ref:
  173. - "normalize/ixVolume"
  174. show_if: [ [ "hostPathEnabled", "=", false ] ]
  175. default: "ix-lib"
  176. editable: false
  177. - variable: mountPath
  178. label: "Netdata Library Mount Path"
  179. description: "Path where the volume will be mounted inside the pod"
  180. schema:
  181. type: path
  182. hidden: true
  183. editable: false
  184. default: "/var/lib/netdata"
  185. - variable: hostPathEnabled
  186. label: "Enable Host Path for Netdata Library Volume"
  187. schema:
  188. type: boolean
  189. default: false
  190. show_subquestions_if: true
  191. subquestions:
  192. - variable: hostPath
  193. label: "Host Path for Netdata Library Volume"
  194. schema:
  195. type: hostpath
  196. required: true
  197. immutable: true
  198. - variable: extraAppVolumeMounts
  199. label: "Extra Host Path Volumes"
  200. group: "Storage"
  201. schema:
  202. type: list
  203. items:
  204. - variable: extraAppVolume
  205. label: "Host Path Volume"
  206. description: "Add an extra host path volume for Netdata application"
  207. schema:
  208. type: dict
  209. attrs:
  210. - variable: mountPath
  211. label: "Mount Path in Pod"
  212. description: "Path where the volume will be mounted inside the pod"
  213. schema:
  214. type: path
  215. required: true
  216. - variable: hostPath
  217. label: "Host Path"
  218. description: "Host path"
  219. schema:
  220. type: hostpath
  221. required: true