Skip to content

Commit

Permalink
fix: mongo dns (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdongo-aneo authored Oct 29, 2024
2 parents 9f4ad7b + 19116a2 commit 565b849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/onpremise/mongodb/locals.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
locals {
mongodb_dns = "${var.name}-headless.${var.namespace}.svc"
mongodb_dns = "${var.name}-headless.${var.namespace}.svc.cluster.local"
mongodb_url = "mongodb+srv://${local.mongodb_dns}/${jsondecode(helm_release.mongodb.metadata[0].values).auth.databases[0]}"
}

0 comments on commit 565b849

Please sign in to comment.