exclude trivy-system from kyverno policies

This commit is contained in:
snothub
2026-03-26 13:34:00 +01:00
parent c33abcc357
commit 1609f6afde
2 changed files with 3 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ spec:
- monitoring - monitoring
- argocd - argocd
- traefik-system - traefik-system
- trivy-system
context: context:
- name: ownerReplicaSet - name: ownerReplicaSet
apiCall: apiCall:
@@ -59,6 +60,7 @@ spec:
- monitoring - monitoring
- argocd - argocd
- traefik-system - traefik-system
- trivy-system
skipBackgroundRequests: true skipBackgroundRequests: true
validate: validate:
allowExistingViolations: true allowExistingViolations: true

View File

@@ -26,6 +26,7 @@ spec:
- monitoring - monitoring
- secrets - secrets
- kyverno - kyverno
- trivy-system
match: match:
any: any:
- resources: - resources: