0.3.3: longhorn.persistence.defaultClass=false (k3s default-SC stays local-path)

This commit is contained in:
OdooSky Bot
2026-05-02 21:39:00 +03:00
parent dcf9cf79d8
commit cf0fd4c477
2 changed files with 11 additions and 2 deletions

View File

@@ -159,3 +159,12 @@ longhorn:
preUpgradeChecker:
jobEnabled: false
upgradeVersionCheck: false
# Don't mark Longhorn's bundled StorageClass as cluster-default.
# k3s ships local-path as default; we keep it that way. New
# instances stay on local-path unless Tower explicitly stamps
# storageClassName=longhorn-tenants on their PVCs (Phase 6 of
# ADR 0003 will do that). Two `default` storage classes is a
# k8s misconfig — silently picks one for unscoped PVCs.
persistence:
defaultClass: false
defaultClassReplicaCount: 1