vmware-tanzu / tanzu-framework

Tanzu Framework provides a set of building blocks to build atop of the Tanzu platform and leverages Carvel packaging and plugins to provide users with a much stronger, more integrated experience than the loose coupling and stand-alone commands of the previous generation of tools.
Apache License 2.0
195 stars 192 forks source link

Adding webhook for readiness provider #4627

Closed sathyanarays closed 1 year ago

sathyanarays commented 1 year ago

What this PR does / why we need it

Apart from the OpenAPI spec validations, additional checks need to be performed to validate readiness provider resources. This PR adds the validating webhook to both main function and the envtest

Which issue(s) this PR fixes

Fixes #

Describe testing done for PR

Manual testing and envtests

Release note

Additional information

Special notes for your reviewer

codecov[bot] commented 1 year ago

Codecov Report

Merging #4627 (3e03515) into main (bb07e03) will increase coverage by 25.28%. The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #4627       +/-   ##
===========================================
+ Coverage   49.77%   75.06%   +25.28%     
===========================================
  Files         453       21      -432     
  Lines       45424     1199    -44225     
===========================================
- Hits        22612      900    -21712     
+ Misses      20652      249    -20403     
+ Partials     2160       50     -2110     

see 408 files with indirect coverage changes