diff options
| author | Your Name <you@example.com> | 2026-04-26 21:02:47 +0800 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-04-26 21:02:47 +0800 |
| commit | d3e770254de0bb301815ca87257c8b1a357d06c4 (patch) | |
| tree | 358c814be2a06b9e2009905f14938243286b8d82 /terraform/modules/agent/outputs.tf | |
Diffstat (limited to 'terraform/modules/agent/outputs.tf')
| -rw-r--r-- | terraform/modules/agent/outputs.tf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/terraform/modules/agent/outputs.tf b/terraform/modules/agent/outputs.tf new file mode 100644 index 0000000..ac9932b --- /dev/null +++ b/terraform/modules/agent/outputs.tf | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | output "service_dns" { | ||
| 2 | value = "${kubernetes_service_v1.agent.metadata[0].name}.${kubernetes_namespace_v1.agent.metadata[0].name}.svc.cluster.local" | ||
| 3 | } | ||
| 4 | |||
| 5 | output "ingress_host" { | ||
| 6 | value = var.ingress_host | ||
| 7 | } | ||
| 8 | |||
| 9 | output "namespace" { | ||
| 10 | value = kubernetes_namespace_v1.agent.metadata[0].name | ||
| 11 | } | ||
