infrastructure/k8s.tjo.cloud/modules/cluster/outputs.tf
Tine b0b3a3b116
Some checks failed
/ lint (push) Has been cancelled
feat(kubernetes): use new networking concepts
2024-12-02 20:13:50 +01:00

19 lines
453 B
HCL

output "name" {
value = var.cluster.name
}
output "api" {
value = merge(var.cluster.api, {
internal : merge(var.cluster.api.internal, {
endpoint : local.cluster_internal_endpoint,
}),
public : merge(var.cluster.api.public, {
endpoint : local.cluster_public_endpoint,
}),
ca : talos_cluster_kubeconfig.this.kubernetes_client_configuration.ca_certificate,
})
}
output "nodes" {
value = local.nodes_with_address
}