vmware-archive / kubecfg

A tool for managing complex enterprise Kubernetes environments as code.
Apache License 2.0
728 stars 62 forks source link

add last-applied strategy for diff #303

Closed gaurav517 closed 3 years ago

gaurav517 commented 3 years ago

There is little bug, let me fix that.

gaurav517 commented 3 years ago

Fixed.

mkmik commented 3 years ago

Always wanted this thanks!

  1. Would it be possible to add some tests?

  2. What last-applied annotation is this? The kubecfg one or the kubectl one?

gaurav517 commented 3 years ago

I will try to get my head around tests tomorrow.

This last-applied annotation is kubectl one.

gaurav517 commented 3 years ago

Added test and did some refactors to make changes test friendly.

gaurav517 commented 3 years ago

Thanks for releasing this. Can we update brew formula as well? Thanks.

mkmik commented 3 years ago

the brew formula is updated by somebody in the community; I don't know how to do it (it usually just happens within a day or little bit more).

gaurav517 commented 3 years ago

cool thanks. Its updated already. :)