Skip to content

Commit 76525d5

Browse files
authored
Merge pull request #33197 from Miciah/fix-example-ingress-for-v1-API-version
Fix example ingress for v1 API version
2 parents d53eb6f + a661f03 commit 76525d5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ metadata:
103103
uid: 4e6c59cc-704d-4f44-b390-617d879033b6
104104
spec:
105105
host: www.example.com
106-
to:
107-
kind: Service
108-
name: frontend
106+
path: /
107+
port:
108+
targetPort: https
109109
tls:
110110
certificate: |
111111
-----BEGIN CERTIFICATE-----
@@ -117,4 +117,7 @@ spec:
117117
[...]
118118
-----END RSA PRIVATE KEY-----
119119
termination: reencrypt
120+
to:
121+
kind: Service
122+
name: frontend
120123
----

0 commit comments

Comments
 (0)