Skip to content

Volume Encryption #448

Answered by JustinGuese
mysticaltech asked this question in Q&A
Sep 2, 2022 · 9 comments · 11 replies
Discussion options

You must be logged in to vote

Okay I got it to work, some findings from my journey:

(preferred) hcloud csi encrypted volumes

The easiest way to get encrypted volumes working is actually to use the new encryption functionality of hcloud csi itself, see https://github.com/hetznercloud/csi-driver.
For this, you just need to create a secret containing the encryption key

   apiVersion: v1
   kind: Secret
   metadata:
     name: encryption-secret
     namespace: kube-system
   stringData:
     encryption-passphrase: foobar

and to create a new storage class

   apiVersion: storage.k8s.io/v1
   kind: StorageClass
   metadata:
     name: hcloud-volumes-encrypted
   provisioner: csi.hetzner.cloud
   reclaimPolicy: Delete
   vol…

Replies: 9 comments 11 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@JustinGuese
Comment options

@mysticaltech
Comment options

mysticaltech Dec 8, 2022
Maintainer Author

@JustinGuese
Comment options

Comment options

You must be logged in to vote
7 replies
@ifeulner
Comment options

ifeulner Dec 8, 2022
Collaborator

@ifeulner
Comment options

ifeulner Dec 8, 2022
Collaborator

@mysticaltech
Comment options

mysticaltech Dec 8, 2022
Maintainer Author

@ifeulner
Comment options

ifeulner Dec 9, 2022
Collaborator

@mysticaltech
Comment options

mysticaltech Dec 9, 2022
Maintainer Author

Answer selected by mysticaltech
Comment options

You must be logged in to vote
1 reply
@ifeulner
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #295 on December 07, 2022 15:48.