diff --git a/infra/vultr-kubernetes/build.sh b/infra/vultr-kubernetes/build.sh index cb6caac..fad33ff 100644 --- a/infra/vultr-kubernetes/build.sh +++ b/infra/vultr-kubernetes/build.sh @@ -12,7 +12,7 @@ build_plan() { } deploy_plan() { - echo deploy + terraform apply $plan } help_prompt() { diff --git a/infra/vultr-kubernetes/cluster.tf b/infra/vultr-kubernetes/cluster.tf index 2a6e71c..77f7f5c 100644 --- a/infra/vultr-kubernetes/cluster.tf +++ b/infra/vultr-kubernetes/cluster.tf @@ -12,3 +12,10 @@ resource vultr_kubernetes athens { max_nodes = var.cluster.pool.max } } + +output k8s_config { + value = vultr_kubernetes.athens.kube_config + sensitive = true +} + +