Is your feature request related to a problem? Please describe.
Podman and Docker are able to mount a secrets file in to /run/secret i.e. /run/secrets/gf_admin_pass. Grafana is able to refer to the secret via an env var: GF_SECURITY_ADMIN_PASSWORD__FILE=/run/secrets/admin_password. As far as I can tell it is not possible to pass the same secret path to gdg which in my setup is installed inside the Grafana container.
Describe the solution you'd like
The GDG_CONTEXTS__ALL__PASSWORD env var should get the capability to refer to a password-file. Maybe by adding a "_FILE" suffix akin to Grafana: GDG_CONTEXTS__ALL__PASSWORD_FILE=/run/secrets/gf_admin_pass
Describe alternatives you've considered
Writing a script which reads the password file and writes it in to importer.yml. This makes the setup more convoluted and might require a custom Grafana Image.
Is your feature request related to a problem? Please describe.
Podman and Docker are able to mount a secrets file in to
/run/secreti.e./run/secrets/gf_admin_pass. Grafana is able to refer to the secret via an env var:GF_SECURITY_ADMIN_PASSWORD__FILE=/run/secrets/admin_password. As far as I can tell it is not possible to pass the same secret path to gdg which in my setup is installed inside the Grafana container.Describe the solution you'd like
The
GDG_CONTEXTS__ALL__PASSWORDenv var should get the capability to refer to a password-file. Maybe by adding a "_FILE" suffix akin to Grafana:GDG_CONTEXTS__ALL__PASSWORD_FILE=/run/secrets/gf_admin_passDescribe alternatives you've considered
Writing a script which reads the password file and writes it in to importer.yml. This makes the setup more convoluted and might require a custom Grafana Image.