Skip to content

Commit aecec3e

Browse files
committed
missing env vars in public flavor
1 parent 8ec28fb commit aecec3e

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
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
@@ -5,7 +5,7 @@ metadata:
55
name: ${MDB_RESOURCE_NAME}
66
spec:
77
members: 3
8-
version: ${MDB_VERSION}-ent
8+
version: ${MDB_VERSION}
99
type: ReplicaSet
1010
opsManager:
1111
configMapRef:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
export K8S_CTX="${CLUSTER_NAME}"
2+
3+
export OPS_MANAGER_PROJECT_NAME="${NAMESPACE}-${MDB_RESOURCE_NAME}"
4+
export OPS_MANAGER_API_URL="${OM_BASE_URL}"
5+
export OPS_MANAGER_API_USER="${OM_USER}"
6+
export OPS_MANAGER_API_KEY="${OM_API_KEY}"
7+
export OPS_MANAGER_ORG_ID="${OM_ORGID}"

docs/search/03-search-query-usage/code_snippets/03_0410_run_mongodb_tools_pod.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
spec:
99
containers:
1010
- name: mongodb-tools
11-
image: mongodb/mongodb-community-server:${MDB_VERSION}-ubi8
11+
image: mongodb/mongodb-community-server:${MDB_VERSION%-ent}-ubi8
1212
command: ["/bin/bash", "-c"]
1313
args: ["sleep infinity"]
1414
restartPolicy: Never

scripts/dev/install.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ set -Eeou pipefail
44
source scripts/funcs/printing
55
source scripts/dev/set_env_context.sh
66

7-
tools="kubectl helm coreutils kind jq shellcheck python@${PYTHON_VERSION} chart-testing"
7+
# our version is pinned, so it removes the last patch version from it for bew
8+
# shellcheck disable=SC2153
9+
python_version="${PYTHON_VERSION%.*}"
10+
11+
tools="kubectl helm coreutils kind jq shellcheck python@${python_version} chart-testing"
812
echo "The following tools will be installed using homebrew: ${tools}"
913
echo "Note, that you must download 'go' and Docker by yourself"
1014

0 commit comments

Comments
 (0)