# Include{groups}
portals:
  open:
# Include{portalLink}
  admin:
# Include{portalLink}
    path: /browser/dist/admin/admin.html
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
  - variable: collabora
    label: Collabora Configuration
    group: App Configuration
    schema:
      additional_attrs: true
      type: dict
      attrs:
        - variable: username
          label: Username
          schema:
            type: string
            default: admin
            required: true
        - variable: password
          label: Password
          schema:
            type: string
            default: ""
            required: true
            private: true
        - variable: dictionaries
          label: Dictionaries
          description: Dictionaries
          schema:
            type: list
            default:
              - de_DE
              - en_GB
              - en_US
              - el_GR
              - es_ES
              - fr_FR
              - pt_BR
              - pt_PT
              - it
              - nl
              - ru
            items:
              - variable: dictionary
                label: Dictionary
                description: Dictionary
                schema:
                  type: string
                  default: ""
                  required: true
        - variable: interface
          label: Interface
          description: Interface
          schema:
            type: string
            default: default
            required: true
            enum:
              - value: default
                description: Default
              - value: compact
                description: Compact
              - value: tabbed
                description: Tabbed
        - variable: server_name
          label: Server Name
          description: Server Name
          schema:
            type: string
            default: ""
        - variable: aliasgroup1
          label: Alias Group 1
          description: Alias Group 1
          schema:
            type: list
            default: []
            items:
              - variable: alias1
                label: Alias 1
                description: Alias 1
                schema:
                  type: string
                  default: ""
                  required: true
        - variable: no_gen_ssl
          label: Disable SSL Generation
          description: Disable SSL Generation
          schema:
            type: boolean
            default: true
        - variable: ssl_enable
          label: Enable SSL
          description: Enable SSL
          schema:
            type: boolean
            default: false
        - variable: ssl_termination
          label: Terminate SSL
          description: Terminate SSL
          schema:
            type: boolean
            default: true
        - variable: extra_params
          label: Extra Parameters
          description: Extra Parameters
          schema:
            type: list
            default:
              - --o:welcome.enable=false
            items:
              - variable: param
                label: Parameter
                description: Parameter
                schema:
                  type: string
                  default: ""
                  required: true
# Include{serviceRoot}
# Include{serviceMain}
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
                    - variable: main
                      label: Main Service Port Configuration
                      schema:
                        additional_attrs: true
                        type: dict
                        attrs:
                          - variable: port
                            label: Port
                            description: This port exposes the container port on the service
                            schema:
                              type: int
                              default: 9980
                              required: true
# Include{serviceExpertRoot}
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceList}
# Include{ingressRoot}
        - variable: main
          label: Main Ingress
          schema:
            additional_attrs: true
            type: dict
            attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressAdvanced}
# Include{ingressList}
# Include{securityContextRoot}
              - variable: runAsUser
                label: runAsUser
                description: The UserID of the user running the application
                schema:
                  type: int
                  default: 568
              - variable: runAsGroup
                label: runAsGroup
                description: The groupID this App of the user running the application
                schema:
                  type: int
                  default: 568
# Include{securityContextContainer}
# Include{securityContextAdvanced}
# Include{securityContextPod}
              - variable: fsGroup
                label: fsGroup
                description: The group that should own ALL storage.
                schema:
                  type: int
                  default: 568
# Include{resources}
# Include{advanced}
# Include{addons}
# Include{codeserver}
# Include{netshoot}
# Include{vpn}
# Include{documentation}
