Skip to content

Commit 9de2b12

Browse files
Upgrade to controller-gen 0.12.0 (kubernetes-sigs#393) (kubernetes-sigs#555)
Upstream-Commit: 9fe42dc Co-authored-by: Quentin Barrand <[email protected]>
1 parent d9e5b3b commit 9de2b12

13 files changed

+9
-17
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ undeploy-hub: ## Undeploy controller from the K8s cluster specified in ~/.kube/c
217217
CONTROLLER_GEN = $(shell pwd)/bin/controller-gen
218218
.PHONY: controller-gen
219219
controller-gen: ## Download controller-gen locally if necessary.
220-
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.10.0)
220+
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.12.0)
221221

222222
GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
223223
.PHONY: golangci-lint

bundle-hub/manifests/hub.kmm.sigs.x-k8s.io_managedclustermodules.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.10.0
5+
controller-gen.kubebuilder.io/version: v0.12.0
66
creationTimestamp: null
77
name: managedclustermodules.hub.kmm.sigs.x-k8s.io
88
spec:

bundle/manifests/kmm.sigs.x-k8s.io_modules.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.10.0
5+
controller-gen.kubebuilder.io/version: v0.12.0
66
creationTimestamp: null
77
name: modules.kmm.sigs.x-k8s.io
88
spec:

bundle/manifests/kmm.sigs.x-k8s.io_preflightvalidations.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.10.0
5+
controller-gen.kubebuilder.io/version: v0.12.0
66
creationTimestamp: null
77
name: preflightvalidations.kmm.sigs.x-k8s.io
88
spec:

bundle/manifests/kmm.sigs.x-k8s.io_preflightvalidationsocp.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.10.0
5+
controller-gen.kubebuilder.io/version: v0.12.0
66
creationTimestamp: null
77
name: preflightvalidationsocp.kmm.sigs.x-k8s.io
88
spec:

config/crd-hub/bases/hub.kmm.sigs.x-k8s.io_managedclustermodules.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.10.0
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.12.0
87
name: managedclustermodules.hub.kmm.sigs.x-k8s.io
98
spec:
109
group: hub.kmm.sigs.x-k8s.io

config/crd/bases/kmm.sigs.x-k8s.io_modules.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.10.0
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.12.0
87
name: modules.kmm.sigs.x-k8s.io
98
spec:
109
group: kmm.sigs.x-k8s.io

config/crd/bases/kmm.sigs.x-k8s.io_preflightvalidations.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.10.0
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.12.0
87
name: preflightvalidations.kmm.sigs.x-k8s.io
98
spec:
109
group: kmm.sigs.x-k8s.io

config/crd/bases/kmm.sigs.x-k8s.io_preflightvalidationsocp.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.10.0
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.12.0
87
name: preflightvalidationsocp.kmm.sigs.x-k8s.io
98
spec:
109
group: kmm.sigs.x-k8s.io

config/rbac-hub/role.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
apiVersion: rbac.authorization.k8s.io/v1
33
kind: ClusterRole
44
metadata:
5-
creationTimestamp: null
65
name: manager-role
76
rules:
87
- apiGroups:

config/rbac/role.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
apiVersion: rbac.authorization.k8s.io/v1
33
kind: ClusterRole
44
metadata:
5-
creationTimestamp: null
65
name: manager-role
76
rules:
87
- apiGroups:

config/webhook-hub/manifests.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
apiVersion: admissionregistration.k8s.io/v1
33
kind: ValidatingWebhookConfiguration
44
metadata:
5-
creationTimestamp: null
65
name: validating-webhook-configuration
76
webhooks:
87
- admissionReviewVersions:

config/webhook/manifests.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
apiVersion: admissionregistration.k8s.io/v1
33
kind: ValidatingWebhookConfiguration
44
metadata:
5-
creationTimestamp: null
65
name: validating-webhook-configuration
76
webhooks:
87
- admissionReviewVersions:

0 commit comments

Comments
 (0)