sysflow-telemetry / sysflow

SysFlow documentation and issues tracker
Other
45 stars 10 forks source link

Implement env variable override for dot-separated attributes #60

Closed araujof closed 3 years ago

araujof commented 3 years ago

Indicate project Processor

Describe the feature you'd like Enable the environment variable configuration override in the Processor's pipeline.json to support dot-separated attributes.

Example:

 {
    "processor": "exporter",     
    "vault.path": "/run/secrets/k8s"
}

This attribute should be overwritable by setting the environment variable EXPORTER_VAULTPATH. Note that '.'s in the original attribute should be specified as '''s in the environment variable.