Skip to content

Commit beb5199

Browse files
Update controller-gen and regenerate manifests and bundle
Due to the previous dependency updates, the old version was no longer compatible and would panic when trying to generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
1 parent 1b53f8b commit beb5199

File tree

6 files changed

+1027
-844
lines changed

6 files changed

+1027
-844
lines changed

operator/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ ENVTEST ?= $(LOCALBIN)/setup-envtest
164164

165165
## Tool Versions
166166
KUSTOMIZE_VERSION ?= v3.8.7
167-
CONTROLLER_TOOLS_VERSION ?= v0.9.2
167+
CONTROLLER_TOOLS_VERSION ?= v0.14.0
168168

169169
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
170170
.PHONY: kustomize

operator/api/v1/zz_generated.deepcopy.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

operator/bundle/manifests/beegfs.csi.netapp.com_beegfsdrivers.yaml

Lines changed: 508 additions & 418 deletions
Large diffs are not rendered by default.

operator/config/crd/bases/beegfs.csi.netapp.com_beegfsdrivers.yaml

Lines changed: 508 additions & 419 deletions
Large diffs are not rendered by default.

operator/config/rbac/role.yaml

Lines changed: 0 additions & 1 deletion
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:

operator/docs/developer-docs.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,15 +173,21 @@ From the *operator/* directory
173173
### Prepare Changes For a Pull Request
174174
<a name="prepare-changes-for-a-pull-request"></a>
175175

176-
If you have done manual testing of changes with builds created from the dev
177-
environment, you'll want to unset any custom VERSION environment variables or
178-
changes to the Makefile for the version. Then run through the following sequence
179-
to generate the necessary changes without pushing any builds to the registry.
176+
If you have done manual testing of changes with builds created from the dev environment, you'll want
177+
to unset any custom VERSION or IMAGE_TAG_BASE variable overridden using the environment or changes
178+
to the Makefile . Then run through the following sequence to generate the necessary changes without
179+
pushing any builds to the registry.
180180

181181
* make generate manifests
182182
* make build
183183
* make manifests bundle
184184

185+
Note: Generally the VERSION set in the Makefile and in various manifests should not be updated until
186+
it is time to actually release a new version of the driver. If this version is updated beforehand,
187+
then it becomes difficult to find all the places in the repository where the old version needs to be
188+
updated when it is actually time to release. Unless a new Git tag is pushed, the container images
189+
tagged with a released version of the operator and bundle will not be overwritten.
190+
185191
### Update the operator-sdk version
186192
<a name="update-the-operator-sdk-version"></a>
187193

0 commit comments

Comments
 (0)