diff --git a/bootstrap.tf b/bootstrap.tf index 0d95b4b..60e01f0 100644 --- a/bootstrap.tf +++ b/bootstrap.tf @@ -1,11 +1,10 @@ # Kubernetes assets (kubeconfig, manifests) module "bootstrap" { - source = "git::https://github.com/poseidon/terraform-render-bootstrap.git?ref=7988fb7159cb81e2d080b365b147fe90542fd258" + source = "git::https://github.com/poseidon/terraform-render-bootstrap.git?ref=9037d7311b949439b217cd9c657d4500eab3e16b" cluster_name = var.cluster_name api_servers = [var.k8s_domain_name] etcd_servers = var.controllers.*.domain - asset_dir = var.asset_dir networking = var.networking network_mtu = var.network_mtu network_ip_autodetection_method = var.network_ip_autodetection_method diff --git a/outputs.tf b/outputs.tf index 8e81ca1..9ad1263 100644 --- a/outputs.tf +++ b/outputs.tf @@ -2,3 +2,9 @@ output "kubeconfig-admin" { value = module.bootstrap.kubeconfig-admin } +# Outputs for debug + +output "assets_dist" { + value = module.bootstrap.assets_dist +} + diff --git a/variables.tf b/variables.tf index 5de6cae..b32fb67 100644 --- a/variables.tf +++ b/variables.tf @@ -152,12 +152,6 @@ variable "enable_aggregation" { # unofficial, undocumented, unsupported -variable "asset_dir" { - type = string - description = "Absolute path to a directory where generated assets should be placed (contains secrets)" - default = "" -} - variable "cluster_domain_suffix" { type = string description = "Queries for domains with the suffix will be answered by coredns. Default is cluster.local (e.g. foo.default.svc.cluster.local) "