Skip to content

Improve Difference Output #2

@joe-elliott

Description

@joe-elliott

Currently the logger just directly writes the output of https://github.com/go-test/deep. In most cases this is fine, but not great.

When changing the image for a deployment:

[Template.Spec.Containers.slice[0].Image: grafana/loki:master-61b5bc6 != grafana/loki:master-20bb95f]

In some cases it produces difficult to understand output. When changing memory limits:

[Template.Spec.Containers.slice[0].Resources.Limits.map[memory]: {{838860800 0} {} BinarySI} != {{209715200 0} {} BinarySI}]

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