Skip to content

Commit 102501c

Browse files
authored
Fix: Add MDB_MEMBERS again (#593)
# Summary An env var from enterprise search snippets was accidentally removed. Added it again. ## Proof of Work Tests pass [Test Run](https://spruce.mongodb.com/version/6915ea856e45ed0007709db4/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC&variant=%5Eprivate_kind_code_snippets%24) ## Checklist - [ ] Have you linked a jira ticket and/or is the ticket in the title? - [ ] Have you checked whether your jira ticket required DOCSP changes? - [ ] Have you added changelog file? - use `skip-changelog` label if not needed - refer to [Changelog files and Release Notes](https://github.com/mongodb/mongodb-kubernetes/blob/master/CONTRIBUTING.md#changelog-files-and-release-notes) section in CONTRIBUTING.md for more details
1 parent aa7ed9c commit 102501c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/search/02-search-enterprise-deploy/code_snippets/02_0305_create_mongodb_database_resource.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kind: MongoDB
44
metadata:
55
name: ${MDB_RESOURCE_NAME}
66
spec:
7-
members: 3
7+
members: ${MDB_MEMBERS}
88
version: ${MDB_VERSION}
99
type: ReplicaSet
1010
opsManager:

docs/search/02-search-enterprise-deploy/env_variables.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export MDB_NS="mongodb"
77
# name of the MongoDB Custom Resource.
88
export MDB_RESOURCE_NAME="mdb-rs"
99

10+
export MDB_MEMBERS=3
1011
# OM/CM's project name to be used to manage mongodb replica set
1112
export OPS_MANAGER_PROJECT_NAME="<arbitrary project name>"
1213

0 commit comments

Comments
 (0)