clamav-rest

Production-ready Helm chart for a REST-fronted ClamAV antivirus scanner.

License Latest release ClamAV Kubernetes Artifact Hub


Quick start

helm repo add clamav-rest https://community-artifacts.github.io/clamav-rest-helm
helm repo update
helm install av clamav-rest/clamav-rest

Then scan a file over the REST API:

kubectl port-forward svc/av-clamav-rest 9000:9000 &
curl -F 'file=@/path/to/file' http://localhost:9000/v2/scan

Need a values.yaml? See the full values reference and the example overlays in the repo.

What’s inside

An opinionated, hardened deployment of a REST-fronted ClamAV scanner — safe defaults, everything heavyweight opt-in:

Probes & cold-start

The image has no dedicated /healthz; probes target /, which returns 200 only once clamd has loaded the signature database (30–120 s cold). Two levers: enable persistence.enabled=true to reuse the DB across restarts, or startupProbe.enabled=true to decouple cold-start tolerance from the liveness probe.

Versions

SemVer; full changelog in RELEASE-NOTES.md. appVersion tracks the rolling ajilaag/clamav-rest image (pin image.tag to a digest in production).

ChartappVersionHighlights
0.1.0latestInitial release: Deployment + TLS, freshclam overlay, PVC, HPA, PDB, NetworkPolicy (vanilla + Cilium), ServiceMonitor, ESO image-pull credential, extraManifests
# pin a specific version
helm install av clamav-rest/clamav-rest --version 0.1.0

Source, issues, contributing