mirror of
https://github.com/khuedoan/homelab.git
synced 2025-02-03 12:54:54 +07:00
Remove Argocd and Longhorn from cluster layer
This commit is contained in:
parent
000c90bf99
commit
3c3832dbea
@ -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
|
||||
}
|
@ -8,9 +8,5 @@ terraform {
|
||||
source = "rancher/rke"
|
||||
version = "1.2.3"
|
||||
}
|
||||
helm = {
|
||||
source = "hashicorp/helm"
|
||||
version = "2.2.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +0,0 @@
|
||||
server:
|
||||
ingress:
|
||||
enabled: true
|
||||
hosts:
|
||||
- argocd.khuedoan.com
|
||||
# TODO Use HTTPS
|
||||
extraArgs:
|
||||
- --insecure
|
Loading…
Reference in New Issue
Block a user