2018-12-16 06:48:08 +01:00
|
|
|
output "kubeconfig-admin" {
|
2020-11-23 20:01:04 +01:00
|
|
|
value = module.bootstrap.kubeconfig-admin
|
|
|
|
sensitive = true
|
2018-12-16 06:48:08 +01:00
|
|
|
}
|
|
|
|
|
2020-06-29 08:12:54 +02:00
|
|
|
# Outputs for Kubernetes Ingress
|
|
|
|
|
2017-07-29 20:35:53 +02:00
|
|
|
output "controllers_dns" {
|
2019-05-28 00:37:36 +02:00
|
|
|
value = digitalocean_record.controllers[0].fqdn
|
2017-07-29 20:35:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
output "workers_dns" {
|
2018-10-28 07:01:50 +01:00
|
|
|
# Multiple A and AAAA records with the same FQDN
|
2019-05-28 00:37:36 +02:00
|
|
|
value = digitalocean_record.workers-record-a[0].fqdn
|
2017-07-29 20:35:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
output "controllers_ipv4" {
|
2019-12-03 06:20:47 +01:00
|
|
|
value = digitalocean_droplet.controllers.*.ipv4_address
|
2017-07-29 20:35:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
output "controllers_ipv6" {
|
2019-12-03 06:20:47 +01:00
|
|
|
value = digitalocean_droplet.controllers.*.ipv6_address
|
2017-07-29 20:35:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
output "workers_ipv4" {
|
2019-12-03 06:20:47 +01:00
|
|
|
value = digitalocean_droplet.workers.*.ipv4_address
|
2017-07-29 20:35:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
output "workers_ipv6" {
|
2019-12-03 06:20:47 +01:00
|
|
|
value = digitalocean_droplet.workers.*.ipv6_address
|
2017-07-29 20:35:53 +02:00
|
|
|
}
|
2019-04-03 08:02:04 +02:00
|
|
|
|
2019-12-19 08:20:55 +01:00
|
|
|
# Outputs for worker pools
|
|
|
|
|
|
|
|
output "kubeconfig" {
|
2020-11-23 20:01:04 +01:00
|
|
|
value = module.bootstrap.kubeconfig-kubelet
|
|
|
|
sensitive = true
|
2019-12-19 08:20:55 +01:00
|
|
|
}
|
|
|
|
|
2019-04-03 08:02:04 +02:00
|
|
|
# Outputs for custom firewalls
|
|
|
|
|
|
|
|
output "controller_tag" {
|
|
|
|
description = "Tag applied to controller droplets"
|
2019-05-28 00:37:36 +02:00
|
|
|
value = digitalocean_tag.controllers.name
|
2019-04-03 08:02:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
output "worker_tag" {
|
|
|
|
description = "Tag applied to worker droplets"
|
2019-05-28 00:37:36 +02:00
|
|
|
value = digitalocean_tag.workers.name
|
2019-04-03 08:02:04 +02:00
|
|
|
}
|
2019-05-28 00:37:36 +02:00
|
|
|
|
2020-06-29 08:12:54 +02:00
|
|
|
# Outputs for custom load balancing
|
|
|
|
|
|
|
|
output "vpc_id" {
|
|
|
|
description = "ID of the cluster VPC"
|
|
|
|
value = digitalocean_vpc.network.id
|
|
|
|
}
|
|
|
|
|
2020-10-17 23:41:26 +02:00
|
|
|
# Outputs for debug
|
|
|
|
|
|
|
|
output "assets_dist" {
|
2020-11-23 20:01:04 +01:00
|
|
|
value = module.bootstrap.assets_dist
|
|
|
|
sensitive = true
|
2020-10-17 23:41:26 +02:00
|
|
|
}
|
|
|
|
|