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

# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
                                - variable: env
                                  group: App Configuration
                                  label: Image Environment
                                  schema:
                                    additional_attrs: true
                                    type: dict
                                    attrs:
                                      - variable: ME_CONFIG_BASICAUTH_USERNAME
                                        label: WebUI Basic Auth Username
                                        description: Basic Auth Username
                                        schema:
                                          type: string
                                          default: ""
                                          required: true
                                      - variable: ME_CONFIG_BASICAUTH_PASSWORD
                                        label: WebUI Basic Auth Password
                                        description: Basic Auth Password
                                        schema:
                                          type: string
                                          default: ""
                                          required: true
                                          private: true
                                      - variable: ME_CONFIG_MONGODB_SERVER
                                        label: MongoDB Database Server
                                        description: Database Server
                                        schema:
                                          type: string
                                          default: ""
                                      - variable: ME_CONFIG_MONGODB_PORT
                                        label: MongoDB Database Port
                                        description: Database Port
                                        schema:
                                          type: int
                                          default: 27017
                                      - variable: ME_CONFIG_MONGODB_AUTH_DATABASE
                                        label: MongoDB Database name
                                        description: Database name
                                        schema:
                                          type: string
                                          default: ""
                                      - variable: ME_CONFIG_MONGODB_AUTH_USERNAME
                                        label: MongoDB Database username
                                        description: Database username
                                        schema:
                                          type: string
                                          required: true
                                          default: mongo-express
                                      - variable: ME_CONFIG_MONGODB_AUTH_PASSWORD
                                        label: MongoDB Database Password
                                        description: Database password
                                        schema:
                                          type: string
                                          default: ""
                                          private: true
                                      - variable: ME_CONFIG_OPTIONS_EDITORTHEME
                                        label: Editor Theme
                                        description: Pick a theme from https://codemirror.net/5/demo/theme.html
                                        schema:
                                          type: string
                                          required: true
                                          default: default

# Include{containerBasic}
# Include{containerAdvanced}

# Include{containerConfig}
# 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: 18081
                              required: true
# Include{serviceExpertRoot}
            default: false
# 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{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}
