exclude trivy-system from kyverno policies
This commit is contained in:
@@ -23,6 +23,7 @@ spec:
|
||||
- monitoring
|
||||
- argocd
|
||||
- traefik-system
|
||||
- trivy-system
|
||||
context:
|
||||
- name: ownerReplicaSet
|
||||
apiCall:
|
||||
@@ -59,6 +60,7 @@ spec:
|
||||
- monitoring
|
||||
- argocd
|
||||
- traefik-system
|
||||
- trivy-system
|
||||
skipBackgroundRequests: true
|
||||
validate:
|
||||
allowExistingViolations: true
|
||||
|
||||
@@ -26,6 +26,7 @@ spec:
|
||||
- monitoring
|
||||
- secrets
|
||||
- kyverno
|
||||
- trivy-system
|
||||
match:
|
||||
any:
|
||||
- resources:
|
||||
|
||||
Reference in New Issue
Block a user