questions.yaml 22 KB

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