secrets: improve description of generator script

This commit is contained in:
DavHau
2024-03-30 17:16:26 +07:00
parent 8e2f367611
commit 25977f6074

View File

@@ -99,11 +99,11 @@
script = lib.mkOption { script = lib.mkOption {
type = lib.types.str; type = lib.types.str;
description = '' description = ''
Script to generate the secret. Shell script snippet to generate the secrets and facts.
The script will be called with the following variables: The script has access to the following environment variables:
- facts: path to a directory where facts can be stored - facts: path to a directory where facts can be stored
- secrets: path to a directory where secrets can be stored - secrets: path to a directory where secrets can be stored
The script is expected to generate all secrets and facts defined in the module. The script is expected to generate all secrets and facts defined for this service.
''; '';
}; };
finalScript = lib.mkOption { finalScript = lib.mkOption {