questions.yaml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  1. groups:
  2. - name: Piwigo Configuration
  3. description: Configure Piwigo
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Piwigo
  6. - name: Network Configuration
  7. description: Configure Network for Piwigo
  8. - name: Storage Configuration
  9. description: Configure Storage for Piwigo
  10. - name: Resources Configuration
  11. description: Configure Resources for Piwigo
  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: piwiConfig
  23. label: ""
  24. group: Piwigo Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: adminName
  29. label: Admin Name
  30. description: |
  31. The admin name for Piwigo.</br>
  32. Only used when Piwigo is first installed.</br>
  33. You can change it later in the Piwigo WebUI.
  34. schema:
  35. type: string
  36. required: true
  37. immutable: true
  38. default: ""
  39. - variable: adminMail
  40. label: Admin Mail
  41. description: |
  42. The admin mail for Piwigo.</br>
  43. Only used when Piwigo is first installed.</br>
  44. You can change it later in the Piwigo WebUI.
  45. schema:
  46. type: string
  47. required: true
  48. immutable: true
  49. default: ""
  50. - variable: adminPass
  51. label: Admin Password
  52. description: |
  53. The admin password for Piwigo.</br>
  54. Only used when Piwigo is first installed.</br>
  55. You can change it later in the Piwigo WebUI.
  56. schema:
  57. type: string
  58. required: true
  59. immutable: true
  60. password: true
  61. default: ""
  62. - variable: language
  63. label: Language
  64. description: |
  65. The language for Piwigo.</br>
  66. Only used when Piwigo is first installed.
  67. schema:
  68. type: string
  69. required: true
  70. immutable: true
  71. default: "en_UK"
  72. enum:
  73. - value: af_ZA
  74. description: Afrikaans [ZA]
  75. - value: es_AR
  76. description: Argentina [AR]
  77. - value: az_AZ
  78. description: Azərbaycanca [AZ]
  79. - value: id_ID
  80. description: Bahasa Indonesia [ID]
  81. - value: pt_BR
  82. description: Brasil [BR]
  83. - value: br_FR
  84. description: Brezhoneg [FR]
  85. - value: ca_ES
  86. description: Català [CA]
  87. - value: da_DK
  88. description: Dansk [DK]
  89. - value: de_DE
  90. description: Deutsch [DE]
  91. - value: dv_MV
  92. description: Dhivehi [MV]
  93. - value: en_GB
  94. description: English [GB]
  95. - value: en_UK
  96. description: English [UK]
  97. - value: en_US
  98. description: English [US]
  99. - value: es_ES
  100. description: Español [ES]
  101. - value: eo_EO
  102. description: Esperanto [EO]
  103. - value: et_EE
  104. description: Estonian [EE]
  105. - value: eu_ES
  106. description: Euskara [ES]
  107. - value: fi_FI
  108. description: Finnish [FI]
  109. - value: fr_FR
  110. description: Français [FR]
  111. - value: fr_CA
  112. description: Français [QC]
  113. - value: ga_IE
  114. description: Gaeilge [IE]
  115. - value: gl_ES
  116. description: Galego [ES]
  117. - value: hr_HR
  118. description: Hrvatski [HR]
  119. - value: it_IT
  120. description: Italiano [IT]
  121. - value: lv_LV
  122. description: Latviešu [LV]
  123. - value: lt_LT
  124. description: Lietuviu [LT]
  125. - value: lb_LU
  126. description: Lëtzebuergesch [LU]
  127. - value: hu_HU
  128. description: Magyar [HU]
  129. - value: ms_MY
  130. description: Malay [MY]
  131. - value: es_MX
  132. description: México [MX]
  133. - value: nl_NL
  134. description: Nederlands [NL]
  135. - value: nb_NO
  136. description: Norsk bokmål [NO]
  137. - value: nn_NO
  138. description: Norwegian nynorsk [NO]
  139. - value: pl_PL
  140. description: Polski [PL]
  141. - value: pt_PT
  142. description: Português [PT]
  143. - value: ro_RO
  144. description: Română [RO]
  145. - value: sk_SK
  146. description: Slovensky [SK]
  147. - value: sl_SI
  148. description: Slovenšcina [SI]
  149. - value: sh_RS
  150. description: Srpski [SR]
  151. - value: sv_SE
  152. description: Svenska [SE]
  153. - value: vi_VN
  154. description: Tiếng Việt [VN]
  155. - value: tr_TR
  156. description: Türkçe [TR]
  157. - value: wo_SN
  158. description: Wolof [SN]
  159. - value: is_IS
  160. description: Íslenska [IS]
  161. - value: cs_CZ
  162. description: Česky [CZ]
  163. - value: el_GR
  164. description: Ελληνικά [GR]
  165. - value: bg_BG
  166. description: Български [BG]
  167. - value: mk_MK
  168. description: Македонски [MK]
  169. - value: mn_MN
  170. description: Монгол [MN]
  171. - value: ru_RU
  172. description: Русский [RU]
  173. - value: sr_RS
  174. description: Српски [SR]
  175. - value: uk_UA
  176. description: Українська [UA]
  177. - value: he_IL
  178. description: עברית [IL]
  179. - value: ar_EG
  180. description: العربية (مص
  181. - value: ar_SA
  182. description: العربية [AR]
  183. - value: ar_MA
  184. description: العربية [MA]
  185. - value: fa_IR
  186. description: پارسی [IR]
  187. - value: kok_IN
  188. description: कोंकणी [IN]
  189. - value: bn_IN
  190. description: বাংলা[IN]
  191. - value: gu_IN
  192. description: ગુજરાતી[IN]
  193. - value: ta_IN
  194. description: தமிழ் [IN]
  195. - value: kn_IN
  196. description: ಕನ್ನಡ [IN]
  197. - value: th_TH
  198. description: ภาษาไทย [TH]
  199. - value: ka_GE
  200. description: ქართული [GE]
  201. - value: km_KH
  202. description: ខ្មែរ [KH]
  203. - value: zh_TW
  204. description: 中文 (繁體) [TW]
  205. - value: zh_HK
  206. description: 中文 (香港) [HK]
  207. - value: ja_JP
  208. description: 日本語 [JP]
  209. - value: zh_CN
  210. description: 简体中文 [CN]
  211. - value: ko_KR
  212. description: 한국어 [KR]
  213. - variable: additionalEnvs
  214. label: Additional Environment Variables
  215. description: Configure additional environment variables for Piwigo.
  216. schema:
  217. type: list
  218. default: []
  219. items:
  220. - variable: env
  221. label: Environment Variable
  222. schema:
  223. type: dict
  224. attrs:
  225. - variable: name
  226. label: Name
  227. schema:
  228. type: string
  229. required: true
  230. - variable: value
  231. label: Value
  232. schema:
  233. type: string
  234. required: true
  235. - variable: piwiID
  236. label: ""
  237. group: User and Group Configuration
  238. schema:
  239. type: dict
  240. attrs:
  241. - variable: user
  242. label: User ID
  243. description: The user id that Piwigo files will be owned by.
  244. schema:
  245. type: int
  246. min: 2
  247. default: 568
  248. required: true
  249. - variable: group
  250. label: Group ID
  251. description: The group id that Piwigo files will be owned by.
  252. schema:
  253. type: int
  254. min: 2
  255. default: 568
  256. required: true
  257. - variable: piwiNetwork
  258. label: ""
  259. group: Network Configuration
  260. schema:
  261. type: dict
  262. attrs:
  263. - variable: webPort
  264. label: Web Port
  265. description: The port for the Piwigo WebUI.
  266. schema:
  267. type: int
  268. default: 30066
  269. min: 9000
  270. max: 65535
  271. required: true
  272. - variable: piwiStorage
  273. label: ""
  274. group: Storage Configuration
  275. schema:
  276. type: dict
  277. attrs:
  278. - variable: config
  279. label: Piwigo Configuration Storage
  280. description: The path to store Piwigo configuration.
  281. schema:
  282. type: dict
  283. attrs:
  284. - variable: type
  285. label: Type
  286. description: |
  287. ixVolume: Is dataset created automatically by the system.</br>
  288. Host Path: Is a path that already exists on the system.
  289. schema:
  290. type: string
  291. required: true
  292. default: ixVolume
  293. enum:
  294. - value: hostPath
  295. description: Host Path (Path that already exists on the system)
  296. - value: ixVolume
  297. description: ixVolume (Dataset created automatically by the system)
  298. - variable: datasetName
  299. label: Dataset Name
  300. schema:
  301. type: string
  302. show_if: [["type", "=", "ixVolume"]]
  303. required: true
  304. hidden: true
  305. immutable: true
  306. default: config
  307. $ref:
  308. - "normalize/ixVolume"
  309. - variable: hostPath
  310. label: Host Path
  311. schema:
  312. type: hostpath
  313. show_if: [["type", "=", "hostPath"]]
  314. immutable: true
  315. required: true
  316. - variable: gallery
  317. label: Piwigo Gallery Storage
  318. description: The path to store Piwigo gallery.
  319. schema:
  320. type: dict
  321. attrs:
  322. - variable: type
  323. label: Type
  324. description: |
  325. ixVolume: Is dataset created automatically by the system.</br>
  326. Host Path: Is a path that already exists on the system.
  327. schema:
  328. type: string
  329. required: true
  330. default: ixVolume
  331. enum:
  332. - value: hostPath
  333. description: Host Path (Path that already exists on the system)
  334. - value: ixVolume
  335. description: ixVolume (Dataset created automatically by the system)
  336. - variable: datasetName
  337. label: Dataset Name
  338. schema:
  339. type: string
  340. show_if: [["type", "=", "ixVolume"]]
  341. required: true
  342. hidden: true
  343. immutable: true
  344. default: gallery
  345. $ref:
  346. - "normalize/ixVolume"
  347. - variable: hostPath
  348. label: Host Path
  349. schema:
  350. type: hostpath
  351. show_if: [["type", "=", "hostPath"]]
  352. immutable: true
  353. required: true
  354. - variable: mariadbData
  355. label: Piwigo MariaDB Data Storage
  356. description: The path to store Piwigo MariaDB Data.
  357. schema:
  358. type: dict
  359. attrs:
  360. - variable: type
  361. label: Type
  362. description: |
  363. ixVolume: Is dataset created automatically by the system.</br>
  364. Host Path: Is a path that already exists on the system.
  365. schema:
  366. type: string
  367. required: true
  368. default: ixVolume
  369. enum:
  370. - value: hostPath
  371. description: Host Path (Path that already exists on the system)
  372. - value: ixVolume
  373. description: ixVolume (Dataset created automatically by the system)
  374. - variable: datasetName
  375. label: Dataset Name
  376. schema:
  377. type: string
  378. show_if: [["type", "=", "ixVolume"]]
  379. required: true
  380. hidden: true
  381. immutable: true
  382. default: mariadbData
  383. $ref:
  384. - "normalize/ixVolume"
  385. - variable: hostPath
  386. label: Host Path
  387. schema:
  388. type: hostpath
  389. show_if: [["type", "=", "hostPath"]]
  390. immutable: true
  391. required: true
  392. - variable: mariadbBackup
  393. label: Piwigo MariaDB Backup Storage
  394. description: The path to store Piwigo MariaDB Backup.
  395. schema:
  396. type: dict
  397. attrs:
  398. - variable: type
  399. label: Type
  400. description: |
  401. ixVolume: Is dataset created automatically by the system.</br>
  402. Host Path: Is a path that already exists on the system.
  403. schema:
  404. type: string
  405. required: true
  406. default: ixVolume
  407. enum:
  408. - value: hostPath
  409. description: Host Path (Path that already exists on the system)
  410. - value: ixVolume
  411. description: ixVolume (Dataset created automatically by the system)
  412. - variable: datasetName
  413. label: Dataset Name
  414. schema:
  415. type: string
  416. show_if: [["type", "=", "ixVolume"]]
  417. required: true
  418. hidden: true
  419. immutable: true
  420. default: mariadbBackup
  421. $ref:
  422. - "normalize/ixVolume"
  423. - variable: hostPath
  424. label: Host Path
  425. schema:
  426. type: hostpath
  427. show_if: [["type", "=", "hostPath"]]
  428. immutable: true
  429. required: true
  430. - variable: additionalStorages
  431. label: Additional Storage
  432. description: Additional storage for Piwigo.
  433. schema:
  434. type: list
  435. default: []
  436. items:
  437. - variable: storageEntry
  438. label: Storage Entry
  439. schema:
  440. type: dict
  441. attrs:
  442. - variable: type
  443. label: Type
  444. description: |
  445. ixVolume: Is dataset created automatically by the system.</br>
  446. Host Path: Is a path that already exists on the system.
  447. schema:
  448. type: string
  449. required: true
  450. default: "ixVolume"
  451. enum:
  452. - value: "hostPath"
  453. description: Host Path (Path that already exists on the system)
  454. - value: "ixVolume"
  455. description: ixVolume (Dataset created automatically by the system)
  456. - variable: mountPath
  457. label: Mount Path
  458. description: The path inside the container to mount the storage.
  459. schema:
  460. type: path
  461. required: true
  462. - variable: hostPath
  463. label: Host Path
  464. description: The host path to use for storage.
  465. schema:
  466. type: hostpath
  467. show_if: [["type", "=", "hostPath"]]
  468. required: true
  469. - variable: datasetName
  470. label: Dataset Name
  471. description: The name of the dataset to use for storage.
  472. schema:
  473. type: string
  474. show_if: [["type", "=", "ixVolume"]]
  475. required: true
  476. immutable: true
  477. default: "storage_entry"
  478. $ref:
  479. - "normalize/ixVolume"
  480. - variable: resources
  481. label: ""
  482. group: Resources Configuration
  483. schema:
  484. type: dict
  485. attrs:
  486. - variable: limits
  487. label: Limits
  488. schema:
  489. type: dict
  490. attrs:
  491. - variable: cpu
  492. label: CPU
  493. description: CPU limit for Piwigo.
  494. schema:
  495. type: string
  496. max_length: 6
  497. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  498. valid_chars_error: |
  499. Valid CPU limit formats are</br>
  500. - Plain Integer - eg. 1</br>
  501. - Float - eg. 0.5</br>
  502. - Milicpu - eg. 500m
  503. default: "4000m"
  504. required: true
  505. - variable: memory
  506. label: Memory
  507. description: Memory limit for Piwigo.
  508. schema:
  509. type: string
  510. max_length: 12
  511. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  512. valid_chars_error: |
  513. Valid Memory limit formats are</br>
  514. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  515. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  516. - Plain Integer in bytes - eg. 1024</br>
  517. - Exponent - eg. 134e6
  518. default: "8Gi"
  519. required: true