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: cover credentials in KongClient golden tests #6575

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

czeslavo
Copy link
Contributor

What this PR does / why we need it:

In #6574 we suspected KIC doesn't set Kubernetes metadata tags for credential entities. This PR proves it's not the case by adding a KongClient golden test case that covers all credential types.

Which issue this PR fixes:

Closes #6574.

@czeslavo czeslavo requested a review from a team as a code owner October 29, 2024 10:18
@czeslavo czeslavo self-assigned this Oct 29, 2024
Copy link

codecov bot commented Oct 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.5%. Comparing base (35b1374) to head (ec218fa).
Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##            main   #6575     +/-   ##
=======================================
+ Coverage   69.5%   72.5%   +2.9%     
=======================================
  Files        202     202             
  Lines      25796   25801      +5     
=======================================
+ Hits       17935   18711    +776     
+ Misses      6853    6079    -774     
- Partials    1008    1011      +3     

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

@czeslavo czeslavo marked this pull request as draft October 29, 2024 10:38
@czeslavo czeslavo force-pushed the test/cover-credentials-in-golden branch from 0226f5b to 9a75228 Compare October 29, 2024 16:14
@czeslavo czeslavo force-pushed the test/cover-credentials-in-golden branch from 9a75228 to c72861f Compare October 29, 2024 17:19
@czeslavo czeslavo force-pushed the test/cover-credentials-in-golden branch from c72861f to ec218fa Compare October 29, 2024 17:28
@czeslavo czeslavo marked this pull request as ready for review October 29, 2024 17:28
@randmonkey randmonkey merged commit ea4944b into main Oct 30, 2024
42 checks passed
@randmonkey randmonkey deleted the test/cover-credentials-in-golden branch October 30, 2024 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Credentials do not have tags implying parent k8s resources so they cannot be recovered from fallback config
2 participants