update Annotations description about audit.Event
Kubernetes-commit: 0a8c207a59d34a811e792364c1077f896ae8b9a8
This commit is contained in:
parent
850c31c762
commit
d61a594a58
|
|
@ -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