2023-08-01 09:25:32 +00:00
|
|
|
image:
|
2023-11-17 10:34:06 +00:00
|
|
|
repository: clamav/clamav
|
2023-08-01 09:25:32 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-11-17 10:34:06 +00:00
|
|
|
tag: 1.2.1@sha256:5968dbccd6c38ec86f2c7503070207d9a11bbdd7bee4c05ecf649fef2d3987c9
|
2023-08-01 09:25:32 +00:00
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
clamav:
|
|
|
|
report_path: "/logs"
|
|
|
|
# User Defined
|
|
|
|
|
|
|
|
cron_enabled: true
|
|
|
|
cron_schedule: "* * * * *"
|
|
|
|
date_format: "+%m-%d-%Y_%H.%M.%S"
|
|
|
|
log_file_name: "clamscan_report"
|
|
|
|
extra_args: ""
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 3310
|
|
|
|
protocol: http
|
|
|
|
targetPort: 3310
|
|
|
|
milter:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
milter:
|
|
|
|
enabled: true
|
|
|
|
port: 7357
|
|
|
|
protocol: http
|
|
|
|
targetPort: 7357
|
|
|
|
cronjob:
|
|
|
|
annotations: {}
|
|
|
|
failedJobsHistoryLimit: 5
|
|
|
|
successfulJobsHistoryLimit: 2
|
|
|
|
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
|
|
|
|
persistence:
|
|
|
|
sigdatabase:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /var/lib/clamav
|
|
|
|
targetSelectAll: true
|
|
|
|
scandir:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /scandir
|
|
|
|
readOnly: true
|
|
|
|
targetSelectAll: true
|
|
|
|
logs:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /logs
|
|
|
|
targetSelectAll: true
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: false
|