Skip to content

Commit a6c2ce4

Browse files
krishhna24k8s-publishing-bot
authored andcommitted
imagepolicy: update generated files
Regenerated by hack/update-golangci-lint-config.sh and hack/update-codegen.sh after the commentstart changes. Kubernetes-commit: 0062a2bc681f62cca7dd206cd098f14e1d346ba0
1 parent c80ddd2 commit a6c2ce4

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

imagepolicy/v1alpha1/generated.proto

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

imagepolicy/v1alpha1/types_swagger_doc_generated.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ package v1alpha1
2929
// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
3030
var map_ImageReview = map[string]string{
3131
"": "ImageReview checks if the set of images in a pod are allowed.",
32-
"metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
33-
"spec": "Spec holds information about the pod being evaluated",
34-
"status": "Status is filled in by the backend and indicates whether the pod should be allowed.",
32+
"metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
33+
"spec": "spec holds information about the pod being evaluated",
34+
"status": "status is filled in by the backend and indicates whether the pod should be allowed.",
3535
}
3636

3737
func (ImageReview) SwaggerDoc() map[string]string {
@@ -40,7 +40,7 @@ func (ImageReview) SwaggerDoc() map[string]string {
4040

4141
var map_ImageReviewContainerSpec = map[string]string{
4242
"": "ImageReviewContainerSpec is a description of a container within the pod creation request.",
43-
"image": "This can be in the form image:tag or image@SHA:012345679abcdef.",
43+
"image": "image can be in the form image:tag or image@SHA:012345679abcdef.",
4444
}
4545

4646
func (ImageReviewContainerSpec) SwaggerDoc() map[string]string {
@@ -49,9 +49,9 @@ func (ImageReviewContainerSpec) SwaggerDoc() map[string]string {
4949

5050
var map_ImageReviewSpec = map[string]string{
5151
"": "ImageReviewSpec is a description of the pod creation request.",
52-
"containers": "Containers is a list of a subset of the information in each container of the Pod being created.",
53-
"annotations": "Annotations is a list of key-value pairs extracted from the Pod's annotations. It only includes keys which match the pattern `*.image-policy.k8s.io/*`. It is up to each webhook backend to determine how to interpret these annotations, if at all.",
54-
"namespace": "Namespace is the namespace the pod is being created in.",
52+
"containers": "containers is a list of a subset of the information in each container of the Pod being created.",
53+
"annotations": "annotations is a list of key-value pairs extracted from the Pod's annotations. It only includes keys which match the pattern `*.image-policy.k8s.io/*`. It is up to each webhook backend to determine how to interpret these annotations, if at all.",
54+
"namespace": "namespace is the namespace the pod is being created in.",
5555
}
5656

5757
func (ImageReviewSpec) SwaggerDoc() map[string]string {
@@ -60,9 +60,9 @@ func (ImageReviewSpec) SwaggerDoc() map[string]string {
6060

6161
var map_ImageReviewStatus = map[string]string{
6262
"": "ImageReviewStatus is the result of the review for the pod creation request.",
63-
"allowed": "Allowed indicates that all images were allowed to be run.",
64-
"reason": "Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user.",
65-
"auditAnnotations": "AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix).",
63+
"allowed": "allowed indicates that all images were allowed to be run.",
64+
"reason": "reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user.",
65+
"auditAnnotations": "auditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix).",
6666
}
6767

6868
func (ImageReviewStatus) SwaggerDoc() map[string]string {

0 commit comments

Comments
 (0)