Skip to content

Gateway hosts may contain wildcards#3634

Merged
istio-merge-robot merged 1 commit intoistio:masterfrom
cf-routing:gateway-wildcard
Feb 22, 2018
Merged

Gateway hosts may contain wildcards#3634
istio-merge-robot merged 1 commit intoistio:masterfrom
cf-routing:gateway-wildcard

Conversation

@rosenhouse
Copy link
Copy Markdown
Contributor

Hacking away at #3410

Co-authored-by: Zachary LaVallee <zlavallee@pivotal.io>
Co-authored-by: Nino Kodabande <nkodabande@suse.com>
@rosenhouse
Copy link
Copy Markdown
Contributor Author

/test istio-presubmit

Copy link
Copy Markdown
Member

@rshriram rshriram left a comment

Choose a reason for hiding this comment

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

Lgtm.

for _, host := range hosts {
if strings.HasSuffix(host, matchCriteria[1:]) {
matchingHosts = append(matchingHosts, host)
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are we sticking to prefix based matches only? Or should we allow regex matches? Or wildcards in any position like foo.*.com ?
I am okay with the prefix based match as a first cut, but wondering if such use cases exist in cf world.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No use cases that I know of....

@rshriram
Copy link
Copy Markdown
Member

/lgtm

@istio-merge-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rshriram

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@istio-merge-robot
Copy link
Copy Markdown

/test all [submit-queue is verifying that this PR is safe to merge]

@istio-merge-robot
Copy link
Copy Markdown

Automatic merge from submit-queue.

@istio-merge-robot istio-merge-robot merged commit 65a4bba into istio:master Feb 22, 2018
@istio-testing
Copy link
Copy Markdown
Collaborator

istio-testing commented Feb 22, 2018

@rosenhouse: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
prow/e2e-simpleTests.sh efc2266 link /test e2e-simple
Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@aaronshurley aaronshurley deleted the gateway-wildcard branch March 6, 2018 16:30
PetrMc pushed a commit to PetrMc/istio-petrmc-upstream-fork that referenced this pull request Jan 14, 2026
* add unit tests for nodeport peering

* nodeport peering working for waypoint and ingress

* don't add services with the nodeport peering node label to avoid listener collision for 0.0.0.0:15008

* avoid load balancing between LB and nodeport gw

* validate required gw annos and labels when nodeport peering enabled; add gateway status condition indicating which data plane has been programmed; status unit tests

* ci fixes; unit test for envoy network gateway generation

* gate envoy nodeport peering by enable peering env var

* gate on peerin enabled to fix multicluster goroutine leak

* fix gateway status infinite reconciliation

* fix TestNodePortPeering

* fix races in TestNodePortPeering; pr feedback

* fix multicluster status test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants