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
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
namespace: longhorn-system
|
||||||
resources:
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- helmrepo.yaml
|
||||||
|
- helmrelease.yaml
|
||||||
- longhornsetting.yaml
|
- longhornsetting.yaml
|
||||||
|
|||||||
@@ -1,13 +1,6 @@
|
|||||||
apiVersion: longhorn.io/v1beta2
|
apiVersion: longhorn.io/v1beta2
|
||||||
kind: Setting
|
kind: Setting
|
||||||
metadata:
|
metadata:
|
||||||
name: deleting-confirmation-flag
|
name: default-replica-count
|
||||||
namespace: kube-system
|
namespace: longhorn-system
|
||||||
value: "true"
|
value: "1"
|
||||||
# ---
|
|
||||||
# apiVersion: longhorn.io/v1beta2
|
|
||||||
# kind: Setting
|
|
||||||
# metadata:
|
|
||||||
# name: default-replica-count
|
|
||||||
# namespace: kube-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