I am trying to deploy mongodb with a service of type NodePort using helm by executing either
helm install --name rocky stable/mongodb -f mongodb_values.yaml
or
helm install --set service.type=NodePort,service.nodePort=30099 --name rocky stable/mongodb
However both commands seem to ignore my changes to the default values and I end up with a service of type ClusterIP. Any ideas?