docs(lvm): document encryption at rest for LVM volumes - #1107
Draft
abonillabeeche wants to merge 2 commits into
Draft
abonillabeeche wants to merge 2 commits into
abonillabeeche wants to merge 2 commits into
Conversation
Add an "Encrypting an LVM Volume" section to the LVM local storage add-on page: how to create the CRYPTO_KEY_* encryption secret, how to create an encrypted dm-thin StorageClass from the UI (Volume Encryption toggle + secret) and via YAML, the cloneStrategy=copy requirement for image clones, and a note that images/VMs/snapshots/backups inherit encryption via the StorageClass. Signed-off-by: Alejandro Bonilla <abonilla@suse.com>
This was referenced Aug 19, 2026
Harvester resolves the encryption secret reference literally when the
StorageClass is admitted, so ${pvc.name}/${pvc.namespace} templating is
rejected and the secret must already exist; it also requires every
CRYPTO_KEY_* field to be present. The node-expand secret reference was
missing from the example, without which expanding an encrypted volume
fails. Also document that snapshots and clones cannot change a volume's
encryption state and that a restored volume needs its source's passphrase.
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Alejandro Bonilla <abonilla@suse.com>
abonillabeeche
force-pushed
the
feat/lvm-encryption-docs
branch
from
September 2, 2026 22:52
448a299 to
aab00c2
Compare
Contributor
Author
|
Updated this PR (
DCO is green on the new commit. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
Documents encryption at rest for LVM volumes on the LVM local storage add-on page
(
docs/advanced/addons/lvm-local-storage.md), covering:CRYPTO_KEY_*encryption secret (same convention as Longhorn).dm-thinStorageClass from the UI (Volume Encryption togglecloneStrategy: copyrequirement so VM-image clones are written through theencryption layer.
using the encrypted StorageClass.
Related
Notes
versioned_docs/version-v1.xonce the driver + UI land in a release.