Closed brightzheng100 closed 3 years ago
Thanks for reporting this, @brightzheng100!
This run
target has been inherited upon OperatorSDK scaffolding and I never used and totally forgot to keep aligned with the requested changes.
Would be great to fix the missing pieces and document documentation, too: contributions are warmly welcomed! 🤗
Sure, I can enhance it with not only Kind
but also K3d(+K3s)
, more options for devs:)
Bug description
While setting up the dev env for Capsule, I encountered some issues by following the doc here: https://github.com/clastix/capsule/blob/master/docs/operator/contributing.md
How to reproduce
I followed the abovementioned doc but the step in
Run Capsule
is wrong.If I issued
make run
, I'd hit the first error:This is because the
GitTag
is defined inversion.go
file, so the fix is very straightforward:The I tried it again, I'd hit second error:
This is also obvious, the
main.go
is expecting a system env:So the fix is also very obvious:
Expected behavior
The doc should work expected to easily setup the dev env.
Additional context