This message was deleted.
# longhorn-storage
a
This message was deleted.
1
p
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
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
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
ah indeed, that too!