Skip to content

Commit dc76ed9

Browse files
authored
Merge pull request #47268 from Ritikaa96/annotation-k8s-deprecated-removed-release
Registered k8s.io/deprecated & k8s.io/removed-release audit annotation
2 parents 0a5b1be + 6fda616 commit dc76ed9

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 "true" or "false". The value "true" indicates that the
28+
request used a deprecated API version.
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)