Move notes to GitLab
All checks were successful
ansible
terraform

This commit is contained in:
Jake Howard 2023-03-29 22:36:03 +01:00
parent 72267db739
commit a78c4680c4
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 10 additions and 2 deletions

View file

@ -7,7 +7,7 @@ http:
rule: Host(`registry.git.theorangeone.net`) rule: Host(`registry.git.theorangeone.net`)
service: service-gitlab service: service-gitlab
router-gitlab-pages: 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 service: service-gitlab-pages
router-slides: router-slides:
rule: Host(`slides.jakehoward.tech`) rule: Host(`slides.jakehoward.tech`)

View file

@ -191,11 +191,19 @@ resource "cloudflare_record" "theorangeonenet_plausible_bare" {
resource "cloudflare_record" "theorangeonenet_notes" { resource "cloudflare_record" "theorangeonenet_notes" {
zone_id = cloudflare_zone.theorangeonenet.id zone_id = cloudflare_zone.theorangeonenet.id
name = "notes" name = "notes"
value = cloudflare_record.theorangeonenet_gitlab_pages.hostname value = "RealOrangeOne.gitlab.io"
type = "CNAME" type = "CNAME"
ttl = 1 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" { resource "cloudflare_record" "theorangeonenet_privatebin" {
zone_id = cloudflare_zone.theorangeonenet.id zone_id = cloudflare_zone.theorangeonenet.id
name = "bin" name = "bin"