diff --git a/hack/.descriptions_failures b/hack/.descriptions_failures index 46b15d93115..d732c76a793 100644 --- a/hack/.descriptions_failures +++ b/hack/.descriptions_failures @@ -11,7 +11,6 @@ ./staging/src/k8s.io/api/extensions/v1beta1/types.go ./staging/src/k8s.io/api/flowcontrol/v1alpha1/types.go ./staging/src/k8s.io/api/flowcontrol/v1beta1/types.go -./staging/src/k8s.io/api/imagepolicy/v1alpha1/types.go ./staging/src/k8s.io/api/networking/v1/types.go ./staging/src/k8s.io/api/networking/v1beta1/types.go ./staging/src/k8s.io/api/policy/v1beta1/types.go diff --git a/staging/src/k8s.io/api/imagepolicy/v1alpha1/generated.proto b/staging/src/k8s.io/api/imagepolicy/v1alpha1/generated.proto index 107f04a0a63..ddce901c82b 100644 --- a/staging/src/k8s.io/api/imagepolicy/v1alpha1/generated.proto +++ b/staging/src/k8s.io/api/imagepolicy/v1alpha1/generated.proto @@ -30,6 +30,8 @@ option go_package = "v1alpha1"; // ImageReview checks if the set of images in a pod are allowed. message ImageReview { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; diff --git a/staging/src/k8s.io/api/imagepolicy/v1alpha1/types.go b/staging/src/k8s.io/api/imagepolicy/v1alpha1/types.go index fd689e638d9..151ffb1e9a3 100644 --- a/staging/src/k8s.io/api/imagepolicy/v1alpha1/types.go +++ b/staging/src/k8s.io/api/imagepolicy/v1alpha1/types.go @@ -28,6 +28,8 @@ import ( // ImageReview checks if the set of images in a pod are allowed. type ImageReview struct { metav1.TypeMeta `json:",inline"` + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` diff --git a/staging/src/k8s.io/api/imagepolicy/v1alpha1/types_swagger_doc_generated.go b/staging/src/k8s.io/api/imagepolicy/v1alpha1/types_swagger_doc_generated.go index 0211d94af01..8d51e77a08b 100644 --- a/staging/src/k8s.io/api/imagepolicy/v1alpha1/types_swagger_doc_generated.go +++ b/staging/src/k8s.io/api/imagepolicy/v1alpha1/types_swagger_doc_generated.go @@ -28,9 +28,10 @@ package v1alpha1 // AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT. var map_ImageReview = map[string]string{ - "": "ImageReview checks if the set of images in a pod are allowed.", - "spec": "Spec holds information about the pod being evaluated", - "status": "Status is filled in by the backend and indicates whether the pod should be allowed.", + "": "ImageReview checks if the set of images in a pod are allowed.", + "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "spec": "Spec holds information about the pod being evaluated", + "status": "Status is filled in by the backend and indicates whether the pod should be allowed.", } func (ImageReview) SwaggerDoc() map[string]string {