From dafa27e9282ff83169099fb1e5a9aaa0d9f54103 Mon Sep 17 00:00:00 2001 From: Anutosh Bhat <87052487+anutosh491@users.noreply.github.com> Date: Tue, 19 Jul 2022 17:46:50 +0530 Subject: [PATCH] Corrected description for UpdateRequest struct (#4215) * Corrected description for UpdateRequest struct Signed-off-by: anutosh491 * Added changes for docs Signed-off-by: anutosh491 * Added diff shown in verify generate tests Signed-off-by: anutosh491 Co-authored-by: shuting --- api/kyverno/v1beta1/updaterequest_types.go | 2 +- charts/kyverno/templates/crds.yaml | 2 +- config/crds/kyverno.io_updaterequests.yaml | 4 ++-- config/install.yaml | 4 ++-- config/install_debug.yaml | 4 ++-- docs/crd/v1beta1/index.html | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/api/kyverno/v1beta1/updaterequest_types.go b/api/kyverno/v1beta1/updaterequest_types.go index 829667b4bd..335d88384f 100644 --- a/api/kyverno/v1beta1/updaterequest_types.go +++ b/api/kyverno/v1beta1/updaterequest_types.go @@ -53,7 +53,7 @@ type UpdateRequestStatus struct { // +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" // +kubebuilder:resource:shortName=ur -// UpdateRequestStatus is a request to process mutate and generate rules in background. +// UpdateRequest is a request to process mutate and generate rules in background. type UpdateRequest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/charts/kyverno/templates/crds.yaml b/charts/kyverno/templates/crds.yaml index 7ca3e54dd4..3d96422c1f 100644 --- a/charts/kyverno/templates/crds.yaml +++ b/charts/kyverno/templates/crds.yaml @@ -7513,7 +7513,7 @@ spec: name: v1beta1 schema: openAPIV3Schema: - description: UpdateRequestStatus is a request to process mutate and generate rules in background. + description: UpdateRequest is a request to process mutate and generate rules in background. properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' diff --git a/config/crds/kyverno.io_updaterequests.yaml b/config/crds/kyverno.io_updaterequests.yaml index 7f11829f7d..65c4c341f1 100644 --- a/config/crds/kyverno.io_updaterequests.yaml +++ b/config/crds/kyverno.io_updaterequests.yaml @@ -42,8 +42,8 @@ spec: name: v1beta1 schema: openAPIV3Schema: - description: UpdateRequestStatus is a request to process mutate and generate - rules in background. + description: UpdateRequest is a request to process mutate and generate rules + in background. properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation diff --git a/config/install.yaml b/config/install.yaml index 4be445273b..385343f6c2 100644 --- a/config/install.yaml +++ b/config/install.yaml @@ -11830,8 +11830,8 @@ spec: name: v1beta1 schema: openAPIV3Schema: - description: UpdateRequestStatus is a request to process mutate and generate - rules in background. + description: UpdateRequest is a request to process mutate and generate rules + in background. properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation diff --git a/config/install_debug.yaml b/config/install_debug.yaml index 0228709cfe..68872ffb76 100755 --- a/config/install_debug.yaml +++ b/config/install_debug.yaml @@ -11821,8 +11821,8 @@ spec: name: v1beta1 schema: openAPIV3Schema: - description: UpdateRequestStatus is a request to process mutate and generate - rules in background. + description: UpdateRequest is a request to process mutate and generate rules + in background. properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation diff --git a/docs/crd/v1beta1/index.html b/docs/crd/v1beta1/index.html index 98eb3dfaff..35bd6c92b7 100644 --- a/docs/crd/v1beta1/index.html +++ b/docs/crd/v1beta1/index.html @@ -34,7 +34,7 @@ Resource Types:

UpdateRequest

-

UpdateRequestStatus is a request to process mutate and generate rules in background.

+

UpdateRequest is a request to process mutate and generate rules in background.