-
Notifications
You must be signed in to change notification settings - Fork 24
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
pkg/apis, helm: update balloons config/CRD. #222
Conversation
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.
I wonder if we should extend one of the workflows or introduce a new one to check if all CRDs are re-generated correctly. |
0b257bf
to
f2c2b8c
Compare
All our CRD's are generated and should not be touched by hand. The proper way of updating them is to update the corresponding types somewhere under |
I had exactly the same idea. I think too that we should. |
d3958ab
to
291231f
Compare
Hooked in new |
Fix `omitempty` JSON tags for balloons config `PreferCloseToDevices` and `IdleCpuClass`, so they properly imply optionality in the corresponding CRD fields. Tag `PreferFarFromDevices` is considered unstable/untested and should not be used. Hence, tag it as `"-"` to prevent unmarshalling it from a CRD to the actual configuration. Signed-off-by: Krisztian Litkey <[email protected]>
It looks like the latest balloons configuration additions have been committed then merged without updating the configuration, CRDs and clientsets. Let's fix it. Signed-off-by: Krisztian Litkey <[email protected]>
Add target for verifying that all generated artifacts are up to date in the repo. Hook it in to the top-level verify target, so it will be run as part of our github CI workflows. Signed-off-by: Krisztian Litkey <[email protected]>
291231f
to
aba21af
Compare
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.
Thank you @klihub for the fixes.
LGTM
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.
LGTM
#230 is a backport of this to the release-0.3 branch. |
…oons-config [release-0.3/#222] pkg/apis, helm: update balloons config/CRD.
It looks like the latest balloons configuration additions have been committed then merged without updating the configuration, CRDs and clientsets. Let's fix it. Also, while at it let's add generated artifact verification to our github verification workflow.