Skip to content

Custom rules for filtering before diff "actual state vs desired state" #365

Closed
@R-omk

Description

@R-omk

In continuation of #349, #326, #176

I believe that it is necessary to consider some kind of general solution to such issues.

The k8s core itself can change manifests during apply process, but there are many admission webhooks that also can change manifests.

You might consider applying pre-filtering before comparing manifests. For example, it can be used expressions executable with jq or yq.

In addition, a three-way merge does not always produce the desired result. Most often, you need to see the full difference, including those sections that three-way merge would miss.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions