helm-diff icon indicating copy to clipboard operation
helm-diff copied to clipboard

Resource type and name information is omitted when there is one change in dyff output format

Open okozachenko1203 opened this issue 1 year ago • 0 comments

What is the problem

This is when there are more than 2 changes in output.

spec.template.metadata.annotations.configmap-bin-hash  (Job/default/heat-trusts)
  ± value change
    - 32060d531f7cfd8f51e604da6233d6ced99f319f5fbce808b84018d8f78f25b2
    + 316714221b6260989a1abc92f38c549dae4938ea637f65c61ead25d75b643e7a

spec.template.metadata.annotations.configmap-etc-hash  (Job/default/heat-trusts)
  ± value change
    - dfec60a281742bcf3f7c2c7dcfc023d22bee85e511b51b0c658a5936699fc8e1
    + 1ca7d7c0e5167cb2dfcc3abc4bf0e4abdd9ed543c05202240f9351995820be40

This is when there is only one change.

spec.template.metadata.annotations.configmap-bin-hash
  ± value change
    - 32060d531f7cfd8f51e604da6233d6ced99f319f5fbce808b84018d8f78f25b2
    + 316714221b6260989a1abc92f38c549dae4938ea637f65c61ead25d75b643e7a

Expectation

It should include the resource name and type information like this.

spec.template.metadata.annotations.configmap-bin-hash  (Job/default/heat-trusts)
  ± value change
    - 32060d531f7cfd8f51e604da6233d6ced99f319f5fbce808b84018d8f78f25b2
    + 316714221b6260989a1abc92f38c549dae4938ea637f65c61ead25d75b643e7a

okozachenko1203 avatar Jan 23 '25 14:01 okozachenko1203