Skip to content

WISE-PaaS/admin-mongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

admin-mongo

This is a ready-to-deploy online MongoDB admin tool for the WISE-PaaS users who did not subscribe to the dedicated MongoDB service and could not remotely access the database.

Deploying to Your Namespace

Follow the three steps to deploy this admin tool in a few minutes.

1. Download this project

$ git clone git@github.com:WISE-PaaS/admin-mongo.git
$ cd admin-mongo/
$ code .

2. Change the host property

This is the minimun configuartion that you need to set up before deploying the app, which will affect the external URL of the application. Open k8s/ingress.yaml and edit as following according to your working space.

host: {appName}.{namespace}.{clusterName}.en.internal

3. Apply the Kubernetes configs

$ kubectl apply -f k8s/

Using the Tool

  • Go to the Service Portal and select the MongoDB service from the drop-down menu. Find the service instance that you want to connect and click the Action icon on the right hand side. Then, click Secret Management.

    service-portal


  • Find the secret that you want to use. Click the "three-dots" on the right-hand side. Then, click View.

    secret-management


  • Find the uri property from the pop-up window. Copy the whole vaule so you can use it as a connection string.

    view-credentials


  • Enter the external URL of your adminMongo deployment into the browser and open the page. If you have not added any connection, you will see the following page. If you do not see this page, click the Connection button on the top-right corner to come back to this page anytime. Give the new connection a name, paste the connection string that we just copied from thee Service Portal, and then click Add connection.

    adding-uri


  • Once the connection profile is created, you can click the Connect button under Action to open a database view. From here, you can select the collection that you want to operate and perform some CRUD operations.

    collections-view

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published