khuedoan-homelab/infra/bootstrap.tf
2021-06-10 19:35:42 +07:00

21 lines
516 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.1.2"
namespace = "argocd"
create_namespace = true
wait = true
}