You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+9
Original file line number
Diff line number
Diff line change
@@ -73,10 +73,19 @@ spec:
73
73
cascades: {}
74
74
```
75
75
76
+
## How it works
77
+
78
+
The scan-deduplicator works via a [validating webhook](https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/) configuration in Kubernetes.
79
+
Before a scan is created in the cluster, kubernetes reaches out to the scan-deduplicator via a http request.
80
+
The scan-deduplicator then checks if the scan was already executed recently.
81
+
If it was executed recently, the webhook marks the scan as invalid and kubernetes will not create the scan.
82
+
76
83
## Deployment (WIP)
77
84
78
85
Deploys the scan-deduplicator, including a [valkey](https://valkey.io/) instance for a persistent cache.
79
86
87
+
> NOTE: This requires the cluster to have [cert-manger](https://cert-manager.io/) installed in the cluster to generate a tls certificate for the validating webhook.
0 commit comments