Skip to content

Instantly share code, notes, and snippets.

@anatolijd
Created November 15, 2020 23:05
Show Gist options
  • Save anatolijd/ed9dfb4a2aceabbd51436647531e4d15 to your computer and use it in GitHub Desktop.
Save anatolijd/ed9dfb4a2aceabbd51436647531e4d15 to your computer and use it in GitHub Desktop.
type: CheckConfig
api_version: core/v2
metadata:
name: read_secret
spec:
command: env|grep -i influx
env_vars:
- INFLUXDB_PASSWORD=strongpasshere
- INFLUXDB_USER=sensu-read
handlers: []
publish: false
secrets:
subscriptions:
- secrets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment