apiVersion: v1
kind: PersistentVolume
metadata:
  annotations:
    longhorn.io/volume-scheduling-error: ""
    pv.kubernetes.io/provisioned-by: driver.longhorn.io
    volume.kubernetes.io/provisioner-deletion-secret-name: longhorn-encryption
    volume.kubernetes.io/provisioner-deletion-secret-namespace: longhorn-system
  name: pvc-d36605d2-3a2b-4148-b59e-73b21ae8e3e9
spec:
  accessModes:
  - ReadWriteOnce
  capacity:
    storage: 10Gi
  claimRef:
    apiVersion: v1
    kind: PersistentVolumeClaim
    name: chartmuseum
    namespace: chartmuseum
  csi:
    driver: driver.longhorn.io
    fsType: ext4
    nodePublishSecretRef:
      name: longhorn-encryption
      namespace: longhorn-system
    nodeStageSecretRef:
      name: longhorn-encryption
      namespace: longhorn-system
    volumeAttributes:
      encrypted: "true"
      fromBackup: ""
      fsType: ext4
      numberOfReplicas: "3"
      staleReplicaTimeout: "120"
    volumeHandle: pvc-d36605d2-3a2b-4148-b59e-73b21ae8e3e9
  persistentVolumeReclaimPolicy: Retain
  storageClassName: longhorn-encrypted-retain
  volumeMode: Filesystem
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: chartmuseum
  namespace: chartmuseum
spec:
  accessModes:
    - ReadWriteOnce
  storageClassName: longhorn-encrypted-retain
  resources:
    requests:
      storage: 10Gi
...