**Description** <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._
215 lines
8.4 KiB
YAML
215 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{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}
|