27 lines
831 B
Terraform
Raw Normal View History

2025-11-24 15:21:01 +01:00
#off-01: variable "kubeconfig_path" {
#off-01: type = string
#off-01: description = "Path to the kubeconfig file"
#off-01: }
provider "kubectl" {
#off-01: config_path = var.kubeconfig_path
host = var.cluster_endpoint
cluster_ca_certificate = base64decode(var.cluster_ca_cert)
token = var.cluster_token
}
provider "kubernetes" {
#off-01: config_path = var.kubeconfig_path
host = var.cluster_endpoint
cluster_ca_certificate = base64decode(var.cluster_ca_cert)
token = var.cluster_token
}
provider "helm" {
kubernetes {
#off-01: config_path = var.kubeconfig_path
host = var.cluster_endpoint
cluster_ca_certificate = base64decode(var.cluster_ca_cert)
token = var.cluster_token
}
}