Skip to content

Commit 8f12df1

Browse files
committed
adding helper script
1 parent 4f0c7ce commit 8f12df1

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.gitignore

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
private/
2-
.crt
3-
.key
4-
.tgz
5-
.crt
6-
.key
2+
*.crt
3+
*.key
4+
*.tgz

helpers/MongoDB-deploy.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/bin/bash
22
set -euxo pipefail
33

4-
# Helper script to automate OpsManager Key creating
4+
# Helper script to automate OpsManager Key creating and setting correct ConfigMap and secret to deploy MongoDB
5+
# Set following MongoDB Env variables:
56

67
# MongoDB name and namespace
78
MONGODB_NAMESPACE=mongodb
@@ -16,7 +17,7 @@ OPS_MANAGER_ORG_NAME=DemoOrg
1617

1718
## Few hints to automate OpsManager after installation and deploy first cluster
1819

19-
# Before moving on make sure OpsManager CRD is runnign
20+
# Before moving on make sure OpsManager CR is running
2021
until [ $(kubectl get om -n $OPS_MANAGER_NAMESPACE -o=jsonpath='{.items[0].status.opsManager.phase}') = Running ];
2122
do
2223
sleep 10s

0 commit comments

Comments
 (0)