Adding support for helm releases
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 5s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 18s

Intended for setting up the nginx-ingress controller
This commit is contained in:
shockrah 2025-09-20 11:05:00 -07:00
parent d992556032
commit fd9bd290af
2 changed files with 16 additions and 1 deletions

View File

@ -19,6 +19,10 @@ terraform {
source = "hashicorp/kubernetes"
version = "2.37.1"
}
helm = {
source = "hashicorp/helm"
version = "3.0.2"
}
tls = {
source = "hashicorp/tls"
@ -44,4 +48,9 @@ provider kubernetes {
config_path = "config.yaml"
}
provider helm {
kubernetes = {
host = data.vultr_kubernetes.athens.endpoint
cluster_ca_certificate = data.vultr_kubernetes.athens.cluster_ca_certificate
}
}

View File

@ -0,0 +1,6 @@
data vultr_kubernetes athens {
filter {
name = "label"
values = [ var.cluster.label ]
}
}