Skip to content

cadviser: add storageDriverPasswordFile option#24341

Merged
7c6f434c merged 1 commit intoNixOS:masterfrom
LumiGuide:cadviser-storageDriverPasswordFile
May 1, 2017
Merged

cadviser: add storageDriverPasswordFile option#24341
7c6f434c merged 1 commit intoNixOS:masterfrom
LumiGuide:cadviser-storageDriverPasswordFile

Conversation

@basvandijk
Copy link
Copy Markdown
Member

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 in top/htop/ps/ etc. since it's passed as a command line argument. Will cadvisor 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.

@mention-bot
Copy link
Copy Markdown

@basvandijk, thanks for your PR! By analyzing the history of the files in this pull request, we identified @offlinehacker, @bjornfor and @nckx to be potential reviewers.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you forgot to end the quote for href.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the heads up.

@basvandijk basvandijk force-pushed the cadviser-storageDriverPasswordFile branch from 480086b to 1143731 Compare March 26, 2017 11:31
This gives users the option of storing the storageDriverPassword outside the
world-readable Nix store.
@basvandijk basvandijk force-pushed the cadviser-storageDriverPasswordFile branch from 1143731 to 2030a91 Compare April 8, 2017 12:15
@basvandijk
Copy link
Copy Markdown
Member Author

It would be great if this can be merged so that we get some progress on #24288.

I also requested a -storage_driver_password_file option in: google/cadvisor#1633 so that we don't have to pass secrets via the insecure command line.

@7c6f434c 7c6f434c merged commit 01ba1a4 into NixOS:master May 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants