khuedoan-homelab/infra/bootstrap.tf
Khue Doan 3516b2cb29 Move ArgoCD back to infra bootstrap
Avoid ArgoCD server issue when applying Argo apps to quickly
2021-06-09 01:03:40 +07:00

19 lines
501 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
}