1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

docs: add policy cache controller docs (#4714)

Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>

Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Prateek Pandey <prateek.pandey@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2022-09-28 15:08:26 +02:00 committed by GitHub
parent 7302578623
commit c28c0f2f42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View file

@ -14,7 +14,6 @@ on:
- 'release*'
paths-ignore:
- 'README.md'
- 'docs/**'
- '.github/config.yml'
permissions: read-all

View file

@ -0,0 +1,11 @@
# Policy cache controller
## Attributes
This controller runs on all kyverno instances.
## Purpose
The policy cache controller watches instances of `Policy` and `ClusterPolicy` registered in the cluster and updates the policy cache accordingly.
The policy cache is used at admission time to lookup policies that need to be considered depending on the resource being processed.