mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
update Annotations description about audit.Event
This commit is contained in:
parent
99c17d89c7
commit
0a8c207a59
@ -132,9 +132,10 @@ type Event struct {
|
|||||||
|
|
||||||
// Annotations is an unstructured key value map stored with an audit event that may be set by
|
// Annotations is an unstructured key value map stored with an audit event that may be set by
|
||||||
// plugins invoked in the request serving chain, including authentication, authorization and
|
// plugins invoked in the request serving chain, including authentication, authorization and
|
||||||
// admission plugins. Keys should uniquely identify the informing component to avoid name
|
// admission plugins. Note that these annotations are for the audit event, and do not correspond
|
||||||
// collisions (e.g. podsecuritypolicy.admission.k8s.io/policy). Values should be short. Annotations
|
// to the metadata.annotations of the submitted object. Keys should uniquely identify the informing
|
||||||
// are included in the Metadata level.
|
// component to avoid name collisions (e.g. podsecuritypolicy.admission.k8s.io/policy). Values
|
||||||
|
// should be short. Annotations are included in the Metadata level.
|
||||||
// +optional
|
// +optional
|
||||||
Annotations map[string]string
|
Annotations map[string]string
|
||||||
}
|
}
|
||||||
|
@ -127,9 +127,10 @@ type Event struct {
|
|||||||
|
|
||||||
// Annotations is an unstructured key value map stored with an audit event that may be set by
|
// Annotations is an unstructured key value map stored with an audit event that may be set by
|
||||||
// plugins invoked in the request serving chain, including authentication, authorization and
|
// plugins invoked in the request serving chain, including authentication, authorization and
|
||||||
// admission plugins. Keys should uniquely identify the informing component to avoid name
|
// admission plugins. Note that these annotations are for the audit event, and do not correspond
|
||||||
// collisions (e.g. podsecuritypolicy.admission.k8s.io/policy). Values should be short. Annotations
|
// to the metadata.annotations of the submitted object. Keys should uniquely identify the informing
|
||||||
// are included in the Metadata level.
|
// component to avoid name collisions (e.g. podsecuritypolicy.admission.k8s.io/policy). Values
|
||||||
|
// should be short. Annotations are included in the Metadata level.
|
||||||
// +optional
|
// +optional
|
||||||
Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,15,rep,name=annotations"`
|
Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,15,rep,name=annotations"`
|
||||||
}
|
}
|
||||||
|
@ -139,9 +139,10 @@ type Event struct {
|
|||||||
|
|
||||||
// Annotations is an unstructured key value map stored with an audit event that may be set by
|
// Annotations is an unstructured key value map stored with an audit event that may be set by
|
||||||
// plugins invoked in the request serving chain, including authentication, authorization and
|
// plugins invoked in the request serving chain, including authentication, authorization and
|
||||||
// admission plugins. Keys should uniquely identify the informing component to avoid name
|
// admission plugins. Note that these annotations are for the audit event, and do not correspond
|
||||||
// collisions (e.g. podsecuritypolicy.admission.k8s.io/policy). Values should be short. Annotations
|
// to the metadata.annotations of the submitted object. Keys should uniquely identify the informing
|
||||||
// are included in the Metadata level.
|
// component to avoid name collisions (e.g. podsecuritypolicy.admission.k8s.io/policy). Values
|
||||||
|
// should be short. Annotations are included in the Metadata level.
|
||||||
// +optional
|
// +optional
|
||||||
Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,17,rep,name=annotations"`
|
Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,17,rep,name=annotations"`
|
||||||
}
|
}
|
||||||
|
@ -135,9 +135,10 @@ type Event struct {
|
|||||||
|
|
||||||
// Annotations is an unstructured key value map stored with an audit event that may be set by
|
// Annotations is an unstructured key value map stored with an audit event that may be set by
|
||||||
// plugins invoked in the request serving chain, including authentication, authorization and
|
// plugins invoked in the request serving chain, including authentication, authorization and
|
||||||
// admission plugins. Keys should uniquely identify the informing component to avoid name
|
// admission plugins. Note that these annotations are for the audit event, and do not correspond
|
||||||
// collisions (e.g. podsecuritypolicy.admission.k8s.io/policy). Values should be short. Annotations
|
// to the metadata.annotations of the submitted object. Keys should uniquely identify the informing
|
||||||
// are included in the Metadata level.
|
// component to avoid name collisions (e.g. podsecuritypolicy.admission.k8s.io/policy). Values
|
||||||
|
// should be short. Annotations are included in the Metadata level.
|
||||||
// +optional
|
// +optional
|
||||||
Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,17,rep,name=annotations"`
|
Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,17,rep,name=annotations"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user