Remove Argocd and Longhorn from cluster layer

This commit is contained in:
Khue Doan 2021-08-22 23:35:16 +07:00
parent 000c90bf99
commit 3c3832dbea
4 changed files with 0 additions and 46 deletions

View File

@ -1,34 +0,0 @@
provider "helm" {
kubernetes {
host = rke_cluster.cluster.api_server_url
client_certificate = rke_cluster.cluster.client_cert
client_key = rke_cluster.cluster.client_key
cluster_ca_certificate = rke_cluster.cluster.ca_crt
}
}
resource "helm_release" "argocd" {
name = "argocd"
repository = "https://argoproj.github.io/argo-helm"
chart = "argo-cd"
version = "3.12.1"
namespace = "argocd"
create_namespace = true
wait = true
timeout = 600
values = [
file("${path.module}/values/argocd.yaml")
]
}
resource "helm_release" "longhorn" {
name = "longhorn"
repository = "https://charts.longhorn.io"
chart = "longhorn"
version = "1.1.2"
namespace = "longhorn"
create_namespace = true
wait = true
timeout = 600
}

View File

@ -8,9 +8,5 @@ terraform {
source = "rancher/rke"
version = "1.2.3"
}
helm = {
source = "hashicorp/helm"
version = "2.2.0"
}
}
}

View File

@ -1,8 +0,0 @@
server:
ingress:
enabled: true
hosts:
- argocd.khuedoan.com
# TODO Use HTTPS
extraArgs:
- --insecure