questions.yaml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. groups:
  2. - name: "Collabora Configuration"
  3. description: "Configure Collabora"
  4. - name: "Collabora Environment Variables"
  5. description: "Set the environment that will be visible to the container"
  6. - name: "Networking"
  7. description: "Configure Networking for Collabora"
  8. - name: "Storage"
  9. description: "Configure Storage for Collabora"
  10. portals:
  11. web_portal:
  12. protocols:
  13. - "https"
  14. host:
  15. - "$variable-config.server_name"
  16. ports:
  17. - "$variable-nodePort"
  18. path: "/browser/dist/admin/admin.html"
  19. questions:
  20. - variable: config
  21. label: "Container Configuration"
  22. group: "Collabora Configuration"
  23. schema:
  24. type: dict
  25. attrs:
  26. - variable: timezone
  27. label: "Timezone"
  28. group: "Collabora Configuration"
  29. schema:
  30. type: string
  31. $ref:
  32. - "definitions/timezone"
  33. - variable: username
  34. label: "Username for WebUI"
  35. schema:
  36. type: string
  37. default: "admin"
  38. required: true
  39. - variable: password
  40. label: "Password for WebUI"
  41. schema:
  42. type: string
  43. private: true
  44. default: "changeme"
  45. valid_chars: "[a-zA-Z0-9!@#$%^&*?]{8,}"
  46. required: true
  47. - variable: dictionaries
  48. label: "Dictionaries to use, leave empty to use all"
  49. schema:
  50. type: string
  51. default: "de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru"
  52. - variable: extra_params
  53. label: "Extra Parameters to add"
  54. description: 'e.g. "--o:welcome.enable=false", See more on /etc/loolwsd/loowsd.xml. Separate params with space'
  55. schema:
  56. type: string
  57. default: "--o:welcome.enable=false --o:user_interface.mode=notebookbar --o:ssl.termination=true --o:ssl.enable=false --o:net.proto=IPv4 --o:net.post_allow.host[0]=.+ --o:storage.wopi.host[0]=.+"
  58. - variable: server_name
  59. label: "Server Name"
  60. description: "When this environment variable is set (is not “”), then its value will be used as server name in /etc/loolwsd/loolwsd.xml. Without this, CODE is not delivering a correct host for the websocket connection in case of a proxy in front of it."
  61. schema:
  62. type: string
  63. $ref:
  64. - "definitions/nodeIP"
  65. - variable: certificate
  66. description: "Collabora Certificate"
  67. label: "Certificate"
  68. group: "Collabora Configuration"
  69. schema:
  70. type: int
  71. $ref:
  72. - "definitions/certificate"
  73. "null": false
  74. - variable: extraAppVolumeMounts
  75. label: "Collabora Extra Host Path Volumes"
  76. group: "Storage"
  77. schema:
  78. type: list
  79. items:
  80. - variable: extraAppVolume
  81. label: "Collabora Host Path Volume"
  82. description: "Add an extra host path volume for Collabora application"
  83. schema:
  84. type: dict
  85. attrs:
  86. - variable: mountPath
  87. label: "Mount Path in Pod"
  88. description: "Path where the volume will be mounted inside the pod"
  89. schema:
  90. type: path
  91. required: true
  92. - variable: hostPath
  93. label: "Host Path"
  94. description: "Host path"
  95. schema:
  96. type: hostpath
  97. required: true
  98. - variable: environmentVariables
  99. label: "Environment Variables"
  100. group: "Collabora Environment Variables"
  101. schema:
  102. type: list
  103. default: []
  104. items:
  105. - variable: environmentVariable
  106. label: "Environment Variable"
  107. schema:
  108. type: dict
  109. attrs:
  110. - variable: name
  111. label: "Name"
  112. schema:
  113. type: string
  114. - variable: value
  115. label: "Value"
  116. schema:
  117. type: string
  118. - variable: nodePort
  119. label: "Node Port to use for Collabora"
  120. group: "Networking"
  121. schema:
  122. type: int
  123. default: 9980
  124. min: 9000
  125. max: 65535