Skip to content

Commit e09519c

Browse files
author
Irving Popovetsky
authored
Cut-over DNS records to the new EKS cluster (#145)
Signed-off-by: Irving Popovetsky <irving@popovetsky.com>
1 parent 96bab28 commit e09519c

2 files changed

Lines changed: 4 additions & 82 deletions

File tree

dns/operationcode.org/records.tf

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,14 @@ resource "dnsimple_record" "api" {
2525
domain = "${var.hosted-zone}"
2626
name = "api"
2727
type = "CNAME"
28-
value = "${var.k8s-cluster-ingress}"
28+
value = "backend.k8s.operationcode.org"
2929
}
3030

3131
resource "dnsimple_record" "staging_api" {
3232
domain = "${var.hosted-zone}"
3333
name = "api.staging"
3434
type = "CNAME"
35-
value = "${var.k8s-cluster-ingress}"
36-
}
37-
38-
resource "dnsimple_record" "dashboards" {
39-
domain = "${var.hosted-zone}"
40-
name = "dashboards"
41-
type = "CNAME"
42-
value = "${var.k8s-cluster-ingress}"
35+
value = "backend-staging.k8s.operationcode.org"
4336
}
4437

4538
resource "dnsimple_record" "pybot" {
@@ -67,19 +60,12 @@ resource "dnsimple_record" "resources_api" {
6760
domain = "${var.hosted-zone}"
6861
name = "resources"
6962
type = "CNAME"
70-
value = "${var.k8s-cluster-ingress}"
63+
value = "resources.k8s.operationcode.org"
7164
}
7265

7366
resource "dnsimple_record" "resources_staging_api" {
7467
domain = "${var.hosted-zone}"
7568
name = "resources.staging"
7669
type = "CNAME"
77-
value = "${var.k8s-cluster-ingress}"
78-
}
79-
80-
resource "dnsimple_record" "python_backend_dev" {
81-
domain = "${var.hosted-zone}"
82-
name = "api.dev"
83-
type = "CNAME"
84-
value = "${var.k8s-cluster-ingress}"
70+
value = "resources-staging.k8s.operationcode.org"
8571
}

kubernetes/eksctl/aws-alb-ingress-controller/external-dns.yaml

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)