Skip to content

dyff shows difference where there can't be any #514

@drgrigorov

Description

@drgrigorov

I was trying to do dyff between two versions of a yaml but was getting unexpected output. Finally I copied the file and did dyff - again strange changes. In the end I did dyff between the file and itself:

Image

text:

idso-helms [ pr/CNT-746][$!?]
❯ /home/dimo/.local/bin/dyff between templ/refhelm.yml templ/refhelm.yml
     _        __  __
   _| |_   _ / _|/ _|  between templ/refhelm.yml, eight documents
 / _' | | | | |_| |_       and templ/refhelm.yml, eight documents
| (_| | |_| |  _|  _|
 \__,_|\__, |_| |_|   returned four differences
        |___/

metadata.name  (v1/PersistentVolumeClaim/sharedlogs)
  ± value change
    - refhelm-corefiles
    + sharedlogs

spec.storageClassName  (v1/PersistentVolumeClaim/sharedlogs)
  ± value change
    - csi-driver-lvm-linear
    + default

spec.accessModes.0  (v1/PersistentVolumeClaim/sharedlogs)
  ± value change
    - ReadWriteOnce
    + ReadWriteMany

spec.resources.requests.storage  (v1/PersistentVolumeClaim/sharedlogs)
  ± value change
    - 20Gi
    + 10G


idso-helms [ pr/CNT-746][$!?]
❯ /home/dimo/.local/bin/dyff version
dyff version 1.10.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions