Skip to content

Commit

Permalink
Fix annotation placement confusion in readme
Browse files Browse the repository at this point in the history
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
  • Loading branch information
faizanahmad055 committed Oct 11, 2018
1 parent 0cb86cf commit 61b3985
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Reloader can watch changes in `ConfigMap` and `Secret` and do rolling upgrades o
For a `Deployment` called `foo` have a `ConfigMap` called `foo-configmap`. Then add this annotation to your `Deployment`

```yaml
kind: Deployment
metadata:
annotations:
configmap.reloader.stakater.com/reload: "foo-configmap"
Expand All @@ -34,6 +35,7 @@ metadata:
Use comma separated list to define multiple configmaps.
```yaml
kind: Deployment
metadata:
annotations:
configmap.reloader.stakater.com/reload: "foo-configmap,bar-configmap,baz-configmap"
Expand All @@ -44,6 +46,7 @@ metadata:
For a `Deployment` called `foo` have a `Secret` called `foo-secret`. Then add this annotation to your `Deployment`

```yaml
kind: Deployment
metadata:
annotations:
secret.reloader.stakater.com/reload: "foo-secret"
Expand All @@ -52,6 +55,7 @@ metadata:
Use comma separated list to define multiple secrets.

```yaml
kind: Deployment
metadata:
annotations:
secret.reloader.stakater.com/reload: "foo-secret,bar-secret,baz-secret"
Expand Down

0 comments on commit 61b3985

Please sign in to comment.