image:
  repository: tccr.io/truecharts/clamav
  pullPolicy: IfNotPresent
  tag: 1.0.1@sha256:6f09199cb0e4ef83356dfe08c5d19d6af65513c3e73792312068036925acda75

podSecurityContext:
  runAsUser: 0
  runAsGroup: 0

securityContext:
  readOnlyRootFilesystem: false
  runAsNonRoot: false

env:
  CLAMAV_NO_CLAMD: false
  CLAMAV_NO_FRESHCLAMD: false
  CLAMAV_NO_MILTERD: true
  CLAMD_STARTUP_TIMEOUT: 1800
  FRESHCLAM_CHECKS: 1

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: ""

probes:
  liveness:
    enabled: true
    custom: true
    spec:
      exec:
        command:
          - clamdcheck.sh
  readiness:
    enabled: true
    custom: true
    spec:
      exec:
        command:
          - clamdcheck.sh
  startup:
    enabled: true
    custom: true
    spec:
      exec:
        command:
          - clamdcheck.sh

service:
  main:
    ports:
      main:
        port: 3310
        targetPort: 3310
  milter:
    enabled: true
    ports:
      milter:
        enabled: true
        port: 7357
        targetPort: 7357

cronjob:
  annotations: {}
  failedJobsHistoryLimit: 5
  successfulJobsHistoryLimit: 2

persistence:
  sigdatabase:
    enabled: true
    mountPath: "/var/lib/clamav"
  scandir:
    enabled: true
    mountPath: "/scandir"
    readOnly: true
  logs:
    enabled: true
    mountPath: "/logs"

portal:
  enabled: false
