{"action":"created","issue":{"url":"https://api.github.com/repos/helm/charts/issues/5219","repository_url":"https://api.github.com/repos/helm/charts","labels_url":"https://api.github.com/repos/helm/charts/issues/5219/labels{/name}","comments_url":"https://api.github.com/repos/helm/charts/issues/5219/comments","events_url":"https://api.github.com/repos/helm/charts/issues/5219/events","html_url":"https://github.com/helm/charts/issues/5219","id":317168781,"node_id":"MDU6SXNzdWUzMTcxNjg3ODE=","number":5219,"title":"[stable/mongodb] Root password not respected","user":{"login":"luisdavim","id":173006,"node_id":"MDQ6VXNlcjE3MzAwNg==","avatar_url":"https://avatars3.githubusercontent.com/u/173006?v=4","gravatar_id":"","url":"https://api.github.com/users/luisdavim","html_url":"https://github.com/luisdavim","followers_url":"https://api.github.com/users/luisdavim/followers","following_url":"https://api.github.com/users/luisdavim/following{/other_user}","gists_url":"https://api.github.com/users/luisdavim/gists{/gist_id}","starred_url":"https://api.github.com/users/luisdavim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luisdavim/subscriptions","organizations_url":"https://api.github.com/users/luisdavim/orgs","repos_url":"https://api.github.com/users/luisdavim/repos","events_url":"https://api.github.com/users/luisdavim/events{/privacy}","received_events_url":"https://api.github.com/users/luisdavim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-24T10:40:22Z","updated_at":"2018-08-18T09:49:24Z","closed_at":null,"author_association":"NONE","body":"**Is this a request for help?**:\r\n\r\nYes\r\n\r\n**Is this a BUG REPORT or FEATURE REQUEST?** (choose one):  BUG REPORT\r\n\r\n\r\n\r\n**Version of Helm and Kubernetes**:\r\n```\r\n$ helm version\r\nClient: &version.Version{SemVer:\"v2.8.2\", GitCommit:\"a80231648a1473929271764b920a8e346f6de844\", GitTreeState:\"clean\"}\r\nServer: &version.Version{SemVer:\"v2.8.2\", GitCommit:\"a80231648a1473929271764b920a8e346f6de844\", GitTreeState:\"clean\"}\r\n```\r\n```\r\n$ kubectl version\r\nClient Version: version.Info{Major:\"1\", Minor:\"10\", GitVersion:\"v1.10.1\", GitCommit:\"d4ab47518836c750f9949b9e0d387f20fb92260b\", GitTreeState:\"clean\", BuildDate:\"2018-04-13T22:27:55Z\", GoVersion:\"go1.9.5\", Compiler:\"gc\", Platform:\"darwin/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"10\", GitVersion:\"v1.10.0\", GitCommit:\"fc32d2f3698e36b93322a3465f63a14e9f0eaead\", GitTreeState:\"clean\", BuildDate:\"2018-03-26T16:44:10Z\", GoVersion:\"go1.9.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n```\r\n\r\n**Which chart**:\r\n`stable/mongodb`\r\n\r\n**What happened**:\r\nafter installing mongodb using the helm chart I followed the instructions to connect to mongo:\r\n```\r\n   export MONGODB_ROOT_PASSWORD=$(kubectl get secret --namespace default mortal-dingo-mongodb -o jsonpath=\"{.data.mongodb-root-password}\" | base64 --decode)\r\n    export POD_NAME=$(kubectl get pods --namespace default -l \"app=mongodb\" -o jsonpath=\"{.items[0].metadata.name}\")\r\n    kubectl port-forward --namespace default $POD_NAME 27017:27017 &\r\n    mongo --host 127.0.0.1 -p $MONGODB_ROOT_PASSWORD\r\n```\r\n\r\nAnd I can login with or without passing the password and even if I pass the wrong password.\r\n\r\n**What you expected to happen**:\r\nI expected not to be able to login without a password or with a wrong password.\r\n\r\n**How to reproduce it** (as minimally and precisely as possible):\r\n```\r\n   export MONGODB_ROOT_PASSWORD=$(kubectl get secret --namespace default mortal-dingo-mongodb -o jsonpath=\"{.data.mongodb-root-password}\" | base64 --decode)\r\n    export POD_NAME=$(kubectl get pods --namespace default -l \"app=mongodb\" -o jsonpath=\"{.items[0].metadata.name}\")\r\n    kubectl port-forward --namespace default $POD_NAME 27017:27017 &\r\n    mongo --host 127.0.0.1\r\n```\r\n\r\n**Anything else we need to know**:\r\n"},"comment":{"url":"https://api.github.com/repos/helm/charts/issues/comments/414046042","html_url":"https://github.com/helm/charts/issues/5219#issuecomment-414046042","issue_url":"https://api.github.com/repos/helm/charts/issues/5219","id":414046042,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDA0NjA0Mg==","user":{"login":"gboston","id":1913908,"node_id":"MDQ6VXNlcjE5MTM5MDg=","avatar_url":"https://avatars3.githubusercontent.com/u/1913908?v=4","gravatar_id":"","url":"https://api.github.com/users/gboston","html_url":"https://github.com/gboston","followers_url":"https://api.github.com/users/gboston/followers","following_url":"https://api.github.com/users/gboston/following{/other_user}","gists_url":"https://api.github.com/users/gboston/gists{/gist_id}","starred_url":"https://api.github.com/users/gboston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gboston/subscriptions","organizations_url":"https://api.github.com/users/gboston/orgs","repos_url":"https://api.github.com/users/gboston/repos","events_url":"https://api.github.com/users/gboston/events{/privacy}","received_events_url":"https://api.github.com/users/gboston/received_events","type":"User","site_admin":false},"created_at":"2018-08-18T09:49:24Z","updated_at":"2018-08-18T09:49:24Z","author_association":"NONE","body":"Hi, if you look at the default config that is used in opt/bitnami/mongodb/conf/mongodb.conf\r\nYou will notice that it allows bypassing the authentication.\r\n\r\n# set parameter options\r\nsetParameter:\r\n   enableLocalhostAuthBypass: true"}}
{"actor":{"display_login":"gboston"}}