mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00
nixos/grafana: make warning more clear
This commit is contained in:
parent
9d7e9c5965
commit
6ee5ae3e48
@ -1183,7 +1183,7 @@ in {
|
|||||||
doesntUseFileProvider cfg.settings.security.admin_password "admin"
|
doesntUseFileProvider cfg.settings.security.admin_password "admin"
|
||||||
) ''
|
) ''
|
||||||
Grafana passwords will be stored as plaintext in the Nix store!
|
Grafana passwords will be stored as plaintext in the Nix store!
|
||||||
Use file/env provider or an env-var instead.
|
Use file provider or an env-var instead.
|
||||||
'')
|
'')
|
||||||
# Warn about deprecated notifiers.
|
# Warn about deprecated notifiers.
|
||||||
++ (optional (cfg.provision.notifiers != []) ''
|
++ (optional (cfg.provision.notifiers != []) ''
|
||||||
@ -1203,7 +1203,7 @@ in {
|
|||||||
in any declarationUnsafe datasourcesToCheck
|
in any declarationUnsafe datasourcesToCheck
|
||||||
) ''
|
) ''
|
||||||
Declarations in the `secureJsonData`-block of a datasource will be leaked to the
|
Declarations in the `secureJsonData`-block of a datasource will be leaked to the
|
||||||
Nix store unless a file/env-provider or an env-var is used!
|
Nix store unless a file-provider or an env-var is used!
|
||||||
'')
|
'')
|
||||||
++ (optional (
|
++ (optional (
|
||||||
any (x: x.secure_settings != null) cfg.provision.notifiers
|
any (x: x.secure_settings != null) cfg.provision.notifiers
|
||||||
|
Loading…
Reference in New Issue
Block a user