googleinterns / knative-source-mongodb

Apache License 2.0
3 stars 2 forks source link

Interact with Mongodb programatically #19

Closed selim5 closed 4 years ago

selim5 commented 4 years ago

Problem Need to figure out how to interact with the mongodb instance through the CLI so that we can standardise testing and the tutorials since so far I am doing it through the Ops Manager UI.

Persona: Which persona is this feature for? User Dev

Additional context (optional) Figure out where the mongo commands need to be ran ex. in the Cluster on a new pod, locally, etc...

How to connect to the db on cluster https://docs.mongodb.com/kubernetes-operator/master/tutorial/connect-from-inside-k8s/

nachocano commented 4 years ago

Thanks for creating this @selim5 !!! Otherwise we will forget!

selim5 commented 4 years ago

Found a way to add stuff and interact with db in go https://pkg.go.dev/go.mongodb.org/mongo-driver/mongo?tab=doc

selim5 commented 4 years ago