Add admin kubeconfig as a Terraform output

* May be used to write a local file
This commit is contained in:
Dalton Hubble 2018-12-15 21:48:08 -08:00
parent 479d498024
commit bcb200186d
9 changed files with 37 additions and 0 deletions

View File

@ -1,3 +1,7 @@
output "kubeconfig-admin" {
value = "${module.bootkube.user-kubeconfig}"
}
# Outputs for Kubernetes Ingress
output "ingress_dns_name" {

View File

@ -1,3 +1,7 @@
output "kubeconfig-admin" {
value = "${module.bootkube.user-kubeconfig}"
}
# Outputs for Kubernetes Ingress
output "ingress_dns_name" {

View File

@ -1,3 +1,7 @@
output "kubeconfig-admin" {
value = "${module.bootkube.user-kubeconfig}"
}
# Outputs for Kubernetes Ingress
output "ingress_static_ipv4" {

View File

@ -1,3 +1,7 @@
output "kubeconfig" {
value = "${module.bootkube.kubeconfig}"
}
output "kubeconfig-admin" {
value = "${module.bootkube.user-kubeconfig}"
}

View File

@ -1,3 +1,8 @@
output "kubeconfig" {
value = "${module.bootkube.kubeconfig}"
}
output "kubeconfig-admin" {
value = "${module.bootkube.user-kubeconfig}"
}

View File

@ -1,3 +1,7 @@
output "kubeconfig-admin" {
value = "${module.bootkube.user-kubeconfig}"
}
output "controllers_dns" {
value = "${digitalocean_record.controllers.0.fqdn}"
}

View File

@ -1,3 +1,7 @@
output "kubeconfig-admin" {
value = "${module.bootkube.user-kubeconfig}"
}
output "controllers_dns" {
value = "${digitalocean_record.controllers.0.fqdn}"
}

View File

@ -1,3 +1,7 @@
output "kubeconfig-admin" {
value = "${module.bootkube.user-kubeconfig}"
}
# Outputs for Kubernetes Ingress
output "ingress_static_ipv4" {

View File

@ -1,3 +1,7 @@
output "kubeconfig-admin" {
value = "${module.bootkube.user-kubeconfig}"
}
# Outputs for Kubernetes Ingress
output "ingress_static_ipv4" {