questions.yaml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563
  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: ixVolumeConfig
  143. label: ixVolume Configuration
  144. description: The configuration for the ixVolume dataset.
  145. schema:
  146. type: dict
  147. show_if: [["type", "=", "ixVolume"]]
  148. $ref:
  149. - "normalize/ixVolume"
  150. attrs:
  151. - variable: aclEnable
  152. label: Enable ACL
  153. description: Enable ACL for the dataset.
  154. schema:
  155. type: boolean
  156. default: false
  157. - variable: datasetName
  158. label: Dataset Name
  159. description: The name of the dataset to use for storage.
  160. schema:
  161. type: string
  162. required: true
  163. immutable: true
  164. hidden: true
  165. default: "data"
  166. - variable: aclEntries
  167. label: ACL Configuration
  168. schema:
  169. type: dict
  170. show_if: [["aclEnable", "=", true]]
  171. attrs: []
  172. - variable: hostPathConfig
  173. label: Host Path Configuration
  174. schema:
  175. type: dict
  176. show_if: [["type", "=", "hostPath"]]
  177. attrs:
  178. - variable: aclEnable
  179. label: Enable ACL
  180. description: Enable ACL for the dataset.
  181. schema:
  182. type: boolean
  183. default: false
  184. - variable: acl
  185. label: ACL Configuration
  186. schema:
  187. type: dict
  188. show_if: [["aclEnable", "=", true]]
  189. attrs: []
  190. $ref:
  191. - "normalize/acl"
  192. - variable: hostPath
  193. label: Host Path
  194. description: The host path to use for storage.
  195. schema:
  196. type: hostpath
  197. show_if: [["aclEnable", "=", false]]
  198. required: true
  199. - variable: pgData
  200. label: n8n Postgres Data Storage
  201. description: The path to store n8n Postgres Data.
  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: ixVolumeConfig
  221. label: ixVolume Configuration
  222. description: The configuration for the ixVolume dataset.
  223. schema:
  224. type: dict
  225. # Nothing to show for the user
  226. hidden: true
  227. show_if: [["type", "=", "ixVolume"]]
  228. $ref:
  229. - "normalize/ixVolume"
  230. attrs:
  231. - variable: aclEnable
  232. label: Enable ACL
  233. description: Enable ACL for the dataset.
  234. schema:
  235. type: boolean
  236. # Postgres does a CHMOD at startup
  237. # Which fails with ACL
  238. hidden: true
  239. default: false
  240. - variable: datasetName
  241. label: Dataset Name
  242. description: The name of the dataset to use for storage.
  243. schema:
  244. type: string
  245. required: true
  246. immutable: true
  247. hidden: true
  248. default: "pgData"
  249. - variable: aclEntries
  250. label: ACL Configuration
  251. schema:
  252. type: dict
  253. show_if: [["aclEnable", "=", true]]
  254. attrs: []
  255. - variable: hostPathConfig
  256. label: Host Path Configuration
  257. schema:
  258. type: dict
  259. show_if: [["type", "=", "hostPath"]]
  260. attrs:
  261. - variable: aclEnable
  262. label: Enable ACL
  263. description: Enable ACL for the dataset.
  264. schema:
  265. type: boolean
  266. # Postgres does a CHMOD at startup
  267. # Which fails with ACL
  268. hidden: true
  269. default: false
  270. - variable: acl
  271. label: ACL Configuration
  272. schema:
  273. type: dict
  274. show_if: [["aclEnable", "=", true]]
  275. attrs: []
  276. $ref:
  277. - "normalize/acl"
  278. - variable: hostPath
  279. label: Host Path
  280. description: The host path to use for storage.
  281. schema:
  282. type: hostpath
  283. show_if: [["aclEnable", "=", false]]
  284. required: true
  285. - variable: pgBackup
  286. label: n8n Postgres Backup Storage
  287. description: The path to store n8n Postgres Backup.
  288. schema:
  289. type: dict
  290. attrs:
  291. - variable: type
  292. label: Type
  293. description: |
  294. ixVolume: Is dataset created automatically by the system.</br>
  295. Host Path: Is a path that already exists on the system.
  296. schema:
  297. type: string
  298. required: true
  299. immutable: true
  300. default: ixVolume
  301. enum:
  302. - value: hostPath
  303. description: Host Path (Path that already exists on the system)
  304. - value: ixVolume
  305. description: ixVolume (Dataset created automatically by the system)
  306. - variable: ixVolumeConfig
  307. label: ixVolume Configuration
  308. description: The configuration for the ixVolume dataset.
  309. schema:
  310. type: dict
  311. # Nothing to show for the user
  312. hidden: true
  313. show_if: [["type", "=", "ixVolume"]]
  314. $ref:
  315. - "normalize/ixVolume"
  316. attrs:
  317. - variable: aclEnable
  318. label: Enable ACL
  319. description: Enable ACL for the dataset.
  320. schema:
  321. type: boolean
  322. # Postgres does a CHMOD at startup
  323. # Which fails with ACL
  324. hidden: true
  325. default: false
  326. - variable: datasetName
  327. label: Dataset Name
  328. description: The name of the dataset to use for storage.
  329. schema:
  330. type: string
  331. required: true
  332. immutable: true
  333. hidden: true
  334. default: "pgBackup"
  335. - variable: aclEntries
  336. label: ACL Configuration
  337. schema:
  338. type: dict
  339. show_if: [["aclEnable", "=", true]]
  340. attrs: []
  341. - variable: hostPathConfig
  342. label: Host Path Configuration
  343. schema:
  344. type: dict
  345. show_if: [["type", "=", "hostPath"]]
  346. attrs:
  347. - variable: aclEnable
  348. label: Enable ACL
  349. description: Enable ACL for the dataset.
  350. schema:
  351. type: boolean
  352. # Postgres does a CHMOD at startup
  353. # Which fails with ACL
  354. hidden: true
  355. default: false
  356. - variable: acl
  357. label: ACL Configuration
  358. schema:
  359. type: dict
  360. show_if: [["aclEnable", "=", true]]
  361. attrs: []
  362. $ref:
  363. - "normalize/acl"
  364. - variable: hostPath
  365. label: Host Path
  366. description: The host path to use for storage.
  367. schema:
  368. type: hostpath
  369. show_if: [["aclEnable", "=", false]]
  370. required: true
  371. - variable: additionalStorages
  372. label: Additional Storage
  373. description: Additional storage for n8n.
  374. schema:
  375. type: list
  376. default: []
  377. items:
  378. - variable: storageEntry
  379. label: Storage Entry
  380. schema:
  381. type: dict
  382. attrs:
  383. - variable: type
  384. label: Type
  385. description: |
  386. ixVolume: Is dataset created automatically by the system.</br>
  387. Host Path: Is a path that already exists on the system.</br>
  388. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  389. schema:
  390. type: string
  391. required: true
  392. default: "ixVolume"
  393. immutable: true
  394. enum:
  395. - value: "hostPath"
  396. description: Host Path (Path that already exists on the system)
  397. - value: "ixVolume"
  398. description: ixVolume (Dataset created automatically by the system)
  399. - value: "smb-pv-pvc"
  400. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  401. - variable: readOnly
  402. label: Read Only
  403. description: Mount the volume as read only.
  404. schema:
  405. type: boolean
  406. default: false
  407. - variable: mountPath
  408. label: Mount Path
  409. description: The path inside the container to mount the storage.
  410. schema:
  411. type: path
  412. required: true
  413. - variable: hostPathConfig
  414. label: Host Path Configuration
  415. schema:
  416. type: dict
  417. show_if: [["type", "=", "hostPath"]]
  418. attrs:
  419. - variable: aclEnable
  420. label: Enable ACL
  421. description: Enable ACL for the dataset.
  422. schema:
  423. type: boolean
  424. default: false
  425. - variable: acl
  426. label: ACL Configuration
  427. schema:
  428. type: dict
  429. show_if: [["aclEnable", "=", true]]
  430. attrs: []
  431. $ref:
  432. - "normalize/acl"
  433. - variable: hostPath
  434. label: Host Path
  435. description: The host path to use for storage.
  436. schema:
  437. type: hostpath
  438. show_if: [["aclEnable", "=", false]]
  439. required: true
  440. - variable: ixVolumeConfig
  441. label: ixVolume Configuration
  442. description: The configuration for the ixVolume dataset.
  443. schema:
  444. type: dict
  445. show_if: [["type", "=", "ixVolume"]]
  446. $ref:
  447. - "normalize/ixVolume"
  448. attrs:
  449. - variable: aclEnable
  450. label: Enable ACL
  451. description: Enable ACL for the dataset.
  452. schema:
  453. type: boolean
  454. default: false
  455. - variable: datasetName
  456. label: Dataset Name
  457. description: The name of the dataset to use for storage.
  458. schema:
  459. type: string
  460. required: true
  461. immutable: true
  462. default: "storage_entry"
  463. - variable: aclEntries
  464. label: ACL Configuration
  465. schema:
  466. type: dict
  467. show_if: [["aclEnable", "=", true]]
  468. attrs: []
  469. - variable: smbConfig
  470. label: SMB Share Configuration
  471. description: The configuration for the SMB Share.
  472. schema:
  473. type: dict
  474. show_if: [["type", "=", "smb-pv-pvc"]]
  475. attrs:
  476. - variable: server
  477. label: Server
  478. description: The server for the SMB share.
  479. schema:
  480. type: string
  481. required: true
  482. - variable: share
  483. label: Share
  484. description: The share name for the SMB share.
  485. schema:
  486. type: string
  487. required: true
  488. - variable: domain
  489. label: Domain (Optional)
  490. description: The domain for the SMB share.
  491. schema:
  492. type: string
  493. - variable: username
  494. label: Username
  495. description: The username for the SMB share.
  496. schema:
  497. type: string
  498. required: true
  499. - variable: password
  500. label: Password
  501. description: The password for the SMB share.
  502. schema:
  503. type: string
  504. required: true
  505. private: true
  506. - variable: size
  507. label: Size (in Gi)
  508. description: The size of the volume quota.
  509. schema:
  510. type: int
  511. required: true
  512. min: 1
  513. default: 1
  514. - variable: resources
  515. label: ""
  516. group: Resources Configuration
  517. schema:
  518. type: dict
  519. attrs:
  520. - variable: limits
  521. label: Limits
  522. schema:
  523. type: dict
  524. attrs:
  525. - variable: cpu
  526. label: CPU
  527. description: CPU limit for n8n.
  528. schema:
  529. type: string
  530. max_length: 6
  531. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  532. valid_chars_error: |
  533. Valid CPU limit formats are</br>
  534. - Plain Integer - eg. 1</br>
  535. - Float - eg. 0.5</br>
  536. - Milicpu - eg. 500m
  537. default: "4000m"
  538. required: true
  539. - variable: memory
  540. label: Memory
  541. description: Memory limit for n8n.
  542. schema:
  543. type: string
  544. max_length: 12
  545. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  546. valid_chars_error: |
  547. Valid Memory limit formats are</br>
  548. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  549. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  550. - Plain Integer in bytes - eg. 1024</br>
  551. - Exponent - eg. 134e6
  552. default: "8Gi"
  553. required: true