Skip to content

[Feature Request] Add flag to disable default ignore patterns #430

@Amoolaa

Description

@Amoolaa

The tool has a hardcoded defaultIgnorePatterns list in pkg/matching/output.go that unconditionally suppresses diff lines matching patterns like caBundle: , ca.crt: , tls.crt:

Some background: we require (don't ask why) passing in an inline caBundle. As part of a refactor, the ArgoCD diff produced no output for a caBundle change (which we interpreted as a successful refactor - if there's no change to the rendered manifests, there's no change to the live cluster) when in reality there was a hidden change.

Requested change:

Add a flag (e.g. --no-default-diff-ignore or --default-diff-ignore=false) that disables the hardcoded defaultIgnorePatterns, letting users rely solely on their own --diff-ignore regex if desired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions