From 00c431a9d20ad8baac64f124ace740f724f92676 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Wed, 18 Dec 2019 23:20:55 -0800 Subject: [PATCH] Add Kubelet kubeconfig output for DigitalOcean * Allow the raw kubelet kubeconfig to be consumed via Terraform output --- digital-ocean/container-linux/kubernetes/outputs.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/digital-ocean/container-linux/kubernetes/outputs.tf b/digital-ocean/container-linux/kubernetes/outputs.tf index 50934e37..429893c5 100644 --- a/digital-ocean/container-linux/kubernetes/outputs.tf +++ b/digital-ocean/container-linux/kubernetes/outputs.tf @@ -27,6 +27,12 @@ output "workers_ipv6" { value = digitalocean_droplet.workers.*.ipv6_address } +# Outputs for worker pools + +output "kubeconfig" { + value = module.bootstrap.kubeconfig-kubelet +} + # Outputs for custom firewalls output "controller_tag" {