Registered deprecated & removed release audit annotation

Signed-off-by: Ritikaa96 <ritika@india.nec.com>
This commit is contained in:
Ritikaa96 2024-07-25 12:59:53 +05:30
parent c149f7545b
commit 4ba533f47f
1 changed files with 14 additions and 0 deletions

View File

@ -20,6 +20,20 @@ The annotations apply to audit events. Audit events are different from objects i
<!-- body -->
## k8s.io/deprecated
Example: `k8s.io/deprecated: true`
Value **must** be boolean. It is set to "true" indicating the request used a deprecated API version.
If a target removal release is identified, the audit event includes the `k8s.io/removed-release` annotation.
## k8s.io/removed-release
Example: `k8s.io/removed-release: 1.22`
Value **must** be in the format "<major>.<minor>". It is set to target the removal release
on requests made to deprecated API versions with a target removal release.
## pod-security.kubernetes.io/exempt
Example: `pod-security.kubernetes.io/exempt: namespace`