# Include{groups}
portals:
  open:
# Include{portalLink}
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}

# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}

  - variable: wbo
    group: App Configuration
    label: WBO Configuration
    schema:
      additional_attrs: true
      type: dict
      attrs:
        - variable: auth_secret_key
          label: Auth Secret key
          description: Secret key for jwt
          schema:
            type: string
            private: true
            default: ""
        - variable: save_interval
          label: Save Interval
          description: Number of milliseconds of inactivity after which the board should be saved to a file
          schema:
            type: int
            default: 2000
        - variable: max_save_delay
          label: Max Save Delay
          description: Periodicity at which the board should be saved when it is being actively used (milliseconds)
          schema:
            type: int
            default: 60000
        - variable: max_item_count
          label: Max Item Count
          description: Maximal number of items to keep in the board. When there are more items, the oldest ones are deleted
          schema:
            type: int
            default: 32768
        - variable: max_children
          label: Max Children
          description: Max number of sub-items in an item. This prevents flooding
          schema:
            type: int
            default: 192
        - variable: max_board_size
          label: Max Board Size
          description: Maximum value for any x or y on the board
          schema:
            type: int
            default: 65536
        - variable: max_emit_count
          label: Max Emit Count
          description: Maximum messages per user over the given time period before banning them
          schema:
            type: int
            default: 192
        - variable: max_emit_count_period
          label: Max Emit Count Period
          description: Duration after which the emit count is reset in milliseconds
          schema:
            type: int
            default: 4096
        - variable: auto_finger_whiteout
          label: Auto Finger Whiteout
          description: Automatically switch to White-out on finger touch after drawing with Pencil using a stylus. Only supported on iPad with Apple Pencil.
          schema:
            type: boolean
            default: true
        - variable: blocked_tools
          label: Blocked Tools
          description: Blocked Tools. A list of tools that should not appear on boards.
          schema:
            type: list
            default: []
            items:
              - variable: blockedTool
                label: Blocked Tool
                schema:
                  type: string
                  required: true
                  default: ""
        - variable: blocked_selection_buttons
          label: Blocked Selection Buttons
          description: Blocked Selection Buttons. A list of selection buttons that should not be available.
          schema:
            type: list
            default: []
            items:
              - variable: blockedButton
                label: Blocked Button
                schema:
                  type: string
                  required: true
                  default: ""

# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot}
        - variable: main
          label: Main Service
          description: The Primary service on which the healthcheck runs, often the webUI
          schema:
            additional_attrs: true
            type: dict
            attrs:
# 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: 10353
                              required: true
# Include{serviceExpertRoot}
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
        - variable: data
          label: Data Storage
          description: Data Storage
          schema:
            additional_attrs: true
            type: dict
            attrs:
# Include{persistenceBasic}
# 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: 1000
              - variable: runAsGroup
                label: "runAsGroup"
                description: "The groupID of the user running the application"
                schema:
                  type: int
                  default: 1000
# 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}
