Attempted to follow the instructions in the Running Operator Locally section of the developer documentation. When I attempted to run make install I encountered a nil pointer dereference error. (See stack trace below.)
Looking into the stack trace I realised the error originated from the controller-gen command from the controller-tools package. Looking into said package, I realised that the latest released version is v.0.14.0. The version referenced in Makefile were v0.11.2. I tried to change the referenced version to the latest version and it solved the nil pointer dereferenced issue and I could continue following the developer documentation.
This PR has:
[ ] been tested on a real K8S cluster to ensure creation of a brand new Druid cluster works.
[ ] been tested for backward compatibility on a real K*S cluster by applying the changes introduced here on an existing Druid cluster. If there are any backward incompatible changes then they have been noted in the PR description.
[x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] added documentation for new or modified features or behaviors.
Description
Attempted to follow the instructions in the Running Operator Locally section of the developer documentation. When I attempted to run
make install
I encountered a nil pointer dereference error. (See stack trace below.)Looking into the stack trace I realised the error originated from the
controller-gen
command from the controller-tools package. Looking into said package, I realised that the latest released version isv.0.14.0
. The version referenced inMakefile
werev0.11.2
. I tried to change the referenced version to the latest version and it solved the nil pointer dereferenced issue and I could continue following the developer documentation.This PR has:
Key changed/added files in this PR
Makefile