From da59814697f35a5c2b144ae0b74dd148484c5246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Le=20Meur?= <91831478+lemeurherve@users.noreply.github.com> Date: Thu, 9 Mar 2023 11:09:29 +0100 Subject: [PATCH] feat: add CNAME record for `github-comment-ops` webhook (#46) * feat: add CNAME record for github-comment-ops webhook * fix record * complete name and better comment --- dns.tf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dns.tf b/dns.tf index a0b44f6..7cecc4c 100644 --- a/dns.tf +++ b/dns.tf @@ -72,3 +72,12 @@ resource "azurerm_dns_cname_record" "target" { ttl = 300 record = "public.publick8s.jenkins.io" } + +# CNAME record for github-comment-ops GitHub App +resource "azurerm_dns_cname_record" "webhook-github-comment-ops" { + name = "webhook-github-comment-ops" + zone_name = data.azurerm_dns_zone.jenkinsio.name + resource_group_name = data.azurerm_resource_group.proddns_jenkinsio.name + ttl = 300 + record = "public.privatek8s.jenkins.io" +}