You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
849 B
YAML
22 lines
849 B
YAML
kind: StorageClass
|
|
apiVersion: storage.k8s.io/v1
|
|
metadata:
|
|
name: longhorn-crypto-global
|
|
annotations:
|
|
storageclass.kubernetes.io/is-default-class: "true"
|
|
provisioner: driver.longhorn.io
|
|
allowVolumeExpansion: true
|
|
parameters:
|
|
diskSelector: ssd
|
|
numberOfReplicas: "3"
|
|
staleReplicaTimeout: "2880" # 48 hours in minutes
|
|
fromBackup: ""
|
|
encrypted: "true"
|
|
# global secret that contains the encryption key that will be used for all volumes
|
|
csi.storage.k8s.io/provisioner-secret-name: "longhorn-crypto"
|
|
csi.storage.k8s.io/provisioner-secret-namespace: "longhorn-system"
|
|
csi.storage.k8s.io/node-publish-secret-name: "longhorn-crypto"
|
|
csi.storage.k8s.io/node-publish-secret-namespace: "longhorn-system"
|
|
csi.storage.k8s.io/node-stage-secret-name: "longhorn-crypto"
|
|
csi.storage.k8s.io/node-stage-secret-namespace: "longhorn-system"
|