Skip to content

Commit

Permalink
startup probe added
Browse files Browse the repository at this point in the history
  • Loading branch information
Loki-Afro committed Jan 7, 2025
1 parent 7339d4d commit 7513ea3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ansible/roles/clamav/templates/deployment.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ spec:
envFrom:
- configMapRef:
name: clamav-configmap
startupProbe:
exec:
command:
- clamdcheck.sh
failureThreshold: 30
periodSeconds: 10
resources:
limits:
cpu: {{ CLAMAV_CPU_MAX|default("500m", true) }}
Expand Down

0 comments on commit 7513ea3

Please sign in to comment.