add config for longhorn

This commit is contained in:
2025-07-28 06:05:06 +05:30
parent 0c4633fa41
commit dc25d89bba
3 changed files with 10 additions and 2 deletions

View File

@@ -21,3 +21,11 @@ metadata:
name: monitoring
labels:
name: monitoring
---
kind: Namespace
apiVersion: v1
metadata:
name: longhorn-system
labels:
name: longhorn-system

View File

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

View File

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