Skip to content

Commit

Permalink
refactor(mongodb_replicas): Change the value of 'mongodb_replicas' fo…
Browse files Browse the repository at this point in the history
…r the split deployment (#1180)
  • Loading branch information
lzianekhodja-aneo authored Jul 18, 2023
2 parents 45c857c + d91a360 commit c88b0bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion infrastructure/quick-deploy/aws/storage/parameters.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ mongodb = {
node_selector = { service = "state-database" }
image_pull_secrets = ""
persistent_volume = null
replicas_number = 2
replicas_number = 1
# example: {storage_provisioner="efs.csi.aws.com",parameters=null,resources={limits=null,requests={storage="5Gi"}}}
}

Expand Down
2 changes: 1 addition & 1 deletion infrastructure/quick-deploy/localhost/storage/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ locals {
mongodb_tag = try(var.mongodb.tag, "4.4.11")
mongodb_node_selector = try(var.mongodb.node_selector, {})
mongodb_image_pull_secrets = try(var.mongodb.image_pull_secrets, {})
mongodb_replicas_number = try(var.mongodb.replicas_number, 2)
mongodb_replicas_number = try(var.mongodb.replicas_number, 1)

# Redis
redis_image = try(var.redis.image, "redis")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ mongodb = {
tag = "6.0.7"
node_selector = {}
image_pull_secrets = ""
replicas_number = 2
replicas_number = 1
}

# Object storage
Expand Down

0 comments on commit c88b0bb

Please sign in to comment.