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

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

  - variable: env
    group: "App Configuration"
    label: "Image Environment"
    schema:
      additional_attrs: true
      type: dict
      attrs:
        - variable: HOST
          label: "HOST"
          description: "Specify the full hostname from your IRCd (must be the same as configured in your IRCd Server)."
          schema:
            type: string
            default: "irc.example.com"
        - variable: IP_ADDR
          label: "IP_ADDR"
          description: "Specify the IP Address from your IRCd (if you run it on Unraid it is usually the IP address of Unraid)."
          schema:
            type: string
            default: ""
        - variable: SSL
          label: "SSL"
          description: "Use SSL to establish the connection (if your IRCd is on the same network this is no problem since Anope talks internally to your IRCd - use this carefully since you have to configure some extra settings in the services.conf itself - valid options are yes or no)."
          schema:
            type: string
            default: "yes"
        - variable: PORT
          label: "PORT"
          description: "The Server port of your IRCd (usually 7000 is without SSL - this is be no proble if you connect it to your internal network since it only talks internally to your IRCd - if you want to enable SSL you have to configure some extra settings in the services.conf itself)."
          schema:
            type: string
            default: "7000"
        - variable: PASSWORD
          label: "PASSWORD"
          description: "This have to be the same as your IRCd Service Password (if you are using InspIRCd click on Show more Settings)."
          schema:
            type: string
            default: ""
        - variable: IRCD
          label: "IRCD"
          description: "Set your IRCd type (valid options are bahamut, charybdis, hybrid, inspircd12, inspircd20, inspircd3, ngircd, plexus, ratbox, unreal (for 3.2.x), unreal4)"
          schema:
            type: string
            default: "inspircd3"
        - variable: CASEMAP
          label: "CASEMAP"
          description: "Specify the casemap of your IRCd (if you use InspIRCd the default value is rfc1459 other clients often use for example ascii)"
          schema:
            type: string
            default: "rfc1459"
        - variable: LOCAL_HOSTNAME
          label: "LOCAL_HOSTNAME"
          description: "Specify the hostname where Anope is available (this has to be something different than your IRCd hostname, you dont have to make it reachable from outside or create any port forwarding - leave this value as it is)"
          schema:
            type: string
            default: "services"
        - variable: UMASK
          label: "UMASK"
          description: "Container Variable UMASK"
          schema:
            type: string
            default: "000"
        - variable: DATA_PERM
          label: "DATA_PERM"
          description: "Container Variable DATAPERM"
          schema:
            type: string
            default: "770"
# Include{serviceExpertRoot}
            default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
        - variable: datapath
          label: "datapath Storage"
          description: "Data Path"
          schema:
            additional_attrs: true
            type: dict
            attrs:
# Include{persistenceBasic}
# Include{persistenceList}
# Include{securityContextRoot}

              - variable: runAsUser
                label: "runAsUser"
                description: "The UserID of the user running the application"
                schema:
                  type: int
                  default: 0
              - variable: runAsGroup
                label: "runAsGroup"
                description: "The groupID of the user running the application"
                schema:
                  type: int
                  default: 0
# 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}
