Skip to content

Commit

Permalink
Update config examples
Browse files Browse the repository at this point in the history
  • Loading branch information
cjonesy committed Sep 13, 2024
1 parent e7a5734 commit b196fc4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
3 changes: 2 additions & 1 deletion docs/executioners/log_executioner.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ following configuration option is available:

```yaml
executioner:
log:
type: log
config:
tag: my-application
```
Expand Down
6 changes: 4 additions & 2 deletions docs/executioners/shell_executioner.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ file. The following configuration options are available:
```yaml
name: shell_executioner_example
watcher:
time:
type: time
config:
poll_seconds: 60
executioner:
shell:
type: shell
config:
command: echo "Data received: $GOVERSEER_DATA"
shell: /bin/bash
```
Expand Down
5 changes: 3 additions & 2 deletions docs/watchers/gce_metadata_watcher.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ config file. The following configuration options are available:
```yaml
name: gce_metadata_watcher_example
watcher:
gce_metadata:
type: gce_metadata
config:
key: instance/attributes/my-key
recursive: true
executioner:
log:
type: log
```
**Note:**
Expand Down
5 changes: 3 additions & 2 deletions docs/watchers/time_watcher.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ following configuration option is available:

```yaml
watcher:
time:
type: time
config:
poll_seconds: 60
executioner:
log:
type: log
```
This configuration would trigger the executioner every 60 seconds.
Expand Down

0 comments on commit b196fc4

Please sign in to comment.