From 41c3490ba9bfb23b22fd1aefd48de6d255242475 Mon Sep 17 00:00:00 2001 From: Md Shahbaz Alam Date: Thu, 29 Jun 2023 21:28:18 +0530 Subject: [PATCH] Feat: Upgrade controller-gen to v0.12.0 and fix tooling (#7683) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Upgrade controller-gen and fix tooling Signed-off-by: shahbaz * Address comments Signed-off-by: shahbaz * Add a marker in the sed command Signed-off-by: shahbaz * Upgrade to the latest version and rearrange the annotations Signed-off-by: shahbaz * Fix failing Verify Codegen tests Signed-off-by: shahbaz * Remove unnecessary file Signed-off-by: shahbaz * Restore original version in test folder Signed-off-by: shahbaz * Add creationTimestamp: null again in the test folder Signed-off-by: shahbaz --------- Signed-off-by: shahbaz Co-authored-by: shahbaz Co-authored-by: Charles-Edouard Brétéché --- Makefile | 13 ++-- charts/kyverno/templates/crds/crds.yaml | 72 +++++++++---------- config/crds/kyverno.io_admissionreports.yaml | 3 +- .../kyverno.io_backgroundscanreports.yaml | 3 +- config/crds/kyverno.io_cleanuppolicies.yaml | 3 +- .../kyverno.io_clusteradmissionreports.yaml | 3 +- ...verno.io_clusterbackgroundscanreports.yaml | 3 +- .../kyverno.io_clustercleanuppolicies.yaml | 3 +- config/crds/kyverno.io_clusterpolicies.yaml | 3 +- config/crds/kyverno.io_policies.yaml | 3 +- config/crds/kyverno.io_policyexceptions.yaml | 3 +- config/crds/kyverno.io_updaterequests.yaml | 3 +- .../wgpolicyk8s.io_clusterpolicyreports.yaml | 3 +- config/crds/wgpolicyk8s.io_policyreports.yaml | 3 +- config/install-latest-testing.yaml | 48 ++++++------- 15 files changed, 78 insertions(+), 91 deletions(-) diff --git a/Makefile b/Makefile index 5b207902ff..37c810aa56 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ TOOLS_DIR := $(PWD)/.tools KIND := $(TOOLS_DIR)/kind KIND_VERSION := v0.17.0 CONTROLLER_GEN := $(TOOLS_DIR)/controller-gen -CONTROLLER_GEN_VERSION := v0.11.3 +CONTROLLER_GEN_VERSION := v0.12.0 CLIENT_GEN := $(TOOLS_DIR)/client-gen LISTER_GEN := $(TOOLS_DIR)/lister-gen INFORMER_GEN := $(TOOLS_DIR)/informer-gen @@ -469,12 +469,11 @@ codegen-helm-crds: codegen-crds-all ## Generate helm CRDs @cat $(CRDS_PATH)/* \ | $(SED) -e '1i{{- if .Values.crds.install }}' \ | $(SED) -e '$$a{{- end }}' \ - | $(SED) -e '/^ creationTimestamp: null/i \ \ \ \ {{- with .Values.crds.annotations }}' \ - | $(SED) -e '/^ creationTimestamp: null/i \ \ \ \ {{- toYaml . | nindent 4 }}' \ - | $(SED) -e '/^ creationTimestamp: null/i \ \ \ \ {{- end }}' \ - | $(SED) -e '/^ creationTimestamp: null/a \ \ \ \ {{- include "kyverno.crds.labels" . | nindent 4 }}' \ - | $(SED) -e '/^ creationTimestamp: null/a \ \ labels:' \ - | $(SED) -e '/^ creationTimestamp: null/d' \ + | $(SED) -e '/^ annotations:/a \ \ \ \ {{- end }}' \ + | $(SED) -e '/^ annotations:/a \ \ \ \ {{- toYaml . | nindent 4 }}' \ + | $(SED) -e '/^ annotations:/a \ \ \ \ {{- with .Values.crds.annotations }}' \ + | $(SED) -e '/^ annotations:/i \ \ labels:' \ + | $(SED) -e '/^ labels:/a \ \ \ \ {{- include "kyverno.crds.labels" . | nindent 4 }}' \ > ./charts/kyverno/templates/crds/crds.yaml .PHONY: codegen-helm-all diff --git a/charts/kyverno/templates/crds/crds.yaml b/charts/kyverno/templates/crds/crds.yaml index 2740442b2c..b3dca560e9 100644 --- a/charts/kyverno/templates/crds/crds.yaml +++ b/charts/kyverno/templates/crds/crds.yaml @@ -3,13 +3,13 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: + labels: + {{- include "kyverno.crds.labels" . | nindent 4 }} annotations: - controller-gen.kubebuilder.io/version: v0.11.3 {{- with .Values.crds.annotations }} {{- toYaml . | nindent 4 }} {{- end }} - labels: - {{- include "kyverno.crds.labels" . | nindent 4 }} + controller-gen.kubebuilder.io/version: v0.12.0 name: admissionreports.kyverno.io spec: group: kyverno.io @@ -340,13 +340,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: + labels: + {{- include "kyverno.crds.labels" . | nindent 4 }} annotations: - controller-gen.kubebuilder.io/version: v0.11.3 {{- with .Values.crds.annotations }} {{- toYaml . | nindent 4 }} {{- end }} - labels: - {{- include "kyverno.crds.labels" . | nindent 4 }} + controller-gen.kubebuilder.io/version: v0.12.0 name: backgroundscanreports.kyverno.io spec: group: kyverno.io @@ -645,13 +645,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: + labels: + {{- include "kyverno.crds.labels" . | nindent 4 }} annotations: - controller-gen.kubebuilder.io/version: v0.11.3 {{- with .Values.crds.annotations }} {{- toYaml . | nindent 4 }} {{- end }} - labels: - {{- include "kyverno.crds.labels" . | nindent 4 }} + controller-gen.kubebuilder.io/version: v0.12.0 name: cleanuppolicies.kyverno.io spec: group: kyverno.io @@ -1908,13 +1908,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: + labels: + {{- include "kyverno.crds.labels" . | nindent 4 }} annotations: - controller-gen.kubebuilder.io/version: v0.11.3 {{- with .Values.crds.annotations }} {{- toYaml . | nindent 4 }} {{- end }} - labels: - {{- include "kyverno.crds.labels" . | nindent 4 }} + controller-gen.kubebuilder.io/version: v0.12.0 name: clusteradmissionreports.kyverno.io spec: group: kyverno.io @@ -2246,13 +2246,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: + labels: + {{- include "kyverno.crds.labels" . | nindent 4 }} annotations: - controller-gen.kubebuilder.io/version: v0.11.3 {{- with .Values.crds.annotations }} {{- toYaml . | nindent 4 }} {{- end }} - labels: - {{- include "kyverno.crds.labels" . | nindent 4 }} + controller-gen.kubebuilder.io/version: v0.12.0 name: clusterbackgroundscanreports.kyverno.io spec: group: kyverno.io @@ -2551,13 +2551,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: + labels: + {{- include "kyverno.crds.labels" . | nindent 4 }} annotations: - controller-gen.kubebuilder.io/version: v0.11.3 {{- with .Values.crds.annotations }} {{- toYaml . | nindent 4 }} {{- end }} - labels: - {{- include "kyverno.crds.labels" . | nindent 4 }} + controller-gen.kubebuilder.io/version: v0.12.0 name: clustercleanuppolicies.kyverno.io spec: group: kyverno.io @@ -3814,13 +3814,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: + labels: + {{- include "kyverno.crds.labels" . | nindent 4 }} annotations: - controller-gen.kubebuilder.io/version: v0.11.3 {{- with .Values.crds.annotations }} {{- toYaml . | nindent 4 }} {{- end }} - labels: - {{- include "kyverno.crds.labels" . | nindent 4 }} + controller-gen.kubebuilder.io/version: v0.12.0 name: clusterpolicies.kyverno.io spec: group: kyverno.io @@ -19808,13 +19808,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: + labels: + {{- include "kyverno.crds.labels" . | nindent 4 }} annotations: - controller-gen.kubebuilder.io/version: v0.11.3 {{- with .Values.crds.annotations }} {{- toYaml . | nindent 4 }} {{- end }} - labels: - {{- include "kyverno.crds.labels" . | nindent 4 }} + controller-gen.kubebuilder.io/version: v0.12.0 name: policies.kyverno.io spec: group: kyverno.io @@ -35805,13 +35805,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: + labels: + {{- include "kyverno.crds.labels" . | nindent 4 }} annotations: - controller-gen.kubebuilder.io/version: v0.11.3 {{- with .Values.crds.annotations }} {{- toYaml . | nindent 4 }} {{- end }} - labels: - {{- include "kyverno.crds.labels" . | nindent 4 }} + controller-gen.kubebuilder.io/version: v0.12.0 name: policyexceptions.kyverno.io spec: group: kyverno.io @@ -36329,13 +36329,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: + labels: + {{- include "kyverno.crds.labels" . | nindent 4 }} annotations: - controller-gen.kubebuilder.io/version: v0.11.3 {{- with .Values.crds.annotations }} {{- toYaml . | nindent 4 }} {{- end }} - labels: - {{- include "kyverno.crds.labels" . | nindent 4 }} + controller-gen.kubebuilder.io/version: v0.12.0 name: updaterequests.kyverno.io spec: group: kyverno.io @@ -36734,13 +36734,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: + labels: + {{- include "kyverno.crds.labels" . | nindent 4 }} annotations: - controller-gen.kubebuilder.io/version: v0.11.3 {{- with .Values.crds.annotations }} {{- toYaml . | nindent 4 }} {{- end }} - labels: - {{- include "kyverno.crds.labels" . | nindent 4 }} + controller-gen.kubebuilder.io/version: v0.12.0 name: clusterpolicyreports.wgpolicyk8s.io spec: group: wgpolicyk8s.io @@ -37101,13 +37101,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: + labels: + {{- include "kyverno.crds.labels" . | nindent 4 }} annotations: - controller-gen.kubebuilder.io/version: v0.11.3 {{- with .Values.crds.annotations }} {{- toYaml . | nindent 4 }} {{- end }} - labels: - {{- include "kyverno.crds.labels" . | nindent 4 }} + controller-gen.kubebuilder.io/version: v0.12.0 name: policyreports.wgpolicyk8s.io spec: group: wgpolicyk8s.io diff --git a/config/crds/kyverno.io_admissionreports.yaml b/config/crds/kyverno.io_admissionreports.yaml index a284250301..fff9cab9be 100644 --- a/config/crds/kyverno.io_admissionreports.yaml +++ b/config/crds/kyverno.io_admissionreports.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.3 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 name: admissionreports.kyverno.io spec: group: kyverno.io diff --git a/config/crds/kyverno.io_backgroundscanreports.yaml b/config/crds/kyverno.io_backgroundscanreports.yaml index fd558d2e6c..1ddc6e5a91 100644 --- a/config/crds/kyverno.io_backgroundscanreports.yaml +++ b/config/crds/kyverno.io_backgroundscanreports.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.3 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 name: backgroundscanreports.kyverno.io spec: group: kyverno.io diff --git a/config/crds/kyverno.io_cleanuppolicies.yaml b/config/crds/kyverno.io_cleanuppolicies.yaml index 06846e22c5..c4a2d6ed75 100644 --- a/config/crds/kyverno.io_cleanuppolicies.yaml +++ b/config/crds/kyverno.io_cleanuppolicies.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.3 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 name: cleanuppolicies.kyverno.io spec: group: kyverno.io diff --git a/config/crds/kyverno.io_clusteradmissionreports.yaml b/config/crds/kyverno.io_clusteradmissionreports.yaml index dc19faa07d..8c2d43ba76 100644 --- a/config/crds/kyverno.io_clusteradmissionreports.yaml +++ b/config/crds/kyverno.io_clusteradmissionreports.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.3 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 name: clusteradmissionreports.kyverno.io spec: group: kyverno.io diff --git a/config/crds/kyverno.io_clusterbackgroundscanreports.yaml b/config/crds/kyverno.io_clusterbackgroundscanreports.yaml index 43a4ae2514..b94a80ad20 100644 --- a/config/crds/kyverno.io_clusterbackgroundscanreports.yaml +++ b/config/crds/kyverno.io_clusterbackgroundscanreports.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.3 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 name: clusterbackgroundscanreports.kyverno.io spec: group: kyverno.io diff --git a/config/crds/kyverno.io_clustercleanuppolicies.yaml b/config/crds/kyverno.io_clustercleanuppolicies.yaml index eff14bc357..8b26f32697 100644 --- a/config/crds/kyverno.io_clustercleanuppolicies.yaml +++ b/config/crds/kyverno.io_clustercleanuppolicies.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.3 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 name: clustercleanuppolicies.kyverno.io spec: group: kyverno.io diff --git a/config/crds/kyverno.io_clusterpolicies.yaml b/config/crds/kyverno.io_clusterpolicies.yaml index 4b8d990f15..ef214515d8 100644 --- a/config/crds/kyverno.io_clusterpolicies.yaml +++ b/config/crds/kyverno.io_clusterpolicies.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.3 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 name: clusterpolicies.kyverno.io spec: group: kyverno.io diff --git a/config/crds/kyverno.io_policies.yaml b/config/crds/kyverno.io_policies.yaml index de5a1aeb62..9fecd89954 100644 --- a/config/crds/kyverno.io_policies.yaml +++ b/config/crds/kyverno.io_policies.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.3 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 name: policies.kyverno.io spec: group: kyverno.io diff --git a/config/crds/kyverno.io_policyexceptions.yaml b/config/crds/kyverno.io_policyexceptions.yaml index 04f0ebde8b..3713571e53 100644 --- a/config/crds/kyverno.io_policyexceptions.yaml +++ b/config/crds/kyverno.io_policyexceptions.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.3 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 name: policyexceptions.kyverno.io spec: group: kyverno.io diff --git a/config/crds/kyverno.io_updaterequests.yaml b/config/crds/kyverno.io_updaterequests.yaml index 483e92b496..8bca2a816d 100644 --- a/config/crds/kyverno.io_updaterequests.yaml +++ b/config/crds/kyverno.io_updaterequests.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.3 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 name: updaterequests.kyverno.io spec: group: kyverno.io diff --git a/config/crds/wgpolicyk8s.io_clusterpolicyreports.yaml b/config/crds/wgpolicyk8s.io_clusterpolicyreports.yaml index 3c6d8dafc2..0c402d86da 100644 --- a/config/crds/wgpolicyk8s.io_clusterpolicyreports.yaml +++ b/config/crds/wgpolicyk8s.io_clusterpolicyreports.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.3 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 name: clusterpolicyreports.wgpolicyk8s.io spec: group: wgpolicyk8s.io diff --git a/config/crds/wgpolicyk8s.io_policyreports.yaml b/config/crds/wgpolicyk8s.io_policyreports.yaml index a8c8aafeca..40d03a828c 100644 --- a/config/crds/wgpolicyk8s.io_policyreports.yaml +++ b/config/crds/wgpolicyk8s.io_policyreports.yaml @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.3 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 name: policyreports.wgpolicyk8s.io spec: group: wgpolicyk8s.io diff --git a/config/install-latest-testing.yaml b/config/install-latest-testing.yaml index 8edceca52f..1bc85159ae 100644 --- a/config/install-latest-testing.yaml +++ b/config/install-latest-testing.yaml @@ -206,13 +206,13 @@ data: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.11.3 labels: app.kubernetes.io/component: crds app.kubernetes.io/instance: kyverno app.kubernetes.io/part-of: kyverno app.kubernetes.io/version: latest + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 name: admissionreports.kyverno.io spec: group: kyverno.io @@ -543,13 +543,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.11.3 labels: app.kubernetes.io/component: crds app.kubernetes.io/instance: kyverno app.kubernetes.io/part-of: kyverno app.kubernetes.io/version: latest + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 name: backgroundscanreports.kyverno.io spec: group: kyverno.io @@ -848,13 +848,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.11.3 labels: app.kubernetes.io/component: crds app.kubernetes.io/instance: kyverno app.kubernetes.io/part-of: kyverno app.kubernetes.io/version: latest + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 name: cleanuppolicies.kyverno.io spec: group: kyverno.io @@ -2111,13 +2111,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.11.3 labels: app.kubernetes.io/component: crds app.kubernetes.io/instance: kyverno app.kubernetes.io/part-of: kyverno app.kubernetes.io/version: latest + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 name: clusteradmissionreports.kyverno.io spec: group: kyverno.io @@ -2449,13 +2449,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.11.3 labels: app.kubernetes.io/component: crds app.kubernetes.io/instance: kyverno app.kubernetes.io/part-of: kyverno app.kubernetes.io/version: latest + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 name: clusterbackgroundscanreports.kyverno.io spec: group: kyverno.io @@ -2754,13 +2754,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.11.3 labels: app.kubernetes.io/component: crds app.kubernetes.io/instance: kyverno app.kubernetes.io/part-of: kyverno app.kubernetes.io/version: latest + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 name: clustercleanuppolicies.kyverno.io spec: group: kyverno.io @@ -4017,13 +4017,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.11.3 labels: app.kubernetes.io/component: crds app.kubernetes.io/instance: kyverno app.kubernetes.io/part-of: kyverno app.kubernetes.io/version: latest + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 name: clusterpolicies.kyverno.io spec: group: kyverno.io @@ -20011,13 +20011,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.11.3 labels: app.kubernetes.io/component: crds app.kubernetes.io/instance: kyverno app.kubernetes.io/part-of: kyverno app.kubernetes.io/version: latest + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 name: policies.kyverno.io spec: group: kyverno.io @@ -36008,13 +36008,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.11.3 labels: app.kubernetes.io/component: crds app.kubernetes.io/instance: kyverno app.kubernetes.io/part-of: kyverno app.kubernetes.io/version: latest + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 name: policyexceptions.kyverno.io spec: group: kyverno.io @@ -36532,13 +36532,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.11.3 labels: app.kubernetes.io/component: crds app.kubernetes.io/instance: kyverno app.kubernetes.io/part-of: kyverno app.kubernetes.io/version: latest + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 name: updaterequests.kyverno.io spec: group: kyverno.io @@ -36937,13 +36937,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.11.3 labels: app.kubernetes.io/component: crds app.kubernetes.io/instance: kyverno app.kubernetes.io/part-of: kyverno app.kubernetes.io/version: latest + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 name: clusterpolicyreports.wgpolicyk8s.io spec: group: wgpolicyk8s.io @@ -37304,13 +37304,13 @@ spec: apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.11.3 labels: app.kubernetes.io/component: crds app.kubernetes.io/instance: kyverno app.kubernetes.io/part-of: kyverno app.kubernetes.io/version: latest + annotations: + controller-gen.kubebuilder.io/version: v0.12.0 name: policyreports.wgpolicyk8s.io spec: group: wgpolicyk8s.io