Skip to content

Commit

Permalink
Merge pull request #1312 from ministryofjustice/opa-external-dns
Browse files Browse the repository at this point in the history
Create Policy to check external-dns annotation
  • Loading branch information
vijay-veeranki authored Aug 6, 2021
2 parents e71ab0a + b99c0e3 commit ddeb678
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,12 @@ module "monitoring" {
}

module "opa" {
source = "github.com/ministryofjustice/cloud-platform-terraform-opa?ref=0.0.12"
source = "github.com/ministryofjustice/cloud-platform-terraform-opa?ref=0.0.13"
depends_on = [module.monitoring, module.ingress_controllers, module.velero, module.cert_manager]

cluster_domain_name = data.terraform_remote_state.cluster.outputs.cluster_domain_name
enable_invalid_hostname_policy = lookup(local.prod_workspace, terraform.workspace, false) ? false : true
enable_external_dns_weight = terraform.workspace == "live" ? true : false
}

module "velero" {
Expand Down

0 comments on commit ddeb678

Please sign in to comment.