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

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

  - variable: secretEnv
    group: App Configuration
    label: Image Secrets
    schema:
      additional_attrs: true
      type: dict
      attrs:
        - variable: SECRET_KEY
          label: Secret Key
          description: A Django variable acting as a salt for most things that require security.
          schema:
            type: string
            required: true
            default: ""
  - variable: env
    group: App Configuration
    label: Image Environment
    schema:
      additional_attrs: true
      type: dict
      attrs:
        - variable: APPRISE_STATEFUL_MODE
          label: Apprise Stateful Mode
          description: Stores the server configuration data.
          schema:
            type: string
            default: hash
            enum:
              - value: hash
                description: Hash
              - value: simple
                description: Simple
              - value: disabled
                description: Disabled
        - variable: APPRISE_CONFIG_LOCK
          label: Apprise Config Lock
          description: Locks down your API hosting
          schema:
            type: string
            default: "no"
            enum:
              - value: "no"
                description: "No"
              - value: "yes"
                description: "Yes"
        - variable: APPRISE_DENY_SERVICES
          label: Apprise Deny Services
          description: A comma separated set of entries identifying what plugins to deny access to.
          schema:
            type: string
            default: "windows,dbus,gnome,macos,syslog"
        - variable: APPRISE_ALLOW_SERVICES
          label: Apprise Allow Services
          description: A comma separated set of entries identifying what plugins to allow access to.
          schema:
            type: string
            default: ""
        - variable: ALLOWED_HOSTS
          label: Allowed Hosts
          description: A list of strings representing the host/domain names that this API can serve.
          schema:
            type: string
            default: "*"
        - variable: LOG_LEVEL
          label: Log Level
          description: Adjust the log level to the console.
          schema:
            type: string
            default: INFO
            enum:
              - value: INFO
                description: Info
              - value: DEBUG
                description: Debug
              - value: WARNING
                description: Warning
              - value: ERROR
                description: Error
              - value: CRITICAL
                description: Critical
        - variable: DEBUG
          label: Debug
          schema:
            type: string
            default: "no"
            enum:
              - value: "no"
                description: "No"
              - value: "yes"
                description: "Yes"
        - variable: APPRISE_RECURSION_MAX
          label: Apprise Recursion Max
          schema:
            type: int
            default: 1
            min: 1
# Include{containerConfig}
# 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: 8000
                              required: true
# Include{serviceExpertRoot}
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
        - variable: config
          label: App Config Storage
          description: Stores the Application Configuration.
          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: 33
        - variable: runAsGroup
          label: runAsGroup
          description: The groupID this App of the user running the application
          schema:
            type: int
            default: 33
# Include{securityContextContainer}
# Include{securityContextAdvanced}
# Include{securityContextPod}
        - variable: fsGroup
          label: fsGroup
          description: The group that should own ALL storage.
          schema:
            type: int
            default: 33

# Include{resources}
# Include{advanced}
# Include{addons}
# Include{codeserver}
# Include{netshoot}
# Include{vpn}
# Include{documentation}
