edamame-load-test / edamame

A distributed load testing framework for real-time collaboration apps (HTTP and WebSockets)
5 stars 1 forks source link

Using secrets to inform username and pw for grafana #65

Closed elguaposalsero closed 1 year ago

elguaposalsero commented 1 year ago

When a user creates a password, we will not directly update the Grafana YAML file. I've renamed the function from setPgGrafCredentials to just setPgCredentials.

Instead, the grafana.YAML file will set environment variables based on our secret, and the grafana-datasources configmap will read from them.

lukeoguro commented 1 year ago

Not sure why but this broke something. Investigating now.

westrachel commented 1 year ago

I think we can commit this! Grafana seems to be able to access the postgres data as I can filter to a testid and see the 99th percentile in my local branch of this pr. Some of the dashboard queries aren't working, but that's a separate concern

gcpinckert commented 1 year ago

Fixes issue #23