fix: remove kubeconfig references, use try() for pod runtime files

- main.tf: remove kubeconfig_path local (no longer used with direct auth)
- providers.tf: wrap file() with try() to handle plan-time on non-pod systems

try() allows terraform plan to work locally; at runtime in pod, files exist and are used.
This commit is contained in:
Story Crater Bot
2026-07-15 21:36:05 -07:00
parent be2e5c321f
commit 94a2bd648c
2 changed files with 5 additions and 6 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
locals {
kubeconfig_path = var.kubeconfig_path
cluster_domain = var.cluster_domain
cluster_domain = var.cluster_domain
}
# Helm repositories will be created in helm-repositories.tf