2018-12-15 21:48:08 -08:00
|
|
|
output "kubeconfig-admin" {
|
2020-11-23 11:01:04 -08:00
|
|
|
value = module.bootstrap.kubeconfig-admin
|
|
|
|
sensitive = true
|
2018-12-15 21:48:08 -08:00
|
|
|
}
|
|
|
|
|
2018-05-06 23:21:53 -07:00
|
|
|
# Outputs for Kubernetes Ingress
|
|
|
|
|
|
|
|
output "ingress_static_ipv4" {
|
|
|
|
description = "Global IPv4 address for proxy load balancing to the nearest Ingress controller"
|
2019-05-27 21:14:25 -07:00
|
|
|
value = google_compute_global_address.ingress-ipv4.address
|
2017-06-26 21:55:39 -07:00
|
|
|
}
|
2017-11-08 00:19:49 -08:00
|
|
|
|
2018-10-28 14:17:12 -07:00
|
|
|
output "ingress_static_ipv6" {
|
|
|
|
description = "Global IPv6 address for proxy load balancing to the nearest Ingress controller"
|
2019-05-27 21:14:25 -07:00
|
|
|
value = google_compute_global_address.ingress-ipv6.address
|
2018-10-28 14:17:12 -07:00
|
|
|
}
|
|
|
|
|
2018-04-11 23:19:35 -07:00
|
|
|
# Outputs for worker pools
|
|
|
|
|
|
|
|
output "network_name" {
|
2019-05-27 21:14:25 -07:00
|
|
|
value = google_compute_network.network.name
|
2018-04-11 23:19:35 -07:00
|
|
|
}
|
|
|
|
|
2018-02-26 14:06:18 -08:00
|
|
|
output "kubeconfig" {
|
2020-11-23 11:01:04 -08:00
|
|
|
value = module.bootstrap.kubeconfig-kubelet
|
|
|
|
sensitive = true
|
2018-02-26 14:06:18 -08:00
|
|
|
}
|
2018-05-06 23:21:53 -07:00
|
|
|
|
|
|
|
# Outputs for custom firewalling
|
|
|
|
|
|
|
|
output "network_self_link" {
|
2019-05-27 21:14:25 -07:00
|
|
|
value = google_compute_network.network.self_link
|
2018-05-06 23:21:53 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
# Outputs for custom load balancing
|
|
|
|
|
|
|
|
output "worker_instance_group" {
|
2019-03-30 15:12:55 -07:00
|
|
|
description = "Worker managed instance group full URL"
|
2019-05-27 21:14:25 -07:00
|
|
|
value = module.workers.instance_group
|
2018-05-06 23:21:53 -07:00
|
|
|
}
|
2019-03-30 15:12:55 -07:00
|
|
|
|
|
|
|
output "worker_target_pool" {
|
|
|
|
description = "Worker target pool self link"
|
2019-05-27 21:14:25 -07:00
|
|
|
value = module.workers.target_pool
|
2019-03-30 15:12:55 -07:00
|
|
|
}
|
2019-05-27 21:14:25 -07:00
|
|
|
|
2020-10-17 14:41:26 -07:00
|
|
|
# Outputs for debug
|
|
|
|
|
|
|
|
output "assets_dist" {
|
2020-11-23 11:01:04 -08:00
|
|
|
value = module.bootstrap.assets_dist
|
|
|
|
sensitive = true
|
2020-10-17 14:41:26 -07:00
|
|
|
}
|
|
|
|
|