Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support LUKS for raw disk images/clouds #747

Open
cgwalters opened this issue Dec 5, 2024 · 3 comments
Open

support LUKS for raw disk images/clouds #747

cgwalters opened this issue Dec 5, 2024 · 3 comments

Comments

@cgwalters
Copy link
Contributor

Some users want to hard require OS-level disk encryption even in cloud environments because it's provable at the OS level that it works. Also, some people want to do testing in virtualized environments and then deploy to bare metal.

Ignition has a wonderful story for both cases: You can apply the same Ignition configuration, ask for LUKS and get it whether it's bare metal or cloud, with the same language.

So this issue is about a high level request to make it easy with this project to generate a disk image ready for LUKS. In general it probably needs to support the LUKS feature sets available with kickstart and/or Ignition today, including e.g. Tang/NBDE etc.

@cgwalters
Copy link
Contributor Author

BTW one thing I just learned when looking at this is we never added anything clevis into kickstart, the docs just talk about how to set it up via code execution in %post.

But yes related to this whole topic, if we take the solution here to be "add clevis to blueprints" it means the people who want to deploy to bare metal will need a different configuration and language for that - not a new problem at all, but when we start talking about complex configuration it becomes more relevant.

@wadimklincov
Copy link

Out of curiosity, what would be the difference in language and configuration for bare metal? I did some bare metal deployments with anaconda, clevis, tang and LUKS and it worked well (except for the resulting anaconda-iso issues like LIB).

@cgwalters
Copy link
Contributor Author

Currently in this ecosystem it's kickstart for bare metal, blueprints for cloud. Personally I'd like to see more "crossover"...e.g. an ignition-to-kickstart or ignition-to-blueprint translator seems viable in some simple cases. Anyways, it's a tangent but a related one.

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

No branches or pull requests

2 participants