You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to tell dyff to match to resources by labels, o maybe a regex of the name?
I use dyff to show the diff of the result of a kustomize build on a pull request. We are using the configmapGenerator with the suffix option enabled. So when any key in the configmap changes the name of the configmap also changes and dyff explains that as the whole configmap has been removed and an new one has been added.
It is difficult to see what keys really changed and it add a bit of noise to the PRs.
I understand is a bit off an edge case, and dyff is really doing it correctly, telling mi what resources are new and what resourcese has been deleted.
I wonder how other people use dyff with the configMapGenerator from kustomize.
The text was updated successfully, but these errors were encountered:
At best, dyff would detect that most of the non-name content is the same, and detect this situation as rename. Similar to Git's heuristic rewrite detection.
Is there a way to tell dyff to match to resources by labels, o maybe a regex of the name?
I use dyff to show the diff of the result of a
kustomize build
on a pull request. We are using theconfigmapGenerator
with thesuffix
option enabled. So when any key in the configmap changes the name of the configmap also changes and dyff explains that as the whole configmap has been removed and an new one has been added.It is difficult to see what keys really changed and it add a bit of noise to the PRs.
I understand is a bit off an edge case, and dyff is really doing it correctly, telling mi what resources are new and what resourcese has been deleted.
I wonder how other people use dyff with the
configMapGenerator
from kustomize.The text was updated successfully, but these errors were encountered: