2022-01-17 23:27:08 +00:00
|
|
|
image:
|
2023-11-17 10:22:57 +00:00
|
|
|
repository: clamav/clamav
|
2022-01-17 23:27:08 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2024-09-14 00:52:44 +00:00
|
|
|
tag: 1.4.1@sha256:09ed837cb10f1f3e3175ccd6c749861c76fbf5ca3de45ec91711c8e75fe80bea
|
2022-01-17 23:27:08 +00:00
|
|
|
securityContext:
|
2023-04-30 19:15:20 +00:00
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
2022-03-26 23:16:14 +00:00
|
|
|
clamav:
|
|
|
|
report_path: "/logs"
|
|
|
|
# User Defined
|
2023-04-30 19:15:20 +00:00
|
|
|
|
2022-03-26 23:16:14 +00:00
|
|
|
cron_enabled: true
|
|
|
|
cron_schedule: "* * * * *"
|
|
|
|
date_format: "+%m-%d-%Y_%H.%M.%S"
|
|
|
|
log_file_name: "clamscan_report"
|
|
|
|
extra_args: ""
|
2022-01-17 23:27:08 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 3310
|
2023-04-30 19:15:20 +00:00
|
|
|
protocol: http
|
2022-01-17 23:27:08 +00:00
|
|
|
targetPort: 3310
|
|
|
|
milter:
|
2022-01-20 16:24:23 +00:00
|
|
|
enabled: true
|
2022-01-17 23:27:08 +00:00
|
|
|
ports:
|
|
|
|
milter:
|
2022-01-20 16:24:23 +00:00
|
|
|
enabled: true
|
2022-01-17 23:27:08 +00:00
|
|
|
port: 7357
|
2023-04-30 19:15:20 +00:00
|
|
|
protocol: http
|
2022-01-17 23:27:08 +00:00
|
|
|
targetPort: 7357
|
2022-03-26 23:16:14 +00:00
|
|
|
cronjob:
|
|
|
|
annotations: {}
|
|
|
|
failedJobsHistoryLimit: 5
|
|
|
|
successfulJobsHistoryLimit: 2
|
2023-04-30 19:15:20 +00:00
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
type: exec
|
|
|
|
command:
|
|
|
|
- clamdcheck.sh
|
|
|
|
readiness:
|
|
|
|
enabled: true
|
|
|
|
type: exec
|
|
|
|
command:
|
|
|
|
- clamdcheck.sh
|
|
|
|
startup:
|
|
|
|
enabled: true
|
|
|
|
type: exec
|
|
|
|
command:
|
|
|
|
- clamdcheck.sh
|
|
|
|
env:
|
|
|
|
CLAMAV_NO_CLAMD: false
|
|
|
|
CLAMAV_NO_FRESHCLAMD: false
|
|
|
|
CLAMAV_NO_MILTERD: true
|
|
|
|
CLAMD_STARTUP_TIMEOUT: 1800
|
|
|
|
FRESHCLAM_CHECKS: 1
|
2022-01-17 23:27:08 +00:00
|
|
|
persistence:
|
|
|
|
sigdatabase:
|
|
|
|
enabled: true
|
2023-04-30 19:15:20 +00:00
|
|
|
mountPath: /var/lib/clamav
|
|
|
|
targetSelectAll: true
|
2022-01-17 23:27:08 +00:00
|
|
|
scandir:
|
|
|
|
enabled: true
|
2023-04-30 19:15:20 +00:00
|
|
|
mountPath: /scandir
|
2022-01-17 23:27:08 +00:00
|
|
|
readOnly: true
|
2023-04-30 19:15:20 +00:00
|
|
|
targetSelectAll: true
|
2022-03-26 23:16:14 +00:00
|
|
|
logs:
|
|
|
|
enabled: true
|
2023-04-30 19:15:20 +00:00
|
|
|
mountPath: /logs
|
|
|
|
targetSelectAll: true
|
2022-08-08 21:25:02 +00:00
|
|
|
portal:
|
2023-04-30 19:15:20 +00:00
|
|
|
open:
|
|
|
|
enabled: false
|