From a78c4680c41e64929989a7a31e474fc2e426e688 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 29 Mar 2023 22:36:03 +0100 Subject: [PATCH] Move notes to GitLab --- ansible/roles/traefik/files/file-provider-gitlab.yml | 2 +- terraform/theorangeone.net.tf | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ansible/roles/traefik/files/file-provider-gitlab.yml b/ansible/roles/traefik/files/file-provider-gitlab.yml index 95e3f1f..2685a89 100644 --- a/ansible/roles/traefik/files/file-provider-gitlab.yml +++ b/ansible/roles/traefik/files/file-provider-gitlab.yml @@ -7,7 +7,7 @@ http: rule: Host(`registry.git.theorangeone.net`) service: service-gitlab router-gitlab-pages: - rule: HostRegexp(`gitlab-pages.theorangeone.net`, `{subdomain:[a-z]+}.gitlab-pages.theorangeone.net`, `notes.theorangeone.net`) + rule: HostRegexp(`gitlab-pages.theorangeone.net`, `{subdomain:[a-z]+}.gitlab-pages.theorangeone.net`) service: service-gitlab-pages router-slides: rule: Host(`slides.jakehoward.tech`) diff --git a/terraform/theorangeone.net.tf b/terraform/theorangeone.net.tf index cffd65f..acc8a52 100644 --- a/terraform/theorangeone.net.tf +++ b/terraform/theorangeone.net.tf @@ -191,11 +191,19 @@ resource "cloudflare_record" "theorangeonenet_plausible_bare" { resource "cloudflare_record" "theorangeonenet_notes" { zone_id = cloudflare_zone.theorangeonenet.id name = "notes" - value = cloudflare_record.theorangeonenet_gitlab_pages.hostname + value = "RealOrangeOne.gitlab.io" type = "CNAME" ttl = 1 } +resource "cloudflare_record" "theorangeonenet_notes_verification" { + zone_id = cloudflare_zone.theorangeonenet.id + name = "_gitlab-pages-verification-code.notes" + value = "gitlab-pages-verification-code=bb2b6cf5a1f59094353c2eb11a4d3fa8" + type = "TXT" + ttl = 1 +} + resource "cloudflare_record" "theorangeonenet_privatebin" { zone_id = cloudflare_zone.theorangeonenet.id name = "bin"