Skip to content

Instantly share code, notes, and snippets.

@anatolijd
Last active November 15, 2020 15:58
Show Gist options
  • Save anatolijd/3ff6d8808a5873f45be800463e05d094 to your computer and use it in GitHub Desktop.
Save anatolijd/3ff6d8808a5873f45be800463e05d094 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: null
handlers: []
publish: false
secrets:
- name: INFLUXDB_PASSWORD
secret: secret/auth/ext/influxdb/sensu#password
- name: INFLUXDB_USER
secret: secret/auth/ext/influxdb/sensu#username
subscriptions:
- secrets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment