Skip to content

Commit 0197c05

Browse files
committed
fix ingress example
1 parent fc1c824 commit 0197c05

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

modules/nw-ingress-creating-a-route-via-an-ingress.adoc

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,12 @@ spec:
3030
http:
3131
paths:
3232
- backend:
33-
serviceName: frontend
34-
servicePort: 443
33+
service:
34+
name: frontend
35+
port:
36+
number: 443
37+
path: /
38+
pathType: Prefix
3539
tls:
3640
- hosts:
3741
- www.example.com
@@ -53,9 +57,11 @@ other values are silently ignored. When unset, `edge` is used.
5357
paths:
5458
- path: ''
5559
pathType: ImplementationSpecific
56-
- backend:
57-
serviceName: frontend
58-
servicePort: 443
60+
backend:
61+
service:
62+
name: frontend
63+
port:
64+
number: 443
5965
----
6066

6167
+

0 commit comments

Comments
 (0)