# nameOverride -- override the name of the clamav chart
nameOverride: ""

# fullnameOverride -- override the full name of the clamav chart
fullnameOverride: ""

# image -- The clamav docker image
image:
  repository: clamav/clamav
  # version: "latest"
  type: base

replicaCount: 1

freshclam:
  # freshclam.mirrors -- A list of clamav mirrors to be used by the clamav service
  mirrors: database.clamav.net
limits:
  # limits.fileSize -- The largest file size scanable by clamav, in MB
  fileSize: 25
  # limits.scanSize -- The largest scan size permitted in clamav, in MB
  scanSize: 100
  # limits.connectionQueueLength -- Maximum length the queue of pending connections may grow to
  connectionQueueLength: 100
  # limits.maxThreads --Maximum number of threads running at the same time.
  maxThreads: 4
  # sendBufTimeout -- This option specifies how long to wait (in milliseconds) if the send buffer is full, keep low to avoid clamd hanging
  sendBufTimeout: 500

service:
  # service.port -- The port to be used by the clamav service
  port: 3310

resources:
  # resources -- The resource requests and limits for the clamav service
  requests:
    cpu: 300m
    memory: 2000M
  #limits:
  #  cpu: 2
  #  memory: 4000M