From 1a8c43c31f7bffd6e2386d5055edeef4bdaaac2b Mon Sep 17 00:00:00 2001 From: Isaiah Snell-Feikema Date: Thu, 11 May 2017 21:56:57 -0500 Subject: [PATCH] change ingress ssl path to expose a less confusing httpbin api (#196) --- _docs/tasks/ingress.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/_docs/tasks/ingress.md b/_docs/tasks/ingress.md index 717ec9497f..faf7bc7fdc 100644 --- a/_docs/tasks/ingress.md +++ b/_docs/tasks/ingress.md @@ -140,14 +140,14 @@ to configure ingress behavior. rules: - http: paths: - - path: /html + - path: /ip backend: serviceName: httpbin servicePort: 8000 EOF ``` - Notice that in this example we are only exposing httpbin's `/html` endpoint. + Notice that in this example we are only exposing httpbin's `/ip` endpoint. _Remark:_ Envoy currently only allows a single TLS secret in the ingress since SNI is not yet supported. @@ -199,13 +199,10 @@ to configure ingress behavior. 1. Access the secured httpbin service using _curl_: ```bash - curl -k https://$SECURE_INGRESS_URL/html - ``` - - ``` - - - ... + curl -k https://$SECURE_INGRESS_URL/ip + { + "origin": "129.42.161.35" + } ```