questions.yaml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. groups:
  2. - name: n8n Configuration
  3. description: Configure n8n
  4. - name: User and Group Configuration
  5. description: Configure User and Group for n8n
  6. - name: Network Configuration
  7. description: Configure Network for n8n
  8. - name: Storage Configuration
  9. description: Configure Storage for n8n
  10. - name: Resources Configuration
  11. description: Configure Resources for n8n
  12. portals:
  13. web_portal:
  14. protocols:
  15. - "$kubernetes-resource_configmap_portal_protocol"
  16. host:
  17. - "$kubernetes-resource_configmap_portal_host"
  18. ports:
  19. - "$kubernetes-resource_configmap_portal_port"
  20. path: "$kubernetes-resource_configmap_portal_path"
  21. questions:
  22. - variable: n8nConfig
  23. label: ""
  24. group: n8n Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: webHost
  29. label: n8n Host
  30. description: |
  31. The host address.</br>
  32. Examples:</br>
  33. n8n.example.com </br>
  34. 192.168.1.100
  35. schema:
  36. type: string
  37. default: ""
  38. required: true
  39. $ref:
  40. - "definitions/nodeIP"
  41. - variable: additionalEnvs
  42. label: Additional Environment Variables
  43. description: Configure additional environment variables for n8n.
  44. schema:
  45. type: list
  46. default: []
  47. items:
  48. - variable: env
  49. label: Environment Variable
  50. schema:
  51. type: dict
  52. attrs:
  53. - variable: name
  54. label: Name
  55. schema:
  56. type: string
  57. required: true
  58. - variable: value
  59. label: Value
  60. schema:
  61. type: string
  62. required: true
  63. - variable: n8nRunAs
  64. label: ""
  65. group: User and Group Configuration
  66. schema:
  67. type: dict
  68. attrs:
  69. - variable: user
  70. label: User ID
  71. description: The user id that n8n will run as.
  72. schema:
  73. type: int
  74. min: 2
  75. default: 568
  76. required: true
  77. - variable: group
  78. label: Group ID
  79. description: The group id that n8n will run as.
  80. schema:
  81. type: int
  82. min: 2
  83. default: 568
  84. required: true
  85. - variable: n8nNetwork
  86. label: ""
  87. group: Network Configuration
  88. schema:
  89. type: dict
  90. attrs:
  91. - variable: webPort
  92. label: Web Port
  93. description: The port for the n8n WebUI.
  94. schema:
  95. type: int
  96. default: 30068
  97. min: 9000
  98. max: 65535
  99. required: true
  100. - variable: hostNetwork
  101. label: Host Network
  102. description: |
  103. Bind to the host network. It's recommended to keep this disabled.
  104. schema:
  105. type: boolean
  106. default: false
  107. - variable: certificateID
  108. label: Certificate
  109. description: The certificate to use for n8n
  110. schema:
  111. type: int
  112. "null": true
  113. $ref:
  114. - "definitions/certificate"
  115. - variable: n8nStorage
  116. label: ""
  117. group: Storage Configuration
  118. schema:
  119. type: dict
  120. attrs:
  121. - variable: data
  122. label: n8n Data Storage
  123. description: The path to store n8n data.
  124. schema:
  125. type: dict
  126. attrs:
  127. - variable: type
  128. label: Type
  129. description: |
  130. ixVolume: Is dataset created automatically by the system.</br>
  131. Host Path: Is a path that already exists on the system.
  132. schema:
  133. type: string
  134. required: true
  135. default: ixVolume
  136. enum:
  137. - value: hostPath
  138. description: Host Path (Path that already exists on the system)
  139. - value: ixVolume
  140. description: ixVolume (Dataset created automatically by the system)
  141. - variable: datasetName
  142. label: Dataset Name
  143. schema:
  144. type: string
  145. show_if: [["type", "=", "ixVolume"]]
  146. required: true
  147. hidden: true
  148. immutable: true
  149. default: data
  150. $ref:
  151. - "normalize/ixVolume"
  152. - variable: hostPath
  153. label: Host Path
  154. schema:
  155. type: hostpath
  156. show_if: [["type", "=", "hostPath"]]
  157. immutable: true
  158. required: true
  159. - variable: pgData
  160. label: n8n Postgres Data Storage
  161. description: The path to store n8n Postgres Data.
  162. schema:
  163. type: dict
  164. attrs:
  165. - variable: type
  166. label: Type
  167. description: |
  168. ixVolume: Is dataset created automatically by the system.</br>
  169. Host Path: Is a path that already exists on the system.
  170. schema:
  171. type: string
  172. required: true
  173. default: ixVolume
  174. enum:
  175. - value: hostPath
  176. description: Host Path (Path that already exists on the system)
  177. - value: ixVolume
  178. description: ixVolume (Dataset created automatically by the system)
  179. - variable: datasetName
  180. label: Dataset Name
  181. schema:
  182. type: string
  183. show_if: [["type", "=", "ixVolume"]]
  184. required: true
  185. hidden: true
  186. immutable: true
  187. default: pgData
  188. $ref:
  189. - "normalize/ixVolume"
  190. - variable: hostPath
  191. label: Host Path
  192. schema:
  193. type: hostpath
  194. show_if: [["type", "=", "hostPath"]]
  195. immutable: true
  196. required: true
  197. - variable: pgBackup
  198. label: n8n Postgres Backup Storage
  199. description: The path to store n8n Postgres Backup.
  200. schema:
  201. type: dict
  202. attrs:
  203. - variable: type
  204. label: Type
  205. description: |
  206. ixVolume: Is dataset created automatically by the system.</br>
  207. Host Path: Is a path that already exists on the system.
  208. schema:
  209. type: string
  210. required: true
  211. default: ixVolume
  212. enum:
  213. - value: hostPath
  214. description: Host Path (Path that already exists on the system)
  215. - value: ixVolume
  216. description: ixVolume (Dataset created automatically by the system)
  217. - variable: datasetName
  218. label: Dataset Name
  219. schema:
  220. type: string
  221. show_if: [["type", "=", "ixVolume"]]
  222. required: true
  223. hidden: true
  224. immutable: true
  225. default: pgBackup
  226. $ref:
  227. - "normalize/ixVolume"
  228. - variable: hostPath
  229. label: Host Path
  230. schema:
  231. type: hostpath
  232. show_if: [["type", "=", "hostPath"]]
  233. immutable: true
  234. required: true
  235. - variable: additionalStorages
  236. label: Additional Storage
  237. description: Additional storage for n8n.
  238. schema:
  239. type: list
  240. default: []
  241. items:
  242. - variable: storageEntry
  243. label: Storage Entry
  244. schema:
  245. type: dict
  246. attrs:
  247. - variable: type
  248. label: Type
  249. description: |
  250. ixVolume: Is dataset created automatically by the system.</br>
  251. Host Path: Is a path that already exists on the system.
  252. schema:
  253. type: string
  254. required: true
  255. default: "ixVolume"
  256. immutable: true
  257. enum:
  258. - value: "hostPath"
  259. description: Host Path (Path that already exists on the system)
  260. - value: "ixVolume"
  261. description: ixVolume (Dataset created automatically by the system)
  262. - value: "smb-pv-pvc"
  263. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  264. - variable: mountPath
  265. label: Mount Path
  266. description: The path inside the container to mount the storage.
  267. schema:
  268. type: path
  269. required: true
  270. - variable: hostPath
  271. label: Host Path
  272. description: The host path to use for storage.
  273. schema:
  274. type: hostpath
  275. show_if: [["type", "=", "hostPath"]]
  276. required: true
  277. - variable: datasetName
  278. label: Dataset Name
  279. description: The name of the dataset to use for storage.
  280. schema:
  281. type: string
  282. show_if: [["type", "=", "ixVolume"]]
  283. required: true
  284. immutable: true
  285. default: "storage_entry"
  286. $ref:
  287. - "normalize/ixVolume"
  288. - variable: server
  289. label: Server
  290. description: The server for the SMB share.
  291. schema:
  292. type: string
  293. show_if: [["type", "=", "smb-pv-pvc"]]
  294. required: true
  295. - variable: share
  296. label: Share
  297. description: The share name for the SMB share.
  298. schema:
  299. type: string
  300. show_if: [["type", "=", "smb-pv-pvc"]]
  301. required: true
  302. - variable: domain
  303. label: Domain (Optional)
  304. description: The domain for the SMB share.
  305. schema:
  306. type: string
  307. show_if: [["type", "=", "smb-pv-pvc"]]
  308. - variable: username
  309. label: Username
  310. description: The username for the SMB share.
  311. schema:
  312. type: string
  313. show_if: [["type", "=", "smb-pv-pvc"]]
  314. required: true
  315. - variable: password
  316. label: Password
  317. description: The password for the SMB share.
  318. schema:
  319. type: string
  320. show_if: [["type", "=", "smb-pv-pvc"]]
  321. required: true
  322. private: true
  323. - variable: size
  324. label: Size (in Gi)
  325. description: The size of the volume quota.
  326. schema:
  327. type: int
  328. show_if: [["type", "=", "smb-pv-pvc"]]
  329. required: true
  330. min: 1
  331. default: 1
  332. - variable: resources
  333. label: ""
  334. group: Resources Configuration
  335. schema:
  336. type: dict
  337. attrs:
  338. - variable: limits
  339. label: Limits
  340. schema:
  341. type: dict
  342. attrs:
  343. - variable: cpu
  344. label: CPU
  345. description: CPU limit for n8n.
  346. schema:
  347. type: string
  348. max_length: 6
  349. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  350. valid_chars_error: |
  351. Valid CPU limit formats are</br>
  352. - Plain Integer - eg. 1</br>
  353. - Float - eg. 0.5</br>
  354. - Milicpu - eg. 500m
  355. default: "4000m"
  356. required: true
  357. - variable: memory
  358. label: Memory
  359. description: Memory limit for n8n.
  360. schema:
  361. type: string
  362. max_length: 12
  363. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  364. valid_chars_error: |
  365. Valid Memory limit formats are</br>
  366. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  367. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  368. - Plain Integer in bytes - eg. 1024</br>
  369. - Exponent - eg. 134e6
  370. default: "8Gi"
  371. required: true