-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to suppress specific metadata label/annotations #473
Comments
ref #392 |
Is it possible to suppress lines not only in diff output, but in diff logic, too (e.g. do not return exit code 2 if all changes are only in suppressed lines) ? |
We frequently encounter unwanted changes in helm diff caused by dynamically injected fields (like caBundle added by cert-manager annotations). For example, in a MutatingWebhookConfiguration resource:
Here, the cert-manager webhook dynamically injects the caBundle field into clientConfig. Since this field is not present in the original Helm chart and is added at runtime, helm diff always shows changes, leading to unnecessary noise in CI/CD pipelines. Current Behavior:
Desired Behavior:
For example, in ArgoCD, we can configure exclusion as follows:
With such a feature in helm-diff, we could precisely exclude changes like caBundle without ignoring the entire resource. Why It Matters: |
|
Hi,
helm diff produces large diffs, if a helm chart upgrade is happening.
Since its common to put the chart version as label on each resource, Each resource has a diff at minimum.
The text was updated successfully, but these errors were encountered: