mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-08 14:33:52 +07:00
0036b77a28
Due to race condition
29 lines
817 B
HCL
29 lines
817 B
HCL
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.6.8"
|
|
namespace = "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
|
|
}
|