Skip to content

Commit

Permalink
feat: add host mapping for new DNSimple hostname as well
Browse files Browse the repository at this point in the history
  • Loading branch information
sarumont committed Jun 24, 2024
1 parent a693af7 commit 661a8a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tf/radarr/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ resource "kubernetes_namespace" "ns" {
# Add a record to a sub-domain
resource "dnsimple_zone_record" "radarr_cname" {
zone_name = "${var.dnsimple_domain}"
name = "radarr"
name = "${var.dnsimple_record_name}"
value = "${var.dnsimple_record_target}"
type = "${var.dnsimple_record_type}"
ttl = "${var.dnsimple_record_ttl}"
Expand Down Expand Up @@ -68,6 +68,9 @@ ingress:
- host: radarr.${var.cluster_domain}
paths:
- path: "/"
- host: ${var.dnsimple_record_name}.${var.dnsimple_domain}
paths:
- path: "/"
integrations:
traefik:
enabled: false
Expand Down

0 comments on commit 661a8a2

Please sign in to comment.