diff --git a/Makefile b/Makefile index dbbe4e0351..28b3c90800 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ TOOLS_DIR := $(PWD)/.tools KIND := $(TOOLS_DIR)/kind KIND_VERSION := v0.14.0 CONTROLLER_GEN := $(TOOLS_DIR)/controller-gen -CONTROLLER_GEN_VERSION := v0.9.1-0.20220629131006-1878064c4cdf +CONTROLLER_GEN_VERSION := v0.10.0 CLIENT_GEN := $(TOOLS_DIR)/client-gen LISTER_GEN := $(TOOLS_DIR)/lister-gen INFORMER_GEN := $(TOOLS_DIR)/informer-gen diff --git a/charts/kyverno/templates/crds.yaml b/charts/kyverno/templates/crds.yaml index 59c8be0d52..b35511cb23 100644 --- a/charts/kyverno/templates/crds.yaml +++ b/charts/kyverno/templates/crds.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 config.kubernetes.io/index: '1' internal.config.kubernetes.io/index: '1' creationTimestamp: null @@ -257,7 +257,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 config.kubernetes.io/index: '2' internal.config.kubernetes.io/index: '2' creationTimestamp: null @@ -481,7 +481,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 config.kubernetes.io/index: '3' internal.config.kubernetes.io/index: '3' creationTimestamp: null @@ -735,7 +735,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 config.kubernetes.io/index: '4' internal.config.kubernetes.io/index: '4' creationTimestamp: null @@ -959,7 +959,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 config.kubernetes.io/index: '5' internal.config.kubernetes.io/index: '5' creationTimestamp: null @@ -7933,7 +7933,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 config.kubernetes.io/index: '6' internal.config.kubernetes.io/index: '6' creationTimestamp: null @@ -8205,7 +8205,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 config.kubernetes.io/index: '7' internal.config.kubernetes.io/index: '7' creationTimestamp: null @@ -8380,7 +8380,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 config.kubernetes.io/index: '8' internal.config.kubernetes.io/index: '8' creationTimestamp: null @@ -15354,7 +15354,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 config.kubernetes.io/index: '9' internal.config.kubernetes.io/index: '9' creationTimestamp: null @@ -15626,7 +15626,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 config.kubernetes.io/index: '10' internal.config.kubernetes.io/index: '10' creationTimestamp: null diff --git a/config/crds/kyverno.io_admissionreports.yaml b/config/crds/kyverno.io_admissionreports.yaml index 5b84c7a1a1..a2da441d20 100644 --- a/config/crds/kyverno.io_admissionreports.yaml +++ b/config/crds/kyverno.io_admissionreports.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null name: admissionreports.kyverno.io spec: diff --git a/config/crds/kyverno.io_backgroundscanreports.yaml b/config/crds/kyverno.io_backgroundscanreports.yaml index 3e1ca4d553..c51626944c 100644 --- a/config/crds/kyverno.io_backgroundscanreports.yaml +++ b/config/crds/kyverno.io_backgroundscanreports.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null name: backgroundscanreports.kyverno.io spec: diff --git a/config/crds/kyverno.io_clusteradmissionreports.yaml b/config/crds/kyverno.io_clusteradmissionreports.yaml index de7da4243d..63aebb704d 100644 --- a/config/crds/kyverno.io_clusteradmissionreports.yaml +++ b/config/crds/kyverno.io_clusteradmissionreports.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null name: clusteradmissionreports.kyverno.io spec: diff --git a/config/crds/kyverno.io_clusterbackgroundscanreports.yaml b/config/crds/kyverno.io_clusterbackgroundscanreports.yaml index 5cf4f3054b..8d19663d9d 100644 --- a/config/crds/kyverno.io_clusterbackgroundscanreports.yaml +++ b/config/crds/kyverno.io_clusterbackgroundscanreports.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null name: clusterbackgroundscanreports.kyverno.io spec: diff --git a/config/crds/kyverno.io_clusterpolicies.yaml b/config/crds/kyverno.io_clusterpolicies.yaml index 277e8220d9..4734fa798f 100644 --- a/config/crds/kyverno.io_clusterpolicies.yaml +++ b/config/crds/kyverno.io_clusterpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null name: clusterpolicies.kyverno.io spec: diff --git a/config/crds/kyverno.io_generaterequests.yaml b/config/crds/kyverno.io_generaterequests.yaml index 32080283f3..9c8f69133d 100644 --- a/config/crds/kyverno.io_generaterequests.yaml +++ b/config/crds/kyverno.io_generaterequests.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null name: generaterequests.kyverno.io spec: diff --git a/config/crds/kyverno.io_policies.yaml b/config/crds/kyverno.io_policies.yaml index 294177ce45..6350d9e946 100644 --- a/config/crds/kyverno.io_policies.yaml +++ b/config/crds/kyverno.io_policies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null name: policies.kyverno.io spec: diff --git a/config/crds/kyverno.io_updaterequests.yaml b/config/crds/kyverno.io_updaterequests.yaml index 65c4c341f1..f3954fdfb0 100644 --- a/config/crds/kyverno.io_updaterequests.yaml +++ b/config/crds/kyverno.io_updaterequests.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null name: updaterequests.kyverno.io spec: diff --git a/config/crds/wgpolicyk8s.io_clusterpolicyreports.yaml b/config/crds/wgpolicyk8s.io_clusterpolicyreports.yaml index 147e5a29cb..c727cabbef 100644 --- a/config/crds/wgpolicyk8s.io_clusterpolicyreports.yaml +++ b/config/crds/wgpolicyk8s.io_clusterpolicyreports.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null name: clusterpolicyreports.wgpolicyk8s.io spec: diff --git a/config/crds/wgpolicyk8s.io_policyreports.yaml b/config/crds/wgpolicyk8s.io_policyreports.yaml index 064770a9b4..c0ef795096 100644 --- a/config/crds/wgpolicyk8s.io_policyreports.yaml +++ b/config/crds/wgpolicyk8s.io_policyreports.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null name: policyreports.wgpolicyk8s.io spec: diff --git a/config/install.yaml b/config/install.yaml index a6ae3cfc98..3efd63e3df 100644 --- a/config/install.yaml +++ b/config/install.yaml @@ -14,7 +14,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -351,7 +351,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -652,7 +652,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -990,7 +990,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -1291,7 +1291,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -12530,7 +12530,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -12899,7 +12899,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -13089,7 +13089,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -24331,7 +24331,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -24699,7 +24699,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno diff --git a/config/install_debug.yaml b/config/install_debug.yaml index 9febc99581..6613de6193 100644 --- a/config/install_debug.yaml +++ b/config/install_debug.yaml @@ -13,7 +13,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -349,7 +349,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -649,7 +649,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -986,7 +986,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -1286,7 +1286,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -12524,7 +12524,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -12892,7 +12892,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -13081,7 +13081,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -24322,7 +24322,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -24689,7 +24689,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf + controller-gen.kubebuilder.io/version: v0.10.0 creationTimestamp: null labels: app.kubernetes.io/component: kyverno