Skip to content

Commit 606bdd8

Browse files
author
Duncan McNaught
committed
docs(router): Remove invalid labels from example whitelists
1 parent dc5ee1a commit 606bdd8

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

src/managing-workflow/security-considerations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ $ kubectl --namespace=deis annotate replicationcontroller deis-router router.dei
4747
The format is the same for the controller whitelist but you need to specify the whitelist directly
4848
to the controller's service. For example:
4949

50-
$ kubectl --namespace=deis annotate service deis-controller router.deis.io/whitelist="10.0.1.0/24:office_intranet,121.212.121.212:dev_jenkins"
50+
$ kubectl --namespace=deis annotate service deis-controller router.deis.io/whitelist="10.0.1.0/24,121.212.121.212"
5151

5252
And the same applies to applications. For example, to apply a whitelist to an application named
5353
`example`:
5454

55-
$ kubectl --namespace=example annotate service example-web router.deis.io/whitelist="10.0.1.0/24:office_intranet,121.212.121.212:dev_jenkins"
55+
$ kubectl --namespace=example annotate service example-web router.deis.io/whitelist="10.0.1.0/24,121.212.121.212"

src/quickstart/provider/vagrant/dns.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,14 @@ IP: 10.247.114.249
2727

2828
The service address for the router is `10.247.114.249`.
2929

30-
Last, we need to inform your machine how to reach the service address:
30+
Last, we need to inform your machine how to reach the service address.
3131

32+
Add routes on Linux with:
33+
```
34+
$ sudo route add 10.247.114.249 gw 10.245.1.3
35+
```
36+
37+
Add routes on Mac OS X with:
3238
```
3339
$ sudo route add 10.247.114.249 10.245.1.3
3440
Password:
@@ -40,6 +46,13 @@ node found at `10.245.1.3`.
4046

4147
**Remember when you are finished experimenting, you should remove the route so you aren't confused later:**
4248

49+
Remove routes on Linux with:
50+
```
51+
$ sudo route del 10.247.114.249
52+
```
53+
54+
Remove routes on Mac OS X with:
55+
4356
```
4457
$ sudo route delete 10.247.114.249 10.245.1.3
4558
delete host 10.247.114.249: gateway 10.245.1.3

0 commit comments

Comments
 (0)