add longhorn storage class

This commit is contained in:
2025-12-27 13:54:37 +00:00
parent f1294e3154
commit 4217faf47a
3 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: longhorn
namespace: longhorn-system
spec:
interval: 6h
chart:
spec:
chart: longhorn
version: "1.10.1"
sourceRef:
kind: HelmRepository
name: longhorn
namespace: flux-system
interval: 6h
install:
createNamespace: true
upgrade:
remediation:
remediateLastFailure: true
values:
persistence:
defaultClass: false
reclaimPolicy: Retain
ingress:
enabled: false
service:
ui:
type: ClusterIP

View File

@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: longhorn
namespace: flux-system
spec:
interval: 6h
url: https://charts.longhorn.io

View File

@@ -0,0 +1,8 @@
---
kind: Namespace
apiVersion: v1
metadata:
name: longhorn-system
labels:
name: longhorn-system