questions.yaml 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. groups:
  2. - name: Nginx Proxy Manager Configuration
  3. description: Configure Nginx Proxy Manager
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Nginx Proxy Manager
  6. - name: Network Configuration
  7. description: Configure Network for Nginx Proxy Manager
  8. - name: Storage Configuration
  9. description: Configure Storage for Nginx Proxy Manager
  10. - name: Resources Configuration
  11. description: Configure Resources for Nginx Proxy Manager
  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: TZ
  23. group: Nginx Proxy Manager Configuration
  24. label: Timezone
  25. schema:
  26. type: string
  27. default: Etc/UTC
  28. required: true
  29. $ref:
  30. - definitions/timezone
  31. - variable: npmConfig
  32. label: ""
  33. group: Nginx Proxy Manager Configuration
  34. schema:
  35. type: dict
  36. attrs:
  37. - variable: additionalEnvs
  38. label: Additional Environment Variables
  39. description: Configure additional environment variables for Nginx Proxy Manager.
  40. schema:
  41. type: list
  42. default: []
  43. items:
  44. - variable: env
  45. label: Environment Variable
  46. schema:
  47. type: dict
  48. attrs:
  49. - variable: name
  50. label: Name
  51. schema:
  52. type: string
  53. required: true
  54. - variable: value
  55. label: Value
  56. schema:
  57. type: string
  58. required: true
  59. - variable: npmID
  60. label: ""
  61. group: User and Group Configuration
  62. schema:
  63. type: dict
  64. attrs:
  65. - variable: user
  66. label: User ID
  67. description: The user id that Nginx Proxy Manager files will be owned by.
  68. schema:
  69. type: int
  70. min: 0
  71. default: 568
  72. required: true
  73. - variable: group
  74. label: Group ID
  75. description: The group id that Nginx Proxy Manager files will be owned by.
  76. schema:
  77. type: int
  78. min: 0
  79. default: 568
  80. required: true
  81. - variable: npmNetwork
  82. label: ""
  83. group: Network Configuration
  84. schema:
  85. type: dict
  86. attrs:
  87. - variable: webPort
  88. label: Web Port
  89. description: The port for the Nginx Proxy Manager Web UI.
  90. schema:
  91. type: int
  92. default: 30020
  93. min: 9000
  94. max: 65535
  95. required: true
  96. - variable: httpPort
  97. label: HTTP Port
  98. description: The HTTP port for the Nginx Proxy Manager.
  99. schema:
  100. type: int
  101. default: 30021
  102. min: 9000
  103. max: 65535
  104. required: true
  105. - variable: httpsPort
  106. label: HTTPS Port
  107. description: The HTTP port for the Nginx Proxy Manager.
  108. schema:
  109. type: int
  110. default: 30022
  111. min: 9000
  112. max: 65535
  113. required: true
  114. - variable: npmStorage
  115. label: ""
  116. group: Storage Configuration
  117. schema:
  118. type: dict
  119. attrs:
  120. - variable: data
  121. label: Nginx Proxy Manager Data Storage
  122. description: The path to store Nginx Proxy Manager Data.
  123. schema:
  124. type: dict
  125. attrs:
  126. - variable: type
  127. label: Type
  128. description: |
  129. ixVolume: Is dataset created automatically by the system.</br>
  130. Host Path: Is a path that already exists on the system.
  131. schema:
  132. type: string
  133. required: true
  134. immutable: 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. required: true
  158. - variable: certs
  159. label: Nginx Proxy Manager Certificate Storage
  160. description: The path to store Nginx Proxy Manager Certificate.
  161. schema:
  162. type: dict
  163. attrs:
  164. - variable: type
  165. label: Type
  166. description: |
  167. ixVolume: Is dataset created automatically by the system.</br>
  168. Host Path: Is a path that already exists on the system.
  169. schema:
  170. type: string
  171. required: true
  172. immutable: 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: "certs"
  188. $ref:
  189. - "normalize/ixVolume"
  190. - variable: hostPath
  191. label: Host Path
  192. schema:
  193. type: hostpath
  194. show_if: [["type", "=", "hostPath"]]
  195. required: true
  196. - variable: resources
  197. group: Resources Configuration
  198. label: ""
  199. schema:
  200. type: dict
  201. attrs:
  202. - variable: limits
  203. label: Limits
  204. schema:
  205. type: dict
  206. attrs:
  207. - variable: cpu
  208. label: CPU
  209. description: CPU limit for Nginx Proxy Manager.
  210. schema:
  211. type: string
  212. max_length: 6
  213. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  214. valid_chars_error: |
  215. Valid CPU limit formats are</br>
  216. - Plain Integer - eg. 1</br>
  217. - Float - eg. 0.5</br>
  218. - Milicpu - eg. 500m
  219. default: "4000m"
  220. required: true
  221. - variable: memory
  222. label: Memory
  223. description: Memory limit for Nginx Proxy Manager.
  224. schema:
  225. type: string
  226. max_length: 12
  227. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  228. valid_chars_error: |
  229. Valid Memory limit formats are</br>
  230. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  231. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  232. - Plain Integer in bytes - eg. 1024</br>
  233. - Exponent - eg. 134e6
  234. default: "8Gi"
  235. required: true