Skip to content

Commit

Permalink
Registered deprecated & removed release audit annotation
Browse files Browse the repository at this point in the history
Signed-off-by: Ritikaa96 <ritika@india.nec.com>
  • Loading branch information
Ritikaa96 committed Jul 25, 2024
1 parent c149f75 commit 4ba533f
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 4ba533f

Please sign in to comment.