add an annotation to the kingress mapping tags to hostnames#16455
add an annotation to the kingress mapping tags to hostnames#16455knative-prow[bot] merged 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 |
44e51cb to
f979cca
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #16455 +/- ##
==========================================
- Coverage 80.25% 80.22% -0.04%
==========================================
Files 217 217
Lines 13533 13547 +14
==========================================
+ Hits 10861 10868 +7
- Misses 2307 2313 +6
- Partials 365 366 +1 ☔ 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
4e398ab to
9d93ac9
Compare
|
/lgtm |
|
/hold cancel |
Alternate approach to #16439