Skip to content

Commit

Permalink
Set the Sensu API key as secret in handler example
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Plourde <[email protected]>
  • Loading branch information
palourde committed Feb 11, 2020
1 parent 47cd4d2 commit c56ed2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,13 @@ spec:
- PUPPET_CERT=/path/to/puppet/cert.pem
- PUPPET_KEY=/path/to/puppet/key.pem
- PUPPET_CA_CERT=/path/to/puppet/ca.pem
- SENSU_API_KEY=sensu-api-key-here
filters:
- is_incident
runtime_assets:
- sensu/sensu-puppet-handler
secrets:
- name: SENSU_API_KEY
secret: sensu-api-key
```
and then add the handler to the keepalive handler set:
Expand Down

0 comments on commit c56ed2c

Please sign in to comment.