hello, I am using 
https://github.com/kubernetes/charts/blob/master/stable/mongodb-replicaset 
to deploy a 3 node mongo instance all works fine within the k8s cluster, 
but i would like to allow my lambda function access to mongo as well.

what is the correct way to securely achieve this and how would you modify 
https://github.com/kubernetes/charts/blob/master/stable/mongodb-replicaset/templates/mongodb-service.yaml#L17
 
so that it is using type: NodePort or type: LoadBalancer as discussed in 
this thread 
https://stackoverflow.com/questions/43876653/accessing-mongo-replicas-in-kubernetes-cluster-from-aws-lambdas
 
?

any advice is much appreciated

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to