exclude trivy-system from kyverno policies
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ spec:
|
|||||||
- monitoring
|
- monitoring
|
||||||
- secrets
|
- secrets
|
||||||
- kyverno
|
- kyverno
|
||||||
|
- trivy-system
|
||||||
match:
|
match:
|
||||||
any:
|
any:
|
||||||
- resources:
|
- resources:
|
||||||
|
|||||||
Reference in New Issue
Block a user