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

fix(helm): avoid GitOps diff on matchConditions #3383

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sathieu
Copy link
Contributor

@sathieu sathieu commented May 14, 2024

What this PR does / why we need it:

#3343 introduced matchConditions support in webhooks, which is great.

However for Kubernetes < 1.30, this feature is behind a feature gate, not enabled by default.

in our setup, this causes ArgoCD to show a diff, and the app is OutOfSync

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #

Special notes for your reviewer:

@sathieu sathieu requested a review from a team as a code owner May 14, 2024 09:14
@codecov-commenter
Copy link

codecov-commenter commented May 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 46.76%. Comparing base (3350319) to head (36df3cf).
Report is 65 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3383      +/-   ##
==========================================
- Coverage   54.49%   46.76%   -7.74%     
==========================================
  Files         134      218      +84     
  Lines       12329    14784    +2455     
==========================================
+ Hits         6719     6913     +194     
- Misses       5116     7069    +1953     
- Partials      494      802     +308     
Flag Coverage Δ
unittests 46.76% <ø> (-7.74%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sathieu sathieu force-pushed the empty-matchConditions branch 2 times, most recently from 4989188 to 93b81ab Compare May 14, 2024 09:32
Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
@sathieu
Copy link
Contributor Author

sathieu commented May 22, 2024

@ritazh @maxsmythe @JaydipGabani Please review 🙏 .

Copy link
Contributor

@JaydipGabani JaydipGabani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@sathieu
Copy link
Contributor Author

sathieu commented Jun 3, 2024

@JaydipGabani Thanks for approving. How to move this forward?

@JaydipGabani
Copy link
Contributor

@sathieu I am waiting on others to approve as well. We need at least one more approval to merge it.

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

Successfully merging this pull request may close these issues.

None yet

3 participants