mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-26 04:09:34 +01:00
60c70797ec
* Use a single admin kubeconfig for initial bootkube bootstrap and for use by a human admin. Previously, an admin kubeconfig without a named context was used for bootstrap and direct usage with KUBECONFIG=path, while one with a named context was used for `kubectl config use-context` style usage. Confusing. * Provide the admin kubeconfig via `assets/auth/kubeconfig`, `assets/auth/CLUSTER-config`, or output `kubeconfig-admin`
29 lines
666 B
HCL
29 lines
666 B
HCL
output "kubeconfig-admin" {
|
|
value = "${module.bootkube.kubeconfig-admin}"
|
|
}
|
|
|
|
output "controllers_dns" {
|
|
value = "${digitalocean_record.controllers.0.fqdn}"
|
|
}
|
|
|
|
output "workers_dns" {
|
|
# Multiple A and AAAA records with the same FQDN
|
|
value = "${digitalocean_record.workers-record-a.0.fqdn}"
|
|
}
|
|
|
|
output "controllers_ipv4" {
|
|
value = ["${digitalocean_droplet.controllers.*.ipv4_address}"]
|
|
}
|
|
|
|
output "controllers_ipv6" {
|
|
value = ["${digitalocean_droplet.controllers.*.ipv6_address}"]
|
|
}
|
|
|
|
output "workers_ipv4" {
|
|
value = ["${digitalocean_droplet.workers.*.ipv4_address}"]
|
|
}
|
|
|
|
output "workers_ipv6" {
|
|
value = ["${digitalocean_droplet.workers.*.ipv6_address}"]
|
|
}
|