Registered deprecated & removed release audit annotation
Signed-off-by: Ritikaa96 <ritika@india.nec.com>
This commit is contained in:
parent
c149f7545b
commit
4ba533f47f
|
|
@ -20,6 +20,20 @@ The annotations apply to audit events. Audit events are different from objects i
|
||||||
|
|
||||||
<!-- body -->
|
<!-- 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
|
## pod-security.kubernetes.io/exempt
|
||||||
|
|
||||||
Example: `pod-security.kubernetes.io/exempt: namespace`
|
Example: `pod-security.kubernetes.io/exempt: namespace`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue