Skip to content

Commit

Permalink
Merge pull request kubernetes#248 from jcmoraisjr/jm-haproxy-docs-fix
Browse files Browse the repository at this point in the history
Small fixes on HAProxy Ingress docs
  • Loading branch information
bprashanth authored Feb 8, 2017
2 parents 1eaea75 + 67f1e77 commit 0b1fc38
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions examples/deployment/haproxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ spec:
- path: /
backend:
serviceName: http-svc
servicePort: 80
servicePort: 8080
EOF
```

Expand Down Expand Up @@ -147,5 +147,5 @@ haproxy-ingress-2556761959-tv20k 1/1 Running 0 9m
...

$ kubectl logs haproxy-ingress-2556761959-tv20k
$ kubectl describe haproxy-ingress-2556761959-tv20k
$ kubectl describe pod/haproxy-ingress-2556761959-tv20k
```
6 changes: 3 additions & 3 deletions examples/tls-termination/haproxy/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TLS termination
# HAProxy Ingress TLS termination

## Prerequisites

Expand Down Expand Up @@ -102,13 +102,13 @@ Here is the difference:
Now `foo.bar` certificate should be used to terminate TLS:

```console
openssl s_client -connect 172.17.4.99:31692
$ openssl s_client -connect 172.17.4.99:31692
...
subject=/CN=localhost
issuer=/CN=localhost
---

openssl s_client -connect 172.17.4.99:31692 -servername foo.bar
$ openssl s_client -connect 172.17.4.99:31692 -servername foo.bar
...
subject=/CN=foo.bar
issuer=/CN=foo.bar
Expand Down
2 changes: 1 addition & 1 deletion examples/tls-termination/haproxy/ingress-tls-default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ spec:
- path: /
backend:
serviceName: http-svc
servicePort: 80
servicePort: 8080
2 changes: 1 addition & 1 deletion examples/tls-termination/haproxy/ingress-tls-foobar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ spec:
- path: /
backend:
serviceName: http-svc
servicePort: 80
servicePort: 8080

0 comments on commit 0b1fc38

Please sign in to comment.