https://rancher.com/ logo
#longhorn-storage
Title
# longhorn-storage
a

adamant-kite-43734

09/29/2022, 11:32 PM
This message was deleted.
1
p

proud-salesmen-12221

09/29/2022, 11:41 PM
I'm using RKE2 and Longhorn v1.3.1
Copy code
$ kubectl version --short
Client Version: v1.25.0
Kustomize Version: v4.5.7
Server Version: v1.24.4+rke2r1
c

creamy-pencil-82913

09/30/2022, 12:29 AM
You’re using per-volume keys, but I don’t see that you created a secret matching the pvc name/namespace. Did you do so?
all you showed was the storageclass and pvc
p

proud-salesmen-12221

09/30/2022, 12:34 AM
This is what I have for my secret
Copy code
---
apiVersion: v1
kind: Secret
metadata:
  name: nginx-v1-pvc
  namespace: v1-ns
stringData:
  CRYPTO_KEY_VALUE: "Your encryption passphrase"
  CRYPTO_KEY_PROVIDER: "secret"
Someone else figured it out. The storage class in the pvc was wrong.
c

creamy-pencil-82913

09/30/2022, 6:23 AM
ah indeed, that too!
12 Views