Move Longhorn back to infra layer

Due to race condition
This commit is contained in:
Khue Doan 2021-06-13 19:06:53 +07:00
parent 438d0bed1e
commit 0036b77a28
3 changed files with 10 additions and 22 deletions

View File

@ -6,7 +6,6 @@ resources:
- resources/cert-manager.yaml
- resources/descheduler.yaml
- resources/kured.yaml
- resources/longhorn.yaml
- resources/metallb.yaml
- resources/nginx.yaml
- resources/node-problem-detector.yaml

View File

@ -1,21 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: longhorn
spec:
destination:
name: in-cluster
namespace: longhorn-system
server: ''
source:
path: ''
repoURL: 'https://charts.longhorn.io'
targetRevision: 1.1.0
chart: longhorn
project: default
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@ -16,3 +16,13 @@ resource "helm_release" "argocd" {
create_namespace = true
wait = true
}
resource "helm_release" "longhorn" {
name = "longhorn"
repository = "https://charts.longhorn.io"
chart = "longhorn"
version = "1.1.1"
namespace = "longhorn"
create_namespace = true
wait = true
}