questions.yaml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  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. immutable: true
  136. default: ixVolume
  137. enum:
  138. - value: hostPath
  139. description: Host Path (Path that already exists on the system)
  140. - value: ixVolume
  141. description: ixVolume (Dataset created automatically by the system)
  142. - variable: datasetName
  143. label: Dataset Name
  144. schema:
  145. type: string
  146. show_if: [["type", "=", "ixVolume"]]
  147. required: true
  148. hidden: true
  149. immutable: true
  150. default: data
  151. $ref:
  152. - "normalize/ixVolume"
  153. - variable: hostPath
  154. label: Host Path
  155. schema:
  156. type: hostpath
  157. show_if: [["type", "=", "hostPath"]]
  158. immutable: true
  159. required: true
  160. - variable: pgData
  161. label: n8n Postgres Data Storage
  162. description: The path to store n8n Postgres Data.
  163. schema:
  164. type: dict
  165. attrs:
  166. - variable: type
  167. label: Type
  168. description: |
  169. ixVolume: Is dataset created automatically by the system.</br>
  170. Host Path: Is a path that already exists on the system.
  171. schema:
  172. type: string
  173. required: true
  174. immutable: true
  175. default: ixVolume
  176. enum:
  177. - value: hostPath
  178. description: Host Path (Path that already exists on the system)
  179. - value: ixVolume
  180. description: ixVolume (Dataset created automatically by the system)
  181. - variable: datasetName
  182. label: Dataset Name
  183. schema:
  184. type: string
  185. show_if: [["type", "=", "ixVolume"]]
  186. required: true
  187. hidden: true
  188. immutable: true
  189. default: pgData
  190. $ref:
  191. - "normalize/ixVolume"
  192. - variable: hostPath
  193. label: Host Path
  194. schema:
  195. type: hostpath
  196. show_if: [["type", "=", "hostPath"]]
  197. immutable: true
  198. required: true
  199. - variable: pgBackup
  200. label: n8n Postgres Backup Storage
  201. description: The path to store n8n Postgres Backup.
  202. schema:
  203. type: dict
  204. attrs:
  205. - variable: type
  206. label: Type
  207. description: |
  208. ixVolume: Is dataset created automatically by the system.</br>
  209. Host Path: Is a path that already exists on the system.
  210. schema:
  211. type: string
  212. required: true
  213. immutable: true
  214. default: ixVolume
  215. enum:
  216. - value: hostPath
  217. description: Host Path (Path that already exists on the system)
  218. - value: ixVolume
  219. description: ixVolume (Dataset created automatically by the system)
  220. - variable: datasetName
  221. label: Dataset Name
  222. schema:
  223. type: string
  224. show_if: [["type", "=", "ixVolume"]]
  225. required: true
  226. hidden: true
  227. immutable: true
  228. default: pgBackup
  229. $ref:
  230. - "normalize/ixVolume"
  231. - variable: hostPath
  232. label: Host Path
  233. schema:
  234. type: hostpath
  235. show_if: [["type", "=", "hostPath"]]
  236. immutable: true
  237. required: true
  238. - variable: additionalStorages
  239. label: Additional Storage
  240. description: Additional storage for n8n.
  241. schema:
  242. type: list
  243. default: []
  244. items:
  245. - variable: storageEntry
  246. label: Storage Entry
  247. schema:
  248. type: dict
  249. attrs:
  250. - variable: type
  251. label: Type
  252. description: |
  253. ixVolume: Is dataset created automatically by the system.</br>
  254. Host Path: Is a path that already exists on the system.</br>
  255. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  256. schema:
  257. type: string
  258. required: true
  259. default: "ixVolume"
  260. immutable: true
  261. enum:
  262. - value: "hostPath"
  263. description: Host Path (Path that already exists on the system)
  264. - value: "ixVolume"
  265. description: ixVolume (Dataset created automatically by the system)
  266. - value: "smb-pv-pvc"
  267. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  268. - variable: mountPath
  269. label: Mount Path
  270. description: The path inside the container to mount the storage.
  271. schema:
  272. type: path
  273. required: true
  274. - variable: hostPath
  275. label: Host Path
  276. description: The host path to use for storage.
  277. schema:
  278. type: hostpath
  279. show_if: [["type", "=", "hostPath"]]
  280. required: true
  281. - variable: datasetName
  282. label: Dataset Name
  283. description: The name of the dataset to use for storage.
  284. schema:
  285. type: string
  286. show_if: [["type", "=", "ixVolume"]]
  287. required: true
  288. immutable: true
  289. default: "storage_entry"
  290. $ref:
  291. - "normalize/ixVolume"
  292. - variable: server
  293. label: Server
  294. description: The server for the SMB share.
  295. schema:
  296. type: string
  297. show_if: [["type", "=", "smb-pv-pvc"]]
  298. required: true
  299. - variable: share
  300. label: Share
  301. description: The share name for the SMB share.
  302. schema:
  303. type: string
  304. show_if: [["type", "=", "smb-pv-pvc"]]
  305. required: true
  306. - variable: domain
  307. label: Domain (Optional)
  308. description: The domain for the SMB share.
  309. schema:
  310. type: string
  311. show_if: [["type", "=", "smb-pv-pvc"]]
  312. - variable: username
  313. label: Username
  314. description: The username for the SMB share.
  315. schema:
  316. type: string
  317. show_if: [["type", "=", "smb-pv-pvc"]]
  318. required: true
  319. - variable: password
  320. label: Password
  321. description: The password for the SMB share.
  322. schema:
  323. type: string
  324. show_if: [["type", "=", "smb-pv-pvc"]]
  325. required: true
  326. private: true
  327. - variable: size
  328. label: Size (in Gi)
  329. description: The size of the volume quota.
  330. schema:
  331. type: int
  332. show_if: [["type", "=", "smb-pv-pvc"]]
  333. required: true
  334. min: 1
  335. default: 1
  336. - variable: resources
  337. label: ""
  338. group: Resources Configuration
  339. schema:
  340. type: dict
  341. attrs:
  342. - variable: limits
  343. label: Limits
  344. schema:
  345. type: dict
  346. attrs:
  347. - variable: cpu
  348. label: CPU
  349. description: CPU limit for n8n.
  350. schema:
  351. type: string
  352. max_length: 6
  353. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  354. valid_chars_error: |
  355. Valid CPU limit formats are</br>
  356. - Plain Integer - eg. 1</br>
  357. - Float - eg. 0.5</br>
  358. - Milicpu - eg. 500m
  359. default: "4000m"
  360. required: true
  361. - variable: memory
  362. label: Memory
  363. description: Memory limit for n8n.
  364. schema:
  365. type: string
  366. max_length: 12
  367. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  368. valid_chars_error: |
  369. Valid Memory limit formats are</br>
  370. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  371. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  372. - Plain Integer in bytes - eg. 1024</br>
  373. - Exponent - eg. 134e6
  374. default: "8Gi"
  375. required: true