Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ def mdbs(namespace: str, mdbc: MongoDBCommunity) -> MongoDBSearch:
"source": {
"external": {
"hostAndPorts": seeds,
"keyfileSecretRef": {"name": f"{mdbc.name}-keyfile", "key": "keyfile"},
},
"passwordSecretRef": {"name": f"{MDBC_RESOURCE_NAME}-{MONGOT_USER_NAME}-password", "key": "password"},
"username": MONGOT_USER_NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ def test_create_search_resource(mdbs: MongoDBSearch, mdbc: MongoDBCommunity):
mdbs["spec"]["source"] = {
"external": {
"hostAndPorts": seeds,
"keyfileSecretRef": {"name": f"{mdbc.name}-keyfile"},
"tls": {
"ca": {"name": f"{mdbc.name}-ca"},
},
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ spec:
- ${MDB_EXTERNAL_HOST_0}
- ${MDB_EXTERNAL_HOST_1}
- ${MDB_EXTERNAL_HOST_2}
keyfileSecretRef:
name: ${MDB_EXTERNAL_KEYFILE_SECRET_NAME}
key: keyfile
username: search-sync-source
passwordSecretRef:
name: ${MDB_RESOURCE_NAME}-search-sync-source-password
Expand Down
7 changes: 0 additions & 7 deletions docs/search/04-search-external-mongod/env_variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ export MDB_EXTERNAL_HOST_0="mdbc-rs-0.mdbc-rs-svc.${MDB_NS}.svc.cluster.local:27
export MDB_EXTERNAL_HOST_1="mdbc-rs-1.mdbc-rs-svc.${MDB_NS}.svc.cluster.local:27017"
export MDB_EXTERNAL_HOST_2="mdbc-rs-2.mdbc-rs-svc.${MDB_NS}.svc.cluster.local:27017"

# REPLACE with your external MongoDB keyfile secret name
export MDB_EXTERNAL_KEYFILE_SECRET_NAME="mdbc-rs-keyfile"

# REPLACE with the actual keyfile content from your external MongoDB replica set
# For testing, this will be automatically generated by the MongoDB Community resource
export MDB_EXTERNAL_KEYFILE_CONTENT="your-mongodb-keyfile-content-CHANGE-ME"

# REPLACE with your actual external MongoDB replica set name
export MDB_EXTERNAL_REPLICA_SET_NAME="mdbc-rs"

Expand Down