From 2ced2f7d0bb6404b905609b88d58c63594232f7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Wed, 29 Jun 2022 22:42:13 +0200 Subject: [PATCH] fix: use official controller-gen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- Makefile | 6 +- charts/kyverno/templates/crds.yaml | 68 ++++++++++++++++--- config/crds/kyverno.io_clusterpolicies.yaml | 20 +++++- ...yverno.io_clusterreportchangerequests.yaml | 6 +- config/crds/kyverno.io_generaterequests.yaml | 2 +- config/crds/kyverno.io_policies.yaml | 20 +++++- .../crds/kyverno.io_reportchangerequests.yaml | 6 +- config/crds/kyverno.io_updaterequests.yaml | 2 +- .../wgpolicyk8s.io_clusterpolicyreports.yaml | 6 +- config/crds/wgpolicyk8s.io_policyreports.yaml | 6 +- config/install.yaml | 68 ++++++++++++++++--- config/install_debug.yaml | 68 ++++++++++++++++--- 12 files changed, 242 insertions(+), 36 deletions(-) diff --git a/Makefile b/Makefile index 9fb5e279afe7..b92d02fd6a24 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ GIT_BRANCH := $(shell git branch | grep \* | cut -d ' ' -f2) GIT_HASH := $(GIT_BRANCH)/$(shell git log -1 --pretty=format:"%H") TIMESTAMP := $(shell date '+%Y-%m-%d_%I:%M:%S%p') CONTROLLER_GEN=controller-gen -CONTROLLER_GEN_REQ_VERSION := v0.8.0 +CONTROLLER_GEN_REQ_VERSION := v0.9.1-0.20220629131006-1878064c4cdf VERSION ?= $(shell git describe --match "v[0-9]*") REGISTRY?=ghcr.io @@ -375,9 +375,7 @@ install-controller-gen: ## Install controller-gen set -e ;\ CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\ cd $$CONTROLLER_GEN_TMP_DIR ;\ - go mod init tmp ;\ - go mod edit -replace=sigs.k8s.io/controller-tools@$(CONTROLLER_GEN_REQ_VERSION)=github.com/eddycharly/controller-tools@704af868d45a3a78448b9a6a2279c12ea96a621e ;\ - go get sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_GEN_REQ_VERSION) ;\ + go install sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_GEN_REQ_VERSION) ;\ rm -rf $$CONTROLLER_GEN_TMP_DIR ;\ } CONTROLLER_GEN=$(GOPATH)/bin/controller-gen diff --git a/charts/kyverno/templates/crds.yaml b/charts/kyverno/templates/crds.yaml index bf1283b43bbb..15d5be81ebe0 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.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf config.kubernetes.io/index: '1' internal.config.kubernetes.io/index: '1' creationTimestamp: null @@ -198,6 +198,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches zero or many characters) and "?" (at least one character). items: @@ -233,6 +234,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names for the user. @@ -260,6 +262,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -324,6 +327,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches zero or many characters) and "?" (at least one character). items: @@ -359,6 +363,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names for the user. @@ -386,6 +391,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -445,6 +451,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches zero or many characters) and "?" (at least one character). items: @@ -480,6 +487,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names for the user. @@ -507,6 +515,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object generate: @@ -627,6 +636,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches zero or many characters) and "?" (at least one character). items: @@ -662,6 +672,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names for the user. @@ -689,6 +700,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -753,6 +765,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches zero or many characters) and "?" (at least one character). items: @@ -788,6 +801,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names for the user. @@ -815,6 +829,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -874,6 +889,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches zero or many characters) and "?" (at least one character). items: @@ -909,6 +925,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names for the user. @@ -936,6 +953,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object mutate: @@ -1616,7 +1634,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf config.kubernetes.io/index: '2' internal.config.kubernetes.io/index: '2' creationTimestamp: null @@ -1727,6 +1745,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic resources: description: Resources is an optional reference to the resource checked by the policy and rule items: @@ -1754,6 +1773,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic type: array result: description: Result indicates the outcome of the policy rule execution @@ -1824,6 +1844,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic scopeSelector: description: ScopeSelector is an optional selector for multiple scopes (e.g. Pods). Either one of, or none of, but not both of, Scope or ScopeSelector should be specified. properties: @@ -1854,6 +1875,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic summary: description: PolicyReportSummary provides a summary of results properties: @@ -1882,7 +1904,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf config.kubernetes.io/index: '3' internal.config.kubernetes.io/index: '3' creationTimestamp: null @@ -1993,6 +2015,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic resources: description: Resources is an optional reference to the resource checked by the policy and rule items: @@ -2020,6 +2043,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic type: array result: description: Result indicates the outcome of the policy rule execution @@ -2090,6 +2114,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic scopeSelector: description: ScopeSelector is an optional selector for multiple scopes (e.g. Pods). Either one of, or none of, but not both of, Scope or ScopeSelector should be specified. properties: @@ -2120,6 +2145,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic summary: description: PolicyReportSummary provides a summary of results properties: @@ -2148,7 +2174,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf config.kubernetes.io/index: '4' internal.config.kubernetes.io/index: '4' creationTimestamp: null @@ -2323,7 +2349,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf config.kubernetes.io/index: '5' internal.config.kubernetes.io/index: '5' creationTimestamp: null @@ -2518,6 +2544,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches zero or many characters) and "?" (at least one character). items: @@ -2553,6 +2580,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names for the user. @@ -2580,6 +2608,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -2644,6 +2673,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches zero or many characters) and "?" (at least one character). items: @@ -2679,6 +2709,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names for the user. @@ -2706,6 +2737,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -2765,6 +2797,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches zero or many characters) and "?" (at least one character). items: @@ -2800,6 +2833,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names for the user. @@ -2827,6 +2861,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object generate: @@ -2947,6 +2982,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches zero or many characters) and "?" (at least one character). items: @@ -2982,6 +3018,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names for the user. @@ -3009,6 +3046,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -3073,6 +3111,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches zero or many characters) and "?" (at least one character). items: @@ -3108,6 +3147,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names for the user. @@ -3135,6 +3175,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -3194,6 +3235,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches zero or many characters) and "?" (at least one character). items: @@ -3229,6 +3271,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names for the user. @@ -3256,6 +3299,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object mutate: @@ -3936,7 +3980,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf config.kubernetes.io/index: '6' internal.config.kubernetes.io/index: '6' creationTimestamp: null @@ -4047,6 +4091,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic resources: description: Resources is an optional reference to the resource checked by the policy and rule items: @@ -4074,6 +4119,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic type: array result: description: Result indicates the outcome of the policy rule execution @@ -4144,6 +4190,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic scopeSelector: description: ScopeSelector is an optional selector for multiple scopes (e.g. Pods). Either one of, or none of, but not both of, Scope or ScopeSelector should be specified. properties: @@ -4174,6 +4221,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic summary: description: PolicyReportSummary provides a summary of results properties: @@ -4202,7 +4250,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf config.kubernetes.io/index: '7' internal.config.kubernetes.io/index: '7' creationTimestamp: null @@ -4313,6 +4361,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic resources: description: Resources is an optional reference to the resource checked by the policy and rule items: @@ -4340,6 +4389,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic type: array result: description: Result indicates the outcome of the policy rule execution @@ -4410,6 +4460,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic scopeSelector: description: ScopeSelector is an optional selector for multiple scopes (e.g. Pods). Either one of, or none of, but not both of, Scope or ScopeSelector should be specified. properties: @@ -4440,6 +4491,7 @@ spec: description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic summary: description: PolicyReportSummary provides a summary of results properties: @@ -4468,7 +4520,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf config.kubernetes.io/index: '8' internal.config.kubernetes.io/index: '8' creationTimestamp: null diff --git a/config/crds/kyverno.io_clusterpolicies.yaml b/config/crds/kyverno.io_clusterpolicies.yaml index 7e0ff540ea76..e4538f181b4a 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.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null name: clusterpolicies.kyverno.io spec: @@ -280,6 +280,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -345,6 +346,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -388,6 +390,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -495,6 +498,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -560,6 +564,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -603,6 +608,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -699,6 +705,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches @@ -758,6 +765,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names @@ -800,6 +808,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object generate: @@ -990,6 +999,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -1055,6 +1065,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -1098,6 +1109,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -1205,6 +1217,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -1270,6 +1283,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -1313,6 +1327,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -1409,6 +1424,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches @@ -1468,6 +1484,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names @@ -1510,6 +1527,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object mutate: diff --git a/config/crds/kyverno.io_clusterreportchangerequests.yaml b/config/crds/kyverno.io_clusterreportchangerequests.yaml index f04db480d065..2c363c89ae6e 100644 --- a/config/crds/kyverno.io_clusterreportchangerequests.yaml +++ b/config/crds/kyverno.io_clusterreportchangerequests.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null name: clusterreportchangerequests.kyverno.io spec: @@ -132,6 +132,7 @@ spec: are ANDed. type: object type: object + x-kubernetes-map-type: atomic resources: description: Resources is an optional reference to the resource checked by the policy and rule @@ -195,6 +196,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic type: array result: description: Result indicates the outcome of the policy rule execution @@ -283,6 +285,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic scopeSelector: description: ScopeSelector is an optional selector for multiple scopes (e.g. Pods). Either one of, or none of, but not both of, Scope or ScopeSelector @@ -326,6 +329,7 @@ spec: contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic summary: description: PolicyReportSummary provides a summary of results properties: diff --git a/config/crds/kyverno.io_generaterequests.yaml b/config/crds/kyverno.io_generaterequests.yaml index b8ce629f2bec..32080283f3af 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.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null name: generaterequests.kyverno.io spec: diff --git a/config/crds/kyverno.io_policies.yaml b/config/crds/kyverno.io_policies.yaml index 617aa19a1db3..d07031c93acb 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.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null name: policies.kyverno.io spec: @@ -281,6 +281,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -346,6 +347,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -389,6 +391,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -496,6 +499,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -561,6 +565,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -604,6 +609,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -700,6 +706,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches @@ -759,6 +766,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names @@ -801,6 +809,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object generate: @@ -991,6 +1000,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -1056,6 +1066,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -1099,6 +1110,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -1206,6 +1218,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -1271,6 +1284,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -1314,6 +1328,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -1410,6 +1425,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches @@ -1469,6 +1485,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names @@ -1511,6 +1528,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object mutate: diff --git a/config/crds/kyverno.io_reportchangerequests.yaml b/config/crds/kyverno.io_reportchangerequests.yaml index 5d4b014271fc..43c62a5b5051 100644 --- a/config/crds/kyverno.io_reportchangerequests.yaml +++ b/config/crds/kyverno.io_reportchangerequests.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null name: reportchangerequests.kyverno.io spec: @@ -132,6 +132,7 @@ spec: are ANDed. type: object type: object + x-kubernetes-map-type: atomic resources: description: Resources is an optional reference to the resource checked by the policy and rule @@ -195,6 +196,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic type: array result: description: Result indicates the outcome of the policy rule execution @@ -283,6 +285,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic scopeSelector: description: ScopeSelector is an optional selector for multiple scopes (e.g. Pods). Either one of, or none of, but not both of, Scope or ScopeSelector @@ -326,6 +329,7 @@ spec: contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic summary: description: PolicyReportSummary provides a summary of results properties: diff --git a/config/crds/kyverno.io_updaterequests.yaml b/config/crds/kyverno.io_updaterequests.yaml index 212154e3b677..7f11829f7d4b 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.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null name: updaterequests.kyverno.io spec: diff --git a/config/crds/wgpolicyk8s.io_clusterpolicyreports.yaml b/config/crds/wgpolicyk8s.io_clusterpolicyreports.yaml index 990c4e9f2334..6f071f966ec9 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.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null name: clusterpolicyreports.wgpolicyk8s.io spec: @@ -132,6 +132,7 @@ spec: are ANDed. type: object type: object + x-kubernetes-map-type: atomic resources: description: Resources is an optional reference to the resource checked by the policy and rule @@ -195,6 +196,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic type: array result: description: Result indicates the outcome of the policy rule execution @@ -283,6 +285,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic scopeSelector: description: ScopeSelector is an optional selector for multiple scopes (e.g. Pods). Either one of, or none of, but not both of, Scope or ScopeSelector @@ -326,6 +329,7 @@ spec: contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic summary: description: PolicyReportSummary provides a summary of results properties: diff --git a/config/crds/wgpolicyk8s.io_policyreports.yaml b/config/crds/wgpolicyk8s.io_policyreports.yaml index e5b1c792ae28..596900716855 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.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null name: policyreports.wgpolicyk8s.io spec: @@ -131,6 +131,7 @@ spec: are ANDed. type: object type: object + x-kubernetes-map-type: atomic resources: description: Resources is an optional reference to the resource checked by the policy and rule @@ -194,6 +195,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic type: array result: description: Result indicates the outcome of the policy rule execution @@ -282,6 +284,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic scopeSelector: description: ScopeSelector is an optional selector for multiple scopes (e.g. Pods). Either one of, or none of, but not both of, Scope or ScopeSelector @@ -325,6 +328,7 @@ spec: contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic summary: description: PolicyReportSummary provides a summary of results properties: diff --git a/config/install.yaml b/config/install.yaml index 1499e7963390..23413dab6a2f 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.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -297,6 +297,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -362,6 +363,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -405,6 +407,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -512,6 +515,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -577,6 +581,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -620,6 +625,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -716,6 +722,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches @@ -775,6 +782,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names @@ -817,6 +825,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object generate: @@ -1007,6 +1016,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -1072,6 +1082,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -1115,6 +1126,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -1222,6 +1234,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -1287,6 +1300,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -1330,6 +1344,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -1426,6 +1441,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches @@ -1485,6 +1501,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names @@ -1527,6 +1544,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object mutate: @@ -2583,7 +2601,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -2718,6 +2736,7 @@ spec: are ANDed. type: object type: object + x-kubernetes-map-type: atomic resources: description: Resources is an optional reference to the resource checked by the policy and rule @@ -2781,6 +2800,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic type: array result: description: Result indicates the outcome of the policy rule execution @@ -2869,6 +2889,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic scopeSelector: description: ScopeSelector is an optional selector for multiple scopes (e.g. Pods). Either one of, or none of, but not both of, Scope or ScopeSelector @@ -2912,6 +2933,7 @@ spec: contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic summary: description: PolicyReportSummary provides a summary of results properties: @@ -2945,7 +2967,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -3080,6 +3102,7 @@ spec: are ANDed. type: object type: object + x-kubernetes-map-type: atomic resources: description: Resources is an optional reference to the resource checked by the policy and rule @@ -3143,6 +3166,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic type: array result: description: Result indicates the outcome of the policy rule execution @@ -3231,6 +3255,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic scopeSelector: description: ScopeSelector is an optional selector for multiple scopes (e.g. Pods). Either one of, or none of, but not both of, Scope or ScopeSelector @@ -3274,6 +3299,7 @@ spec: contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic summary: description: PolicyReportSummary provides a summary of results properties: @@ -3307,7 +3333,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -3497,7 +3523,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -3781,6 +3807,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -3846,6 +3873,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -3889,6 +3917,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -3996,6 +4025,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -4061,6 +4091,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -4104,6 +4135,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -4200,6 +4232,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches @@ -4259,6 +4292,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names @@ -4301,6 +4335,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object generate: @@ -4491,6 +4526,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -4556,6 +4592,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -4599,6 +4636,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -4706,6 +4744,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -4771,6 +4810,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -4814,6 +4854,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -4910,6 +4951,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches @@ -4969,6 +5011,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names @@ -5011,6 +5054,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object mutate: @@ -6068,7 +6112,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -6202,6 +6246,7 @@ spec: are ANDed. type: object type: object + x-kubernetes-map-type: atomic resources: description: Resources is an optional reference to the resource checked by the policy and rule @@ -6265,6 +6310,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic type: array result: description: Result indicates the outcome of the policy rule execution @@ -6353,6 +6399,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic scopeSelector: description: ScopeSelector is an optional selector for multiple scopes (e.g. Pods). Either one of, or none of, but not both of, Scope or ScopeSelector @@ -6396,6 +6443,7 @@ spec: contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic summary: description: PolicyReportSummary provides a summary of results properties: @@ -6429,7 +6477,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -6564,6 +6612,7 @@ spec: are ANDed. type: object type: object + x-kubernetes-map-type: atomic resources: description: Resources is an optional reference to the resource checked by the policy and rule @@ -6627,6 +6676,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic type: array result: description: Result indicates the outcome of the policy rule execution @@ -6715,6 +6765,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic scopeSelector: description: ScopeSelector is an optional selector for multiple scopes (e.g. Pods). Either one of, or none of, but not both of, Scope or ScopeSelector @@ -6758,6 +6809,7 @@ spec: contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic summary: description: PolicyReportSummary provides a summary of results properties: @@ -6791,7 +6843,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null labels: app.kubernetes.io/component: kyverno diff --git a/config/install_debug.yaml b/config/install_debug.yaml index 96aa94a998c8..65b339f18c79 100755 --- 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.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -295,6 +295,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -360,6 +361,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -403,6 +405,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -510,6 +513,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -575,6 +579,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -618,6 +623,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -714,6 +720,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches @@ -773,6 +780,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names @@ -815,6 +823,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object generate: @@ -1005,6 +1014,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -1070,6 +1080,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -1113,6 +1124,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -1220,6 +1232,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -1285,6 +1298,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -1328,6 +1342,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -1424,6 +1439,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches @@ -1483,6 +1499,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names @@ -1525,6 +1542,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object mutate: @@ -2581,7 +2599,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -2715,6 +2733,7 @@ spec: are ANDed. type: object type: object + x-kubernetes-map-type: atomic resources: description: Resources is an optional reference to the resource checked by the policy and rule @@ -2778,6 +2797,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic type: array result: description: Result indicates the outcome of the policy rule execution @@ -2866,6 +2886,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic scopeSelector: description: ScopeSelector is an optional selector for multiple scopes (e.g. Pods). Either one of, or none of, but not both of, Scope or ScopeSelector @@ -2909,6 +2930,7 @@ spec: contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic summary: description: PolicyReportSummary provides a summary of results properties: @@ -2942,7 +2964,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -3076,6 +3098,7 @@ spec: are ANDed. type: object type: object + x-kubernetes-map-type: atomic resources: description: Resources is an optional reference to the resource checked by the policy and rule @@ -3139,6 +3162,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic type: array result: description: Result indicates the outcome of the policy rule execution @@ -3227,6 +3251,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic scopeSelector: description: ScopeSelector is an optional selector for multiple scopes (e.g. Pods). Either one of, or none of, but not both of, Scope or ScopeSelector @@ -3270,6 +3295,7 @@ spec: contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic summary: description: PolicyReportSummary provides a summary of results properties: @@ -3303,7 +3329,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -3492,7 +3518,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -3775,6 +3801,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -3840,6 +3867,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -3883,6 +3911,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -3990,6 +4019,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -4055,6 +4085,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -4098,6 +4129,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -4194,6 +4226,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches @@ -4253,6 +4286,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names @@ -4295,6 +4329,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object generate: @@ -4485,6 +4520,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -4550,6 +4586,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -4593,6 +4630,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -4700,6 +4738,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters @@ -4765,6 +4804,7 @@ spec: "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role @@ -4808,6 +4848,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object type: array @@ -4904,6 +4945,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic namespaces: description: Namespaces is a list of namespaces names. Each name supports wildcard characters "*" (matches @@ -4963,6 +5005,7 @@ spec: requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic type: object roles: description: Roles is the list of namespaced role names @@ -5005,6 +5048,7 @@ spec: - kind - name type: object + x-kubernetes-map-type: atomic type: array type: object mutate: @@ -6062,7 +6106,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -6195,6 +6239,7 @@ spec: are ANDed. type: object type: object + x-kubernetes-map-type: atomic resources: description: Resources is an optional reference to the resource checked by the policy and rule @@ -6258,6 +6303,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic type: array result: description: Result indicates the outcome of the policy rule execution @@ -6346,6 +6392,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic scopeSelector: description: ScopeSelector is an optional selector for multiple scopes (e.g. Pods). Either one of, or none of, but not both of, Scope or ScopeSelector @@ -6389,6 +6436,7 @@ spec: contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic summary: description: PolicyReportSummary provides a summary of results properties: @@ -6422,7 +6470,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null labels: app.kubernetes.io/component: kyverno @@ -6556,6 +6604,7 @@ spec: are ANDed. type: object type: object + x-kubernetes-map-type: atomic resources: description: Resources is an optional reference to the resource checked by the policy and rule @@ -6619,6 +6668,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic type: array result: description: Result indicates the outcome of the policy rule execution @@ -6707,6 +6757,7 @@ spec: description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' type: string type: object + x-kubernetes-map-type: atomic scopeSelector: description: ScopeSelector is an optional selector for multiple scopes (e.g. Pods). Either one of, or none of, but not both of, Scope or ScopeSelector @@ -6750,6 +6801,7 @@ spec: contains only "value". The requirements are ANDed. type: object type: object + x-kubernetes-map-type: atomic summary: description: PolicyReportSummary provides a summary of results properties: @@ -6783,7 +6835,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.8.0 + controller-gen.kubebuilder.io/version: v0.9.1-0.20220629131006-1878064c4cdf creationTimestamp: null labels: app.kubernetes.io/component: kyverno