questions.yaml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578
  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. immutable: true
  293. default: ixVolume
  294. enum:
  295. - value: hostPath
  296. description: Host Path (Path that already exists on the system)
  297. - value: ixVolume
  298. description: ixVolume (Dataset created automatically by the system)
  299. - variable: datasetName
  300. label: Dataset Name
  301. schema:
  302. type: string
  303. show_if: [["type", "=", "ixVolume"]]
  304. required: true
  305. hidden: true
  306. immutable: true
  307. default: config
  308. $ref:
  309. - "normalize/ixVolume"
  310. - variable: hostPath
  311. label: Host Path
  312. schema:
  313. type: hostpath
  314. show_if: [["type", "=", "hostPath"]]
  315. immutable: true
  316. required: true
  317. - variable: gallery
  318. label: Piwigo Gallery Storage
  319. description: The path to store Piwigo gallery.
  320. schema:
  321. type: dict
  322. attrs:
  323. - variable: type
  324. label: Type
  325. description: |
  326. ixVolume: Is dataset created automatically by the system.</br>
  327. Host Path: Is a path that already exists on the system.
  328. schema:
  329. type: string
  330. required: true
  331. immutable: true
  332. default: ixVolume
  333. enum:
  334. - value: hostPath
  335. description: Host Path (Path that already exists on the system)
  336. - value: ixVolume
  337. description: ixVolume (Dataset created automatically by the system)
  338. - variable: datasetName
  339. label: Dataset Name
  340. schema:
  341. type: string
  342. show_if: [["type", "=", "ixVolume"]]
  343. required: true
  344. hidden: true
  345. immutable: true
  346. default: gallery
  347. $ref:
  348. - "normalize/ixVolume"
  349. - variable: hostPath
  350. label: Host Path
  351. schema:
  352. type: hostpath
  353. show_if: [["type", "=", "hostPath"]]
  354. immutable: true
  355. required: true
  356. - variable: mariadbData
  357. label: Piwigo MariaDB Data Storage
  358. description: The path to store Piwigo MariaDB Data.
  359. schema:
  360. type: dict
  361. attrs:
  362. - variable: type
  363. label: Type
  364. description: |
  365. ixVolume: Is dataset created automatically by the system.</br>
  366. Host Path: Is a path that already exists on the system.
  367. schema:
  368. type: string
  369. required: true
  370. immutable: true
  371. default: ixVolume
  372. enum:
  373. - value: hostPath
  374. description: Host Path (Path that already exists on the system)
  375. - value: ixVolume
  376. description: ixVolume (Dataset created automatically by the system)
  377. - variable: datasetName
  378. label: Dataset Name
  379. schema:
  380. type: string
  381. show_if: [["type", "=", "ixVolume"]]
  382. required: true
  383. hidden: true
  384. immutable: true
  385. default: mariadbData
  386. $ref:
  387. - "normalize/ixVolume"
  388. - variable: hostPath
  389. label: Host Path
  390. schema:
  391. type: hostpath
  392. show_if: [["type", "=", "hostPath"]]
  393. immutable: true
  394. required: true
  395. - variable: mariadbBackup
  396. label: Piwigo MariaDB Backup Storage
  397. description: The path to store Piwigo MariaDB Backup.
  398. schema:
  399. type: dict
  400. attrs:
  401. - variable: type
  402. label: Type
  403. description: |
  404. ixVolume: Is dataset created automatically by the system.</br>
  405. Host Path: Is a path that already exists on the system.
  406. schema:
  407. type: string
  408. required: true
  409. immutable: true
  410. default: ixVolume
  411. enum:
  412. - value: hostPath
  413. description: Host Path (Path that already exists on the system)
  414. - value: ixVolume
  415. description: ixVolume (Dataset created automatically by the system)
  416. - variable: datasetName
  417. label: Dataset Name
  418. schema:
  419. type: string
  420. show_if: [["type", "=", "ixVolume"]]
  421. required: true
  422. hidden: true
  423. immutable: true
  424. default: mariadbBackup
  425. $ref:
  426. - "normalize/ixVolume"
  427. - variable: hostPath
  428. label: Host Path
  429. schema:
  430. type: hostpath
  431. show_if: [["type", "=", "hostPath"]]
  432. immutable: true
  433. required: true
  434. - variable: additionalStorages
  435. label: Additional Storage
  436. description: Additional storage for Piwigo.
  437. schema:
  438. type: list
  439. default: []
  440. items:
  441. - variable: storageEntry
  442. label: Storage Entry
  443. schema:
  444. type: dict
  445. attrs:
  446. - variable: type
  447. label: Type
  448. description: |
  449. ixVolume: Is dataset created automatically by the system.</br>
  450. Host Path: Is a path that already exists on the system.</br>
  451. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  452. schema:
  453. type: string
  454. required: true
  455. default: "ixVolume"
  456. immutable: true
  457. enum:
  458. - value: "hostPath"
  459. description: Host Path (Path that already exists on the system)
  460. - value: "ixVolume"
  461. description: ixVolume (Dataset created automatically by the system)
  462. - value: "smb-pv-pvc"
  463. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  464. - variable: mountPath
  465. label: Mount Path
  466. description: The path inside the container to mount the storage.
  467. schema:
  468. type: path
  469. required: true
  470. - variable: hostPath
  471. label: Host Path
  472. description: The host path to use for storage.
  473. schema:
  474. type: hostpath
  475. show_if: [["type", "=", "hostPath"]]
  476. required: true
  477. - variable: datasetName
  478. label: Dataset Name
  479. description: The name of the dataset to use for storage.
  480. schema:
  481. type: string
  482. show_if: [["type", "=", "ixVolume"]]
  483. required: true
  484. immutable: true
  485. default: "storage_entry"
  486. $ref:
  487. - "normalize/ixVolume"
  488. - variable: server
  489. label: Server
  490. description: The server for the SMB share.
  491. schema:
  492. type: string
  493. show_if: [["type", "=", "smb-pv-pvc"]]
  494. required: true
  495. - variable: share
  496. label: Share
  497. description: The share name for the SMB share.
  498. schema:
  499. type: string
  500. show_if: [["type", "=", "smb-pv-pvc"]]
  501. required: true
  502. - variable: domain
  503. label: Domain (Optional)
  504. description: The domain for the SMB share.
  505. schema:
  506. type: string
  507. show_if: [["type", "=", "smb-pv-pvc"]]
  508. - variable: username
  509. label: Username
  510. description: The username for the SMB share.
  511. schema:
  512. type: string
  513. show_if: [["type", "=", "smb-pv-pvc"]]
  514. required: true
  515. - variable: password
  516. label: Password
  517. description: The password for the SMB share.
  518. schema:
  519. type: string
  520. show_if: [["type", "=", "smb-pv-pvc"]]
  521. required: true
  522. private: true
  523. - variable: size
  524. label: Size (in Gi)
  525. description: The size of the volume quota.
  526. schema:
  527. type: int
  528. show_if: [["type", "=", "smb-pv-pvc"]]
  529. required: true
  530. min: 1
  531. default: 1
  532. - variable: resources
  533. label: ""
  534. group: Resources Configuration
  535. schema:
  536. type: dict
  537. attrs:
  538. - variable: limits
  539. label: Limits
  540. schema:
  541. type: dict
  542. attrs:
  543. - variable: cpu
  544. label: CPU
  545. description: CPU limit for Piwigo.
  546. schema:
  547. type: string
  548. max_length: 6
  549. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  550. valid_chars_error: |
  551. Valid CPU limit formats are</br>
  552. - Plain Integer - eg. 1</br>
  553. - Float - eg. 0.5</br>
  554. - Milicpu - eg. 500m
  555. default: "4000m"
  556. required: true
  557. - variable: memory
  558. label: Memory
  559. description: Memory limit for Piwigo.
  560. schema:
  561. type: string
  562. max_length: 12
  563. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  564. valid_chars_error: |
  565. Valid Memory limit formats are</br>
  566. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  567. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  568. - Plain Integer in bytes - eg. 1024</br>
  569. - Exponent - eg. 134e6
  570. default: "8Gi"
  571. required: true