Skip to content

Commit

Permalink
Bumping controller-gen. (#1288)
Browse files Browse the repository at this point in the history
It is required in order to bump `controller-runtime` and all k8s APIs.

Signed-off-by: Yoni Bettan <[email protected]>
  • Loading branch information
ybettan authored Jan 8, 2025
1 parent 252171a commit 0a3d1d1
Show file tree
Hide file tree
Showing 15 changed files with 41 additions and 345 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ undeploy-hub: ## Undeploy controller from the K8s cluster specified in ~/.kube/c
CONTROLLER_GEN = $(shell pwd)/bin/controller-gen
.PHONY: controller-gen
controller-gen: ## Download controller-gen locally if necessary.
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0)
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.16.1)

GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
.PHONY: golangci-lint
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ metadata:
}
]
capabilities: Basic Install
createdAt: "2024-12-23T09:43:32Z"
createdAt: "2025-01-08T08:24:01Z"
operatorframework.io/suggested-namespace: openshift-kmm-hub
operators.operatorframework.io/builder: operator-sdk-v1.32.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
Expand Down Expand Up @@ -108,21 +108,7 @@ spec:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- serviceaccounts
verbs:
- get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ metadata:
}
]
capabilities: Basic Install
createdAt: "2024-12-23T09:43:31Z"
createdAt: "2025-01-08T08:23:59Z"
operatorframework.io/suggested-namespace: openshift-kmm
operators.operatorframework.io/builder: operator-sdk-v1.32.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
Expand Down Expand Up @@ -165,6 +165,7 @@ spec:
- ""
resources:
- configmaps
- pods
verbs:
- create
- delete
Expand All @@ -176,42 +177,16 @@ spec:
- ""
resources:
- namespaces
verbs:
- get
- list
- patch
- watch
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- patch
- watch
- apiGroups:
- ""
resources:
- pods
verbs:
- create
- delete
- get
- list
- patch
- watch
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- serviceaccounts
verbs:
- get
Expand All @@ -229,6 +204,8 @@ spec:
- kmm.sigs.x-k8s.io
resources:
- modules
- preflightvalidations/status
- preflightvalidationsocp
verbs:
- get
- list
Expand All @@ -239,12 +216,15 @@ spec:
- kmm.sigs.x-k8s.io
resources:
- modules/finalizers
- preflightvalidations/finalizers
- preflightvalidationsocp/finalizers
verbs:
- update
- apiGroups:
- kmm.sigs.x-k8s.io
resources:
- modules/status
- preflightvalidationsocp/status
verbs:
- get
- patch
Expand Down Expand Up @@ -285,46 +265,6 @@ spec:
- patch
- update
- watch
- apiGroups:
- kmm.sigs.x-k8s.io
resources:
- preflightvalidations/finalizers
verbs:
- update
- apiGroups:
- kmm.sigs.x-k8s.io
resources:
- preflightvalidations/status
verbs:
- get
- list
- patch
- update
- watch
- apiGroups:
- kmm.sigs.x-k8s.io
resources:
- preflightvalidationsocp
verbs:
- get
- list
- patch
- update
- watch
- apiGroups:
- kmm.sigs.x-k8s.io
resources:
- preflightvalidationsocp/finalizers
verbs:
- update
- apiGroups:
- kmm.sigs.x-k8s.io
resources:
- preflightvalidationsocp/status
verbs:
- get
- patch
- update
- apiGroups:
- authentication.k8s.io
resources:
Expand Down
Loading

0 comments on commit 0a3d1d1

Please sign in to comment.