-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
feat: #5339 include priority field in the PrinterColumn #5340
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.
This was fast! LGTM as soon as we have a green CI 🙂
@bachmanity1 : Could you please run |
@bachmanity1 : I think we also need to update documentation in https://github.com/fabric8io/kubernetes-client/blob/main/doc/CRD-generator.md |
@@ -444,6 +465,7 @@ The CRD generator will add the additional `labels`: | |||
| `io.fabric8.crd.generator.annotation.SchemaSwap` | Similar to SchemaFrom, but can be applied at any point in the class hierarchy | | |||
| `io.fabric8.crd.generator.annotation.Annotations` | Additional `annotations` in `metadata` | | |||
| `io.fabric8.crd.generator.annotation.Labels` | Additional `labels` in `metadata` | | |||
| `io.fabric8.kubernetes.model.annotation.PrinterColumn` | Customize columns shown by the `kubectl get` command | |
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.
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 should go through something like this:
bachmanity1#1
to actually remove the annotation.
Since it was completely undocumented, I would get this change in before we release the next 6.8 if possible.
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.
Can I handle it in a separate PR?
@andreaTP How can I resolved failing sonarcloud tests? Can you please have a look? |
@bachmanity1 the comments from Sonarcloud are not really interesting, ignore them unless someone comes up with a better advise |
also, it looks like you've canceled build checks, can I ask why? |
I have attempted to re-run them, something acted-up ... anyhow, re-triggered now 👍 |
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.
A last note on the implementation and lgtm.
Let's coordinate with @manusa on how to roll out the deprecation.
@@ -113,11 +117,12 @@ public boolean equals(Object obj) { | |||
return false; | |||
} else if (!type.equals(other.type)) | |||
return false; | |||
return true; | |||
return priority != other.priority; |
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 missed this before, I think this should be ==
32dc5fc
to
5bee175
Compare
@bachmanity1 : tests seem to be failing, could you please take a look into this? |
@rohanKanojia it's weird because all tests run successfully on my machine (Java 11). The failing assertion doesn't look to be related to the changes I've made, could you please try to re-run failing tests? |
5bee175
to
b3b09f1
Compare
SonarCloud Quality Gate failed. 0 Bugs 50.0% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Description
resolves #5339
Type of change
test, version modification, documentation, etc.)
Checklist