questions.yaml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. groups:
  2. - name: Iconik Storage Gateway Configuration
  3. description: Configure Iconik Storage Gateway
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Iconik Storage Gateway
  6. - name: Storage Configuration
  7. description: Configure Storage for Iconik Storage Gateway
  8. - name: Labels Configuration
  9. description: Configure Labels for Iconik Storage Gateway
  10. - name: Resources Configuration
  11. description: Configure Resources for Iconik Storage Gateway
  12. questions:
  13. - variable: TZ
  14. group: Iconik Storage Gateway Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: iconik
  23. label: ""
  24. group: Iconik Storage Gateway Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: auth_token
  29. label: Auth Token
  30. description: The auth token to use for Iconik Storage Gateway.
  31. schema:
  32. type: string
  33. default: ""
  34. required: true
  35. private: true
  36. - variable: app_id
  37. label: App ID
  38. description: The app id to use for Iconik Storage Gateway.
  39. schema:
  40. type: string
  41. default: ""
  42. required: true
  43. private: true
  44. - variable: storage_id
  45. label: Storage ID
  46. description: The storage id to use for Iconik Storage Gateway.
  47. schema:
  48. type: string
  49. default: ""
  50. required: true
  51. private: true
  52. - variable: additional_envs
  53. label: Additional Environment Variables
  54. schema:
  55. type: list
  56. default: []
  57. items:
  58. - variable: env
  59. label: Environment Variable
  60. schema:
  61. type: dict
  62. attrs:
  63. - variable: name
  64. label: Name
  65. schema:
  66. type: string
  67. required: true
  68. - variable: value
  69. label: Value
  70. schema:
  71. type: string
  72. - variable: run_as
  73. label: ""
  74. group: User and Group Configuration
  75. schema:
  76. type: dict
  77. attrs:
  78. - variable: user
  79. label: User ID
  80. description: The user id that Actual Budget files will be owned by.
  81. schema:
  82. type: int
  83. min: 568
  84. default: 568
  85. required: true
  86. - variable: group
  87. label: Group ID
  88. description: The group id that Actual Budget files will be owned by.
  89. schema:
  90. type: int
  91. min: 568
  92. default: 568
  93. required: true
  94. - variable: storage
  95. label: ""
  96. group: Storage Configuration
  97. schema:
  98. type: dict
  99. attrs:
  100. - variable: data
  101. label: Iconik Storage Gateway Data Storage
  102. description: The path to store Iconik Storage Gateway Data.
  103. schema:
  104. type: dict
  105. attrs:
  106. - variable: type
  107. label: Type
  108. description: |
  109. ixVolume: Is dataset created automatically by the system.</br>
  110. Host Path: Is a path that already exists on the system.
  111. schema:
  112. type: string
  113. required: true
  114. default: "ix_volume"
  115. enum:
  116. - value: "host_path"
  117. description: Host Path (Path that already exists on the system)
  118. - value: "ix_volume"
  119. description: ixVolume (Dataset created automatically by the system)
  120. - variable: ix_volume_config
  121. label: ixVolume Configuration
  122. description: The configuration for the ixVolume dataset.
  123. schema:
  124. type: dict
  125. show_if: [["type", "=", "ix_volume"]]
  126. $ref:
  127. - "normalize/ix_volume"
  128. attrs:
  129. - variable: acl_enable
  130. label: Enable ACL
  131. description: Enable ACL for the storage.
  132. schema:
  133. type: boolean
  134. default: false
  135. - variable: dataset_name
  136. label: Dataset Name
  137. description: The name of the dataset to use for storage.
  138. schema:
  139. type: string
  140. required: true
  141. hidden: true
  142. default: "data"
  143. - variable: acl_entries
  144. label: ACL Configuration
  145. schema:
  146. type: dict
  147. show_if: [["acl_enable", "=", true]]
  148. attrs: []
  149. - variable: host_path_config
  150. label: Host Path Configuration
  151. schema:
  152. type: dict
  153. show_if: [["type", "=", "host_path"]]
  154. attrs:
  155. - variable: acl_enable
  156. label: Enable ACL
  157. description: Enable ACL for the storage.
  158. schema:
  159. type: boolean
  160. default: false
  161. - variable: acl
  162. label: ACL Configuration
  163. schema:
  164. type: dict
  165. show_if: [["acl_enable", "=", true]]
  166. attrs: []
  167. $ref:
  168. - "normalize/acl"
  169. - variable: path
  170. label: Host Path
  171. description: The host path to use for storage.
  172. schema:
  173. type: hostpath
  174. show_if: [["acl_enable", "=", false]]
  175. required: true
  176. - variable: additional_storage
  177. label: Additional Storage
  178. schema:
  179. type: list
  180. default: []
  181. items:
  182. - variable: storageEntry
  183. label: Storage Entry
  184. schema:
  185. type: dict
  186. attrs:
  187. - variable: type
  188. label: Type
  189. description: |
  190. ixVolume: Is dataset created automatically by the system.</br>
  191. Host Path: Is a path that already exists on the system.</br>
  192. SMB Share: Is a SMB share that is mounted to as a volume.
  193. schema:
  194. type: string
  195. required: true
  196. default: "ix_volume"
  197. enum:
  198. - value: "host_path"
  199. description: Host Path (Path that already exists on the system)
  200. - value: "ix_volume"
  201. description: ixVolume (Dataset created automatically by the system)
  202. - value: "cifs"
  203. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  204. - variable: read_only
  205. label: Read Only
  206. description: Mount the volume as read only.
  207. schema:
  208. type: boolean
  209. default: false
  210. - variable: mount_path
  211. label: Mount Path
  212. description: The path inside the container to mount the storage.
  213. schema:
  214. type: path
  215. required: true
  216. - variable: host_path_config
  217. label: Host Path Configuration
  218. schema:
  219. type: dict
  220. show_if: [["type", "=", "host_path"]]
  221. attrs:
  222. - variable: acl_enable
  223. label: Enable ACL
  224. description: Enable ACL for the storage.
  225. schema:
  226. type: boolean
  227. default: false
  228. - variable: acl
  229. label: ACL Configuration
  230. schema:
  231. type: dict
  232. show_if: [["acl_enable", "=", true]]
  233. attrs: []
  234. $ref:
  235. - "normalize/acl"
  236. - variable: path
  237. label: Host Path
  238. description: The host path to use for storage.
  239. schema:
  240. type: hostpath
  241. show_if: [["acl_enable", "=", false]]
  242. required: true
  243. - variable: ix_volume_config
  244. label: ixVolume Configuration
  245. description: The configuration for the ixVolume dataset.
  246. schema:
  247. type: dict
  248. show_if: [["type", "=", "ix_volume"]]
  249. $ref:
  250. - "normalize/ix_volume"
  251. attrs:
  252. - variable: acl_enable
  253. label: Enable ACL
  254. description: Enable ACL for the storage.
  255. schema:
  256. type: boolean
  257. default: false
  258. - variable: dataset_name
  259. label: Dataset Name
  260. description: The name of the dataset to use for storage.
  261. schema:
  262. type: string
  263. required: true
  264. default: "storage_entry"
  265. - variable: acl_entries
  266. label: ACL Configuration
  267. schema:
  268. type: dict
  269. show_if: [["acl_enable", "=", true]]
  270. attrs: []
  271. $ref:
  272. - "normalize/acl"
  273. - variable: cifs_config
  274. label: SMB Configuration
  275. description: The configuration for the SMB dataset.
  276. schema:
  277. type: dict
  278. show_if: [["type", "=", "cifs"]]
  279. attrs:
  280. - variable: server
  281. label: Server
  282. description: The server to mount the SMB share.
  283. schema:
  284. type: string
  285. required: true
  286. - variable: path
  287. label: Path
  288. description: The path to mount the SMB share.
  289. schema:
  290. type: string
  291. required: true
  292. - variable: username
  293. label: Username
  294. description: The username to use for the SMB share.
  295. schema:
  296. type: string
  297. required: true
  298. - variable: password
  299. label: Password
  300. description: The password to use for the SMB share.
  301. schema:
  302. type: string
  303. required: true
  304. private: true
  305. - variable: domain
  306. label: Domain
  307. description: The domain to use for the SMB share.
  308. schema:
  309. type: string
  310. - variable: labels
  311. label: ""
  312. group: Labels Configuration
  313. schema:
  314. type: list
  315. default: []
  316. items:
  317. - variable: label
  318. label: Label
  319. schema:
  320. type: dict
  321. attrs:
  322. - variable: key
  323. label: Key
  324. schema:
  325. type: string
  326. required: true
  327. - variable: value
  328. label: Value
  329. schema:
  330. type: string
  331. required: true
  332. - variable: containers
  333. label: Containers
  334. description: Containers where the label should be applied
  335. schema:
  336. type: list
  337. items:
  338. - variable: container
  339. label: Container
  340. schema:
  341. type: string
  342. required: true
  343. enum:
  344. - value: iconik
  345. description: iconik
  346. - variable: resources
  347. label: ""
  348. group: Resources Configuration
  349. schema:
  350. type: dict
  351. attrs:
  352. - variable: limits
  353. label: Limits
  354. schema:
  355. type: dict
  356. attrs:
  357. - variable: cpus
  358. label: CPUs
  359. description: CPUs limit for Iconik Storage Gateway.
  360. schema:
  361. type: int
  362. default: 2
  363. required: true
  364. - variable: memory
  365. label: Memory (in MB)
  366. description: Memory limit for Iconik Storage Gateway.
  367. schema:
  368. type: int
  369. default: 4096
  370. required: true