Skip to content

Commit

Permalink
Add example for setting secrets (#140)
Browse files Browse the repository at this point in the history
add secrets usage example to sensu_check example
  • Loading branch information
agoddard authored Sep 18, 2021
1 parent 8f2cf0f commit aa421dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ sensu_check 'cron' do
annotations(runbook: 'https://www.xkcd.com/378/')
publish false
ttl 100
secrets [{ "name": "AGGREGATE_USER_KEY", "secret": 'sensu-aggregate-key'}]
high_flap_threshold 60
low_flap_threshold 20
action :create
Expand Down

0 comments on commit aa421dd

Please sign in to comment.