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:
2026-08-24 00:43:26 +02:00
parent a7f4618d4f
commit c505924d27
@@ -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"