@@ -31,21 +31,40 @@ kind: HTTPRoute
3131metadata :
3232 annotations :
3333 gateway.networking.k8s.io/generator : ingress2gateway-dev
34- name : ingress-myserviceb-myserviceb -foo-org
34+ name : ingress-myservicea1-myservicea -foo-org
3535 namespace : default
3636spec :
3737 hostnames :
38- - myserviceb .foo.org
38+ - myservicea .foo.org
3939 parentRefs :
4040 - name : nginx
4141 rules :
4242 - backendRefs :
43- - name : myserviceb
43+ - filters :
44+ - extensionRef :
45+ group : gateway.kgateway.dev
46+ kind : TrafficPolicy
47+ name : ingress-myservicea1
48+ type : ExtensionRef
49+ name : myservicea
4450 port : 80
4551 matches :
4652 - path :
4753 type : PathPrefix
4854 value : /
55+ - backendRefs :
56+ - filters :
57+ - extensionRef :
58+ group : gateway.kgateway.dev
59+ kind : TrafficPolicy
60+ name : ingress-myservicea2
61+ type : ExtensionRef
62+ name : myservicea
63+ port : 80
64+ matches :
65+ - path :
66+ type : PathPrefix
67+ value : /2
4968status :
5069 parents : []
5170---
@@ -54,16 +73,16 @@ kind: HTTPRoute
5473metadata :
5574 annotations :
5675 gateway.networking.k8s.io/generator : ingress2gateway-dev
57- name : ingress-sessionaffinity-sessionaffinity-example -org
76+ name : ingress-myserviceb-myserviceb-foo -org
5877 namespace : default
5978spec :
6079 hostnames :
61- - sessionaffinity.example .org
80+ - myserviceb.foo .org
6281 parentRefs :
6382 - name : nginx
6483 rules :
6584 - backendRefs :
66- - name : httpbin
85+ - name : myserviceb
6786 port : 80
6887 matches :
6988 - path :
@@ -77,16 +96,16 @@ kind: HTTPRoute
7796metadata :
7897 annotations :
7998 gateway.networking.k8s.io/generator : ingress2gateway-dev
80- name : ingress-backendtls-tls -example-org
99+ name : ingress-sessionaffinity-sessionaffinity -example-org
81100 namespace : default
82101spec :
83102 hostnames :
84- - tls .example.org
103+ - sessionaffinity .example.org
85104 parentRefs :
86105 - name : nginx
87106 rules :
88107 - backendRefs :
89- - name : httpbin2
108+ - name : httpbin
90109 port : 80
91110 matches :
92111 - path :
@@ -100,40 +119,21 @@ kind: HTTPRoute
100119metadata :
101120 annotations :
102121 gateway.networking.k8s.io/generator : ingress2gateway-dev
103- name : ingress-myservicea1-myservicea-foo -org
122+ name : ingress-backendtls-tls-example -org
104123 namespace : default
105124spec :
106125 hostnames :
107- - myservicea.foo .org
126+ - tls.example .org
108127 parentRefs :
109128 - name : nginx
110129 rules :
111130 - backendRefs :
112- - filters :
113- - extensionRef :
114- group : gateway.kgateway.dev
115- kind : TrafficPolicy
116- name : ingress-myservicea1
117- type : ExtensionRef
118- name : myservicea
131+ - name : httpbin2
119132 port : 80
120133 matches :
121134 - path :
122135 type : PathPrefix
123136 value : /
124- - backendRefs :
125- - filters :
126- - extensionRef :
127- group : gateway.kgateway.dev
128- kind : TrafficPolicy
129- name : ingress-myservicea2
130- type : ExtensionRef
131- name : myservicea
132- port : 80
133- matches :
134- - path :
135- type : PathPrefix
136- value : /2
137137status :
138138 parents : []
139139---
@@ -270,9 +270,6 @@ metadata:
270270 name : ingress-myserviceb
271271 namespace : default
272272spec :
273- basicAuth :
274- secretRef :
275- name : basic-auth-secret
276273 buffer :
277274 maxRequestSize : 100m
278275 rateLimit :
0 commit comments