questions.yaml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  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. immutable: true
  113. default: "ixVolume"
  114. enum:
  115. - value: "hostPath"
  116. description: Host Path (Path that already exists on the system)
  117. - value: "ixVolume"
  118. description: ixVolume (Dataset created automatically by the system)
  119. - variable: datasetName
  120. label: Dataset Name
  121. schema:
  122. type: string
  123. show_if: [["type", "=", "ixVolume"]]
  124. required: true
  125. hidden: true
  126. immutable: true
  127. default: "data"
  128. $ref:
  129. - "normalize/ixVolume"
  130. - variable: hostPath
  131. label: Host Path
  132. schema:
  133. type: hostpath
  134. show_if: [["type", "=", "hostPath"]]
  135. immutable: true
  136. required: true
  137. - variable: certs
  138. label: Nginx Proxy Manager Certificate Storage
  139. description: The path to store Nginx Proxy Manager Certificate.
  140. schema:
  141. type: dict
  142. attrs:
  143. - variable: type
  144. label: Type
  145. description: |
  146. ixVolume: Is dataset created automatically by the system.</br>
  147. Host Path: Is a path that already exists on the system.
  148. schema:
  149. type: string
  150. required: true
  151. immutable: true
  152. default: "ixVolume"
  153. enum:
  154. - value: "hostPath"
  155. description: Host Path (Path that already exists on the system)
  156. - value: "ixVolume"
  157. description: ixVolume (Dataset created automatically by the system)
  158. - variable: datasetName
  159. label: Dataset Name
  160. schema:
  161. type: string
  162. show_if: [["type", "=", "ixVolume"]]
  163. required: true
  164. hidden: true
  165. immutable: true
  166. default: "certs"
  167. $ref:
  168. - "normalize/ixVolume"
  169. - variable: hostPath
  170. label: Host Path
  171. schema:
  172. type: hostpath
  173. show_if: [["type", "=", "hostPath"]]
  174. immutable: true
  175. required: true
  176. - variable: resources
  177. group: Resources Configuration
  178. label: ""
  179. schema:
  180. type: dict
  181. attrs:
  182. - variable: limits
  183. label: Limits
  184. schema:
  185. type: dict
  186. attrs:
  187. - variable: cpu
  188. label: CPU
  189. description: CPU limit for Nginx Proxy Manager.
  190. schema:
  191. type: string
  192. max_length: 6
  193. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  194. valid_chars_error: |
  195. Valid CPU limit formats are</br>
  196. - Plain Integer - eg. 1</br>
  197. - Float - eg. 0.5</br>
  198. - Milicpu - eg. 500m
  199. default: "4000m"
  200. required: true
  201. - variable: memory
  202. label: Memory
  203. description: Memory limit for Nginx Proxy Manager.
  204. schema:
  205. type: string
  206. max_length: 12
  207. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  208. valid_chars_error: |
  209. Valid Memory limit formats are</br>
  210. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  211. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  212. - Plain Integer in bytes - eg. 1024</br>
  213. - Exponent - eg. 134e6
  214. default: "8Gi"
  215. required: true