Skip to content

add an option for kubectl diff to exit 0 when differences are found #1173

Closed
@jbouchery

Description

@jbouchery

What would you like to be added:
Hi ! I would like an option in the kubectl diff command to return an exit code 0 when diff are found instead of 1.

Why is this needed:
I need this because i would like to use kubectl diff in my CI/CD and actually it fails when exiting 1.

Thank you !

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions