TrueChartsClone/charts/stable/clamav/questions.yaml

222 lines
8.4 KiB
YAML

# Include{groups}
portals: {}
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: CLAMAV_NO_CLAMD
label: "NO CLAMD"
description: "Do not start clamd."
schema:
type: boolean
default: false
- variable: CLAMAV_NO_FRESHCLAMD
label: "NO FRESHCLAMD"
description: "Do not start the freshclam daemon."
schema:
type: boolean
default: false
- variable: CLAMAV_NO_MILTERD
label: "NO MILTERD"
description: "Do not start the clamav-milter daemon."
schema:
type: boolean
default: true
- variable: CLAMD_STARTUP_TIMEOUT
label: "STARTUP TIMEOUT"
description: "Seconds to wait for clamd to start."
schema:
type: int
default: 1800
- variable: FRESHCLAM_CHECKS
label: "FRESHCLAM CHECKS "
description: "Freshclam daily update frequency."
schema:
type: int
default: 1
# Include{containerBasic}
# Include{containerAdvanced}
- variable: clamav
group: "App Configuration"
label: "ClamAV Cron Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: cron_enabled
label: "Enable cronjob"
description: "Enables automatic scan for /scandir"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: cron_schedule
label: "Cron Schedule"
description: "Enter a valid cron schedule"
schema:
type: string
default: "@daily"
required: true
- variable: log_file_name
label: "Log File Name"
description: "Log file name for the scan report. You will find this report in /logs/FILENAME_DATEFORMAT"
schema:
type: string
default: "clamscan_report"
required: true
- variable: date_format
label: "Date Format"
description: "Date format for the log file"
schema:
type: string
default: "MM-DD-YYYY_HH.MM.SS"
required: true
enum:
- value: "+%m-%d-%Y_%H.%M.%S"
description: "MM-DD-YYYY_HH.MM.SS"
- value: "+%Y-%m-%d_%H.%M.%S"
description: "YYYY-MM-DD_HH.MM.SS"
- value: "+%H.%M.%S_%m-%d-%Y"
description: "HH.MM.SS_MM-DD-YYYY"
- value: "+%H.%M.%S_%Y-%m-%d"
description: "HH.MM.SS_YYYY-MM-DD"
- variable: extra_args
label: "Extra Args"
description: "Set extra args for clamscan here. (https://linux.die.net/man/1/clamscan). We already set --log, --database and --recursive. Do not add those here."
schema:
type: string
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: 3310
required: true
- variable: milter
label: "Milter 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: milter
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: 7357
required: true
# Include{serviceExpertRoot}
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: sigdatabase
label: "App Signature Database Storage"
description: "Stores the Application Signature Database."
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
- variable: scandir
label: "App Scan Dir Storage"
description: "Stores the Application Scan Directory. (By default set to readOnly)"
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
- variable: logs
label: "App Logs Storage"
description: "Stores the Application Logs."
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: 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}