You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loki writes config with values from environment variables.
To Reproduce
Started Loki 3.1.0 with "config.expand-env" Param.
Config.yaml contains variables that are defined in the system
The configuration is expanded by loki and written back to the filesystem. This exposes all variable contents including sensitive values. This also means that the configmap has the content of the config.yaml containing sensitive data.
Expected behavior
Loki should substitute parameters with values from the environment and initialize the service without writing a config file. This is the default in other services like quarkus, spring where a config value can easily replaced by a environment variable.
Environment:
Infrastructure: Baremetal, Kubernetes
The text was updated successfully, but these errors were encountered:
Describe the bug
Loki writes config with values from environment variables.
To Reproduce
The configuration is expanded by loki and written back to the filesystem. This exposes all variable contents including sensitive values. This also means that the configmap has the content of the config.yaml containing sensitive data.
Expected behavior
Loki should substitute parameters with values from the environment and initialize the service without writing a config file. This is the default in other services like quarkus, spring where a config value can easily replaced by a environment variable.
Environment:
The text was updated successfully, but these errors were encountered: