influxdata / community-templates

InfluxDB Community Templates: Quickly collect & analyze time series data from a range of sources: Kubernetes, MySQL, Postgres, AWS, Nginx, Jenkins, and more.
https://www.influxdata.com/products/influxdb-templates/gallery/
Apache License 2.0
351 stars 157 forks source link

User cannot set Enterprise password env var #275

Open pierwill opened 3 years ago

pierwill commented 3 years ago

As is, the user cannot set the user name/password for the Enterprise cluster. This forces the user to download the telegraf config and edit it locally. If we want users to be able to point to the hosted config file, the following lines could use environment variables:

https://github.com/influxdata/community-templates/blob/6bb65f920c4752c801539e6f33d2ece8ac6489f1/influxdb-enterprise-1x/enterprise.yml#L1430-L1431

pierwill commented 3 years ago

Ah, I see that it's possible to edit the credentials using the UI before downloading, but my guess is many users will want to option to use the config without entering sensitive credentials into the cloud UI.