questions.yaml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  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: resources
  236. label: ""
  237. group: Resources Configuration
  238. schema:
  239. type: dict
  240. attrs:
  241. - variable: limits
  242. label: Limits
  243. schema:
  244. type: dict
  245. attrs:
  246. - variable: cpu
  247. label: CPU
  248. description: CPU limit for n8n.
  249. schema:
  250. type: string
  251. max_length: 6
  252. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  253. valid_chars_error: |
  254. Valid CPU limit formats are</br>
  255. - Plain Integer - eg. 1</br>
  256. - Float - eg. 0.5</br>
  257. - Milicpu - eg. 500m
  258. default: "4000m"
  259. required: true
  260. - variable: memory
  261. label: Memory
  262. description: Memory limit for n8n.
  263. schema:
  264. type: string
  265. max_length: 12
  266. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  267. valid_chars_error: |
  268. Valid Memory limit formats are</br>
  269. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  270. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  271. - Plain Integer in bytes - eg. 1024</br>
  272. - Exponent - eg. 134e6
  273. default: "8Gi"
  274. required: true