Skip to content
Snippets Groups Projects
Commit 03ed0928 authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

disabling failing mongo pass

parent afe26b90
Branches
Tags
No related merge requests found
...@@ -289,22 +289,24 @@ spec: ...@@ -289,22 +289,24 @@ spec:
imagePullPolicy: $pullPolicy imagePullPolicy: $pullPolicy
ports: ports:
- containerPort: 27017 - containerPort: 27017
env: # env:
- name: MONGO_INITDB_ROOT_PASSWORD # - name: MONGO_INITDB_ROOT_PASSWORD
valueFrom: # valueFrom:
secretKeyRef: # secretKeyRef:
name: notebooks-mongo # name: notebooks-mongo
key: password # key: password
- name: MONGO_INITDB_ROOT_USERNAME # - name: MONGO_INITDB_ROOT_USERNAME
valueFrom: # valueFrom:
secretKeyRef: # secretKeyRef:
name: notebooks-mongo # name: notebooks-mongo
key: user # key: user
EOF EOF
fi fi
echo "# notebooks info secret" echo "# notebooks info secret"
echo " kubectl create secret generic notebooks-mongo --from-literal=database=notebookinfo --from-literal=user=notebookinfo --from-file=password=notebook-db-mongo-pwd.txt" --from-literal=root-connect="mongodb://notebookinfo:$NOTEBOOK_MONGO_PASS@notebooks-mongo/notebookinfo" echo " kubectl create secret generic notebooks-mongo --from-literal=database=notebookinfo --from-literal=user=notebookinfo --from-file=password=notebook-db-mongo-pwd.txt" --from-literal=root-connect="mongodb://notebookinfo:$NOTEBOOK_MONGO_PASS@notebooks-mongo/notebookinfo"
echo "# nopass version"
echo " kubectl create secret generic notebooks-mongo --from-literal=database=notebookinfo --from-literal=user=notebookinfo --from-file=password=notebook-db-mongo-pwd.txt" --from-literal=root-connect="mongodb://notebooks-mongo/notebookinfo"
echo "# notebooks info service" echo "# notebooks info service"
echo " kubectl create -f notebooks-mongo-service.yaml" echo " kubectl create -f notebooks-mongo-service.yaml"
echo "# notebooks info deployment" echo "# notebooks info deployment"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment