No description
  • Go Template 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Frank Solli c057e40c19 feat: viti-stack compatibility
- Set ingress className to ingress-nginx-hnet-private
- Set pathType to Prefix (NGINX ingress)
- Add cert-manager annotation
2026-07-03 16:39:43 +02:00
templates Add configurable freshclam CronJob for nightly updates 2025-12-16 12:34:32 +01:00
Chart.yaml init 2025-12-15 14:18:49 +01:00
README.md Add configurable freshclam CronJob for nightly updates 2025-12-16 12:34:32 +01:00
values.yaml feat: viti-stack compatibility 2026-07-03 16:39:43 +02:00

Clamav helmchart

Introduction

Helm chart for setting up clamav, to be used by XCADS.

Features

  • ClamAV virus scanner daemon
  • Configurable freshclam and clamd settings
  • Automatic nightly virus definition updates via CronJob

Freshclam CronJob

The chart includes an optional Kubernetes CronJob that runs /usr/bin/freshclam nightly to update virus definitions.

Configuration

To enable the nightly freshclam updates, set the following in your values.yaml:

freshclamCronJob:
  enabled: true
  schedule: "0 2 * * *"  # Runs at 2 AM every night

Available Options

  • enabled: Enable or disable the CronJob (default: true)
  • schedule: Cron schedule expression (default: "0 2 * * *" - runs at 2 AM daily)
  • successfulJobsHistoryLimit: Number of successful job runs to keep (default: 3)
  • failedJobsHistoryLimit: Number of failed job runs to keep (default: 3)
  • concurrencyPolicy: How to handle concurrent runs - Allow, Forbid, or Replace (default: Forbid)
  • args: Additional command-line arguments for freshclam
  • env: Environment variables for the CronJob
  • resources: Resource limits and requests for the CronJob pod
  • podAnnotations: Annotations to add to the CronJob pods
  • nodeSelector: Node selector for the CronJob pods
  • tolerations: Tolerations for the CronJob pods
  • affinity: Affinity rules for the CronJob pods