-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
s/Operator/OperatorVersion/g in the description #1155
Conversation
This is the `OperatorVersion` object, so the description should mention that object, and not the `Operator` object.
Ah, so these are auto-generated from somewhere? Let me see if I can figure out where from, and add a warning for future generations... |
OK, I found |
@porridge yes! The tests I wrote finally caught something because I was about to reject this PR exactly because of the reason it's failing 🎉 The source of all our CRDs is TLDR: Update crds.go and then make all tests pass, then you'll be OK :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to update crds.go
Right, @alenkacz I understand that |
@porridge no, take a look at those tests implementation, they always inside contains a way how to update those files :) |
wrong place This reverts commit 0c8369d.
PTAL, I changed this in the proper place now, re-generated the golden files and manifests, improved the condition for the generation logic and fixed error handling there, improved a message, and added a README for future generations. |
@alenkacz friendly ping ☝️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks for the readme!
What this PR does / why we need it:
This is the
OperatorVersion
object, so the description should mention that object, and not theOperator
object.Also, improved the condition for the generation logic and fixed error handling there, improved a message, and added a
README.md
for future generations.