add an annotation to the kingress mapping tags to hostnames#16455
add an annotation to the kingress mapping tags to hostnames#16455dprotaso wants to merge 3 commits intoknative:mainfrom
Conversation
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprotaso The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
391cfbf to
44e51cb
Compare
44e51cb to
f979cca
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #16455 +/- ##
==========================================
+ Coverage 80.17% 80.21% +0.04%
==========================================
Files 217 217
Lines 13520 13534 +14
==========================================
+ Hits 10839 10856 +17
+ Misses 2314 2309 -5
- Partials 367 369 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
/lgtm |
| longestDomain := "" | ||
| for d := range domains { | ||
| if len(longestDomain) < len(d) { | ||
| longestDomain = d | ||
| } | ||
| } |
There was a problem hiding this comment.
I understand that this works but was wondering whether this is the best solution.
I checked GetDomainsForVisibility which only seems to be used in 3 places in total (1 is a test) - we could return the "primary domain" besides the current domains and have a deterministic choice?
Just a suggestion - I'm also fine with the current approach 😀
/lgtm
/retest
/hold in case you want to change this
There was a problem hiding this comment.
done - please take a look
|
New changes are detected. LGTM label has been removed. |
Alternate approach to #16439