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

chore: use generated ValidatingWebhookConfiguration in integration tests #6701

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

programmer04
Copy link
Member

@programmer04 programmer04 commented Nov 20, 2024

What this PR does / why we need it:

Everywhere in tests configuration rendered with Kustomize based on the content of config/webhook directory is used

Closes #5660

@programmer04 programmer04 added area/debt area/tests area/maintenance Cleanup, refactoring, and other maintenance improvements that don't change functionality. labels Nov 20, 2024
@programmer04 programmer04 added this to the KIC v3.4.x milestone Nov 20, 2024
@programmer04 programmer04 self-assigned this Nov 20, 2024
@programmer04 programmer04 marked this pull request as ready for review November 20, 2024 14:50
@programmer04 programmer04 requested a review from a team as a code owner November 20, 2024 14:50
@programmer04 programmer04 marked this pull request as draft November 20, 2024 15:00
@programmer04 programmer04 marked this pull request as ready for review November 20, 2024 15:37
@programmer04 programmer04 enabled auto-merge (squash) November 20, 2024 15:37
Copy link

codecov bot commented Nov 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@4c4cd89). Learn more about missing BASE report.
Report is 2 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff           @@
##             main   #6701   +/-   ##
======================================
  Coverage        ?   77.7%           
======================================
  Files           ?     204           
  Lines           ?   23896           
  Branches        ?       0           
======================================
  Hits            ?   18587           
  Misses          ?    4361           
  Partials        ?     948           

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


🚨 Try these New Features:

Copy link
Contributor

@czeslavo czeslavo left a comment

Choose a reason for hiding this comment

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

Nice 👍

What would you say about setting up the admission webhook globally in integration tests suite (without namespace filtering), not only in the *_webhook_test.go cases? It would satisfy the requirement for #4680 we have queued.

@programmer04 programmer04 merged commit 32c3b44 into main Nov 20, 2024
42 of 43 checks passed
@programmer04 programmer04 deleted the webhok-impr branch November 20, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/debt area/maintenance Cleanup, refactoring, and other maintenance improvements that don't change functionality. area/tests size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use generated ValidatingWebhookConfiguration in integration tests
2 participants