Skip to content

Commit 4ba533f

Browse files
committed
Registered deprecated & removed release audit annotation
Signed-off-by: Ritikaa96 <[email protected]>
1 parent c149f75 commit 4ba533f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

content/en/docs/reference/labels-annotations-taints/audit-annotations.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,20 @@ The annotations apply to audit events. Audit events are different from objects i
2020

2121
<!-- body -->
2222

23+
## k8s.io/deprecated
24+
25+
Example: `k8s.io/deprecated: true`
26+
27+
Value **must** be boolean. It is set to "true" indicating the request used a deprecated API version.
28+
If a target removal release is identified, the audit event includes the `k8s.io/removed-release` annotation.
29+
30+
## k8s.io/removed-release
31+
32+
Example: `k8s.io/removed-release: 1.22`
33+
34+
Value **must** be in the format "<major>.<minor>". It is set to target the removal release
35+
on requests made to deprecated API versions with a target removal release.
36+
2337
## pod-security.kubernetes.io/exempt
2438

2539
Example: `pod-security.kubernetes.io/exempt: namespace`

0 commit comments

Comments
 (0)