longhorn: track the longhorn-static StorageClass in Git
Longhorn auto-creates this class when missing and it is not backed by the longhorn-storageclass ConfigMap, so it had no source of truth. Set to Retain.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
kind: StorageClass
|
||||
apiVersion: storage.k8s.io/v1
|
||||
metadata:
|
||||
name: longhorn-static
|
||||
provisioner: driver.longhorn.io
|
||||
allowVolumeExpansion: true
|
||||
# Retain so a deleted PVC does not destroy the Longhorn volume
|
||||
reclaimPolicy: Retain
|
||||
volumeBindingMode: Immediate
|
||||
parameters:
|
||||
staleReplicaTimeout: "30"
|
||||
Reference in New Issue
Block a user