-
Notifications
You must be signed in to change notification settings - Fork 5
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
Adding support to get Yaml for k8s object #45
Conversation
I don't want to nitpick, but I think that the hashing logic belongs to the hashing module, not the utils. If the problem is calling the hashing function in one of the yaml getters, I suggest you move them to the hashing module, too. They are going to be called in the contest of computing hashes anyway. |
Could you also please rope in the CI on-point? This is a library they maintain, so I think it would be good if someone from CI reviews it too |
What about adding the logic to show the diff of two objects here as well? I am sure that other operators would benefit from that too. Or do you think that it would be too Flink specific? |
|
I invited to review our CI colleagues who were involved in a related discussion to reconsider hashing k8s objects in operators |
I strongly support this. The reason being that the function |
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.
2 nitpicks, one of which Antonio already picked up on. Otherwise looks good to me
Updated the review
|
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 is rather nice - thank you for taking my feedback!
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.
Just nitpicking on a comment!
* Adding support to get Yaml for k8s object * Added logic to compute yaml diff, refactored hashing helper * Nit changes for review * Updating link for unified context
* Adding support to get Yaml for k8s object * Added logic to compute yaml diff, refactored hashing helper * Nit changes for review * Updating link for unified context
* Adding support to get Yaml for k8s object * Added logic to compute yaml diff, refactored hashing helper * Nit changes for review * Updating link for unified context
Changes done :