cadviser: add storageDriverPasswordFile option #24341
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This gives users the option of storing the
storageDriverPassword
outside the world-readable Nix store.This is part of #24288.
@offlinehacker I tested if the module evaluates without problems. I haven't tested the actual service yet. Would you be able to do that?
One concern I have is if the
secret
in-storage_driver_password secret
will show up intop
/htop
/ps
/ etc. since it's passed as a command line argument. Willcadvisor
do The Right Thing and remove the secret from its command line?Ideally we request the cadviser developers to add a
-storage_driver_password_file
option.