Try again!
This commit is contained in:
17
clusters/kairos/longhorn/helmrelease.yaml
Normal file
17
clusters/kairos/longhorn/helmrelease.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: longhorn-release
|
||||
namespace: longhorn-system
|
||||
spec:
|
||||
chart:
|
||||
spec:
|
||||
chart: longhorn
|
||||
reconcileStrategy: ChartVersion
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: longhorn-repo
|
||||
version: 1.6.0
|
||||
interval: 1m0s
|
||||
targetNamespace: longhorn-system
|
||||
9
clusters/kairos/longhorn/helmrepo.yaml
Normal file
9
clusters/kairos/longhorn/helmrepo.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: longhorn-repo
|
||||
namespace: longhorn-system
|
||||
spec:
|
||||
interval: 1m0s
|
||||
url: https://charts.longhorn.io
|
||||
@@ -1,4 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: longhorn-system
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- helmrepo.yaml
|
||||
- helmrelease.yaml
|
||||
- longhornsetting.yaml
|
||||
|
||||
@@ -1,13 +1,6 @@
|
||||
apiVersion: longhorn.io/v1beta2
|
||||
kind: Setting
|
||||
metadata:
|
||||
name: deleting-confirmation-flag
|
||||
namespace: kube-system
|
||||
value: "true"
|
||||
# ---
|
||||
# apiVersion: longhorn.io/v1beta2
|
||||
# kind: Setting
|
||||
# metadata:
|
||||
# name: default-replica-count
|
||||
# namespace: kube-system
|
||||
# value: 1
|
||||
name: default-replica-count
|
||||
namespace: longhorn-system
|
||||
value: "1"
|
||||
4
clusters/kairos/longhorn/namespace.yaml
Normal file
4
clusters/kairos/longhorn/namespace.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: longhorn-system
|
||||
Reference in New Issue
Block a user