Add admin kubeconfig as a Terraform output
* May be used to write a local file
This commit is contained in:
parent
479d498024
commit
bcb200186d
|
@ -1,3 +1,7 @@
|
||||||
|
output "kubeconfig-admin" {
|
||||||
|
value = "${module.bootkube.user-kubeconfig}"
|
||||||
|
}
|
||||||
|
|
||||||
# Outputs for Kubernetes Ingress
|
# Outputs for Kubernetes Ingress
|
||||||
|
|
||||||
output "ingress_dns_name" {
|
output "ingress_dns_name" {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
output "kubeconfig-admin" {
|
||||||
|
value = "${module.bootkube.user-kubeconfig}"
|
||||||
|
}
|
||||||
|
|
||||||
# Outputs for Kubernetes Ingress
|
# Outputs for Kubernetes Ingress
|
||||||
|
|
||||||
output "ingress_dns_name" {
|
output "ingress_dns_name" {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
output "kubeconfig-admin" {
|
||||||
|
value = "${module.bootkube.user-kubeconfig}"
|
||||||
|
}
|
||||||
|
|
||||||
# Outputs for Kubernetes Ingress
|
# Outputs for Kubernetes Ingress
|
||||||
|
|
||||||
output "ingress_static_ipv4" {
|
output "ingress_static_ipv4" {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
output "kubeconfig" {
|
output "kubeconfig" {
|
||||||
value = "${module.bootkube.kubeconfig}"
|
value = "${module.bootkube.kubeconfig}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
output "kubeconfig-admin" {
|
||||||
|
value = "${module.bootkube.user-kubeconfig}"
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
output "kubeconfig" {
|
output "kubeconfig" {
|
||||||
value = "${module.bootkube.kubeconfig}"
|
value = "${module.bootkube.kubeconfig}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
output "kubeconfig-admin" {
|
||||||
|
value = "${module.bootkube.user-kubeconfig}"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
output "kubeconfig-admin" {
|
||||||
|
value = "${module.bootkube.user-kubeconfig}"
|
||||||
|
}
|
||||||
|
|
||||||
output "controllers_dns" {
|
output "controllers_dns" {
|
||||||
value = "${digitalocean_record.controllers.0.fqdn}"
|
value = "${digitalocean_record.controllers.0.fqdn}"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
output "kubeconfig-admin" {
|
||||||
|
value = "${module.bootkube.user-kubeconfig}"
|
||||||
|
}
|
||||||
|
|
||||||
output "controllers_dns" {
|
output "controllers_dns" {
|
||||||
value = "${digitalocean_record.controllers.0.fqdn}"
|
value = "${digitalocean_record.controllers.0.fqdn}"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
output "kubeconfig-admin" {
|
||||||
|
value = "${module.bootkube.user-kubeconfig}"
|
||||||
|
}
|
||||||
|
|
||||||
# Outputs for Kubernetes Ingress
|
# Outputs for Kubernetes Ingress
|
||||||
|
|
||||||
output "ingress_static_ipv4" {
|
output "ingress_static_ipv4" {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
output "kubeconfig-admin" {
|
||||||
|
value = "${module.bootkube.user-kubeconfig}"
|
||||||
|
}
|
||||||
|
|
||||||
# Outputs for Kubernetes Ingress
|
# Outputs for Kubernetes Ingress
|
||||||
|
|
||||||
output "ingress_static_ipv4" {
|
output "ingress_static_ipv4" {
|
||||||
|
|
Loading…
Reference in New Issue