k3s-cluster/kubernetes/main/core/longhorn/helm-release.yaml

31 lines
752 B
YAML
Raw Normal View History

apiVersion: helm.toolkit.fluxcd.io/v2
2023-10-06 16:26:55 +00:00
kind: HelmRelease
metadata:
name: longhorn
namespace: longhorn-system
spec:
interval: 5m
chart:
spec:
chart: longhorn
version: "1.7.1"
2023-10-06 16:26:55 +00:00
sourceRef:
kind: HelmRepository
name: longhorn-charts
namespace: flux-system
values:
longhornUI:
replicas: 1
ingress:
enabled: true
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
host: lnghrn.${SECRET_NEW_DOMAIN}
tls: true
persistence:
defaultClassReplicaCount: 1 # TODO: When the cluster expands, expand the replica count
defaultClass: false