questions.yaml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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: npmNetwork
  60. label: ""
  61. group: Network Configuration
  62. schema:
  63. type: dict
  64. attrs:
  65. - variable: webPort
  66. label: Web Port
  67. description: The port for the Nginx Proxy Manager Web UI.
  68. schema:
  69. type: int
  70. default: 30020
  71. min: 9000
  72. max: 65535
  73. required: true
  74. - variable: httpPort
  75. label: HTTP Port
  76. description: The HTTP port for the Nginx Proxy Manager.
  77. schema:
  78. type: int
  79. default: 30021
  80. min: 9000
  81. max: 65535
  82. required: true
  83. - variable: httpsPort
  84. label: HTTPS Port
  85. description: The HTTP port for the Nginx Proxy Manager.
  86. schema:
  87. type: int
  88. default: 30022
  89. min: 9000
  90. max: 65535
  91. required: true
  92. - variable: npmStorage
  93. label: ""
  94. group: Storage Configuration
  95. schema:
  96. type: dict
  97. attrs:
  98. - variable: data
  99. label: Nginx Proxy Manager Data Storage
  100. description: The path to store Nginx Proxy Manager Data.
  101. schema:
  102. type: dict
  103. attrs:
  104. - variable: type
  105. label: Type
  106. description: |
  107. ixVolume: Is dataset created automatically by the system.</br>
  108. Host Path: Is a path that already exists on the system.
  109. schema:
  110. type: string
  111. required: true
  112. default: "ixVolume"
  113. enum:
  114. - value: "hostPath"
  115. description: Host Path (Path that already exists on the system)
  116. - value: "ixVolume"
  117. description: ixVolume (Dataset created automatically by the system)
  118. - variable: datasetName
  119. label: Dataset Name
  120. schema:
  121. type: string
  122. show_if: [["type", "=", "ixVolume"]]
  123. required: true
  124. hidden: true
  125. immutable: true
  126. default: "data"
  127. $ref:
  128. - "normalize/ixVolume"
  129. - variable: hostPath
  130. label: Host Path
  131. schema:
  132. type: hostpath
  133. show_if: [["type", "=", "hostPath"]]
  134. immutable: true
  135. required: true
  136. - variable: certs
  137. label: Nginx Proxy Manager Certificate Storage
  138. description: The path to store Nginx Proxy Manager Certificate.
  139. schema:
  140. type: dict
  141. attrs:
  142. - variable: type
  143. label: Type
  144. description: |
  145. ixVolume: Is dataset created automatically by the system.</br>
  146. Host Path: Is a path that already exists on the system.
  147. schema:
  148. type: string
  149. required: true
  150. default: "ixVolume"
  151. enum:
  152. - value: "hostPath"
  153. description: Host Path (Path that already exists on the system)
  154. - value: "ixVolume"
  155. description: ixVolume (Dataset created automatically by the system)
  156. - variable: datasetName
  157. label: Dataset Name
  158. schema:
  159. type: string
  160. show_if: [["type", "=", "ixVolume"]]
  161. required: true
  162. hidden: true
  163. immutable: true
  164. default: "certs"
  165. $ref:
  166. - "normalize/ixVolume"
  167. - variable: hostPath
  168. label: Host Path
  169. schema:
  170. type: hostpath
  171. show_if: [["type", "=", "hostPath"]]
  172. immutable: true
  173. required: true
  174. - variable: resources
  175. group: Resources Configuration
  176. label: ""
  177. schema:
  178. type: dict
  179. attrs:
  180. - variable: limits
  181. label: Limits
  182. schema:
  183. type: dict
  184. attrs:
  185. - variable: cpu
  186. label: CPU
  187. description: CPU limit for Nginx Proxy Manager.
  188. schema:
  189. type: string
  190. max_length: 6
  191. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  192. valid_chars_error: |
  193. Valid CPU limit formats are</br>
  194. - Plain Integer - eg. 1</br>
  195. - Float - eg. 0.5</br>
  196. - Milicpu - eg. 500m
  197. default: "4000m"
  198. required: true
  199. - variable: memory
  200. label: Memory
  201. description: Memory limit for Nginx Proxy Manager.
  202. schema:
  203. type: string
  204. max_length: 12
  205. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  206. valid_chars_error: |
  207. Valid Memory limit formats are</br>
  208. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  209. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  210. - Plain Integer in bytes - eg. 1024</br>
  211. - Exponent - eg. 134e6
  212. default: "8Gi"
  213. required: true