Review moving the `GITLAB_GRAFANA_API_KEY` environment variable into application settings
During the API Service migration to Kubernetes we found that the GITLAB_GRAFANA_API_KEY
environment variable can ONLY be configured via the environment. This created a very inconsistent approach towards configuring running the software and depending on the type of configuration, could be dangerous to expose as an environment variable
Can we move this to be served via our gitlab.rb configuration procedure?
Definition of done
-
The API key can be configured through ApplicationSettings.database_grafana_api_key
(similar for url and tag) or - if not present - through the existing ENV variable -
The parameter is documented properly
Edited by Krasimir Angelov