Skip to content
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

new feat: exclude normal helm diff out when helm drift run RELEASE -f <valuesXXX.yaml> <local_chart_path> #24

Open
dayFlame opened this issue Jul 12, 2024 · 1 comment

Comments

@dayFlame
Copy link

My situation is that, in cluster deployed release with CHART version 1.0 and image tag 1_1, then manual edit one workload. Now going to install CHART version 1.1 and image tag 1_2.

I use helm drift run RELEASE -f <valuesXXX.yaml> <local_chart_v1.1_path> in my local, but drift found manual edit and image tag diff 1_1 -> 1_2. How to exclude image tag diff out in drift result because it's expected.

Actually, I want to merge the feature of helm drift run RELEASE from local chart and from release. The expected diff should be filtered out. If local chart value is same as manual update, it's also supposed to be filtered out.

@nikhilsbhat
Copy link
Owner

@dayFlame, the plugin is just the wrapper around kubectl diff. So, for drift identification the comparison happens between local-chart > remote-state or helm-state > remote-state. The diff you mentioned is expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants