about summary refs log tree commit diff
path: root/ops/glesys/main.tf
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-07-19T13·57+0300
committerclbot <clbot@tvl.fyi>2022-07-22T11·17+0000
commit7d3d3b3c8f22236f2947714c6da311d0a5f88009 (patch)
treeb2801f730a2c2d639bf0c75ae83924a86b07320d /ops/glesys/main.tf
parent1edba49adbf42e2c2baeb6a0741713a12d93196c (diff)
refactor(ops/glesys): add explicit records pointing to whitby r/4316
instead of setting a wildcard record (which causes really weird
behaviour if you set your search domain to tvl.su/tvl.fyi, which I
do), DNS records for services running on whitby are now set
explicitly.

Change-Id: Ia05399b62dad326942fe0efda30782ce153df99d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5961
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'ops/glesys/main.tf')
-rw-r--r--ops/glesys/main.tf19
1 files changed, 19 insertions, 0 deletions
diff --git a/ops/glesys/main.tf b/ops/glesys/main.tf
index 9452971054aa..cd5ea9f4fd34 100644
--- a/ops/glesys/main.tf
+++ b/ops/glesys/main.tf
@@ -66,3 +66,22 @@ variable "sanduny_ipv6" {
   type    = string
   default = "2001:ba8:1f1:f109::feed:edef:beef"
 }
+
+locals {
+  # Hostnames of all public services on whitby
+  whitby_services = [
+    "at",
+    "atward",
+    "auth",
+    "b",
+    "cache",
+    "cl",
+    "code",
+    "cs",
+    "deploys",
+    "images",
+    "static",
+    "status",
+    "todo",
+  ]
+}