FEAT(trivy): add ignoreDiff for trivy-ui CPU limit

- Add ignoreDifferences for CPU limit field
- Prevent ArgoCD sync drift
This commit is contained in:
2026-01-02 23:17:10 +09:00
parent 59b834c250
commit a0e483a8c4

View File

@@ -92,6 +92,11 @@ spec:
destination:
server: https://kubernetes.default.svc
namespace: trivy-system
ignoreDifferences:
- group: apps
kind: Deployment
jsonPointers:
- /spec/template/spec/containers/0/resources/limits/cpu
syncPolicy:
automated:
prune: true
@@ -100,6 +105,7 @@ spec:
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- PruneLast=true
- RespectIgnoreDifferences=true
retry:
limit: 5
backoff: