-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
- Loading branch information
1 parent
fab59f1
commit 8027b99
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
dataclients/kubernetes/testdata/ingressV1/ingress-data/wildcard-ing-prefix.eskip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
kube_foo__qux____example_org_____qux: | ||
Host("^(*[.]example[.]org[.]?(:[0-9]+)?)$") && PathSubtree("/") | ||
-> <roundRobin, "http://10.2.9.103:8080", "http://10.2.9.104:8080">; |
49 changes: 49 additions & 0 deletions
49
dataclients/kubernetes/testdata/ingressV1/ingress-data/wildcard-ing-prefix.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: qux | ||
namespace: foo | ||
spec: | ||
rules: | ||
- host: "*.example.org" | ||
http: | ||
paths: | ||
- path: "/" | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: qux | ||
port: | ||
name: baz | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: qux | ||
namespace: foo | ||
spec: | ||
clusterIP: 10.3.190.97 | ||
ports: | ||
- name: baz | ||
port: 8181 | ||
protocol: TCP | ||
targetPort: 8080 | ||
selector: | ||
application: myapp | ||
type: ClusterIP | ||
--- | ||
apiVersion: v1 | ||
kind: Endpoints | ||
metadata: | ||
labels: | ||
application: myapp | ||
name: qux | ||
namespace: foo | ||
subsets: | ||
- addresses: | ||
- ip: 10.2.9.103 | ||
- ip: 10.2.9.104 | ||
ports: | ||
- name: baz | ||
port: 8080 | ||
protocol: TCP |