mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Remove bind_ip_all incompatible flag (#5162)
* Remove bind_ip_all incompatible flag * Bump chart patch version * Replace --bind_ip_all with --bind_ip=0.0.0.0 to provide compatibility with previous versions * Replace --bind_ip_all with --bind_ip=0.0.0.0 on statefulset
This commit is contained in:
committed by
k8s-ci-robot
parent
4bb8d278ee
commit
c8ca2cea25
@@ -1,6 +1,6 @@
|
||||
name: mongodb-replicaset
|
||||
home: https://github.com/mongodb/mongo
|
||||
version: 3.3.0
|
||||
version: 3.3.1
|
||||
appVersion: 3.6
|
||||
description: NoSQL document-oriented database that stores JSON-like documents with
|
||||
dynamic schemas, simplifying the integration of data in content-driven applications.
|
||||
|
||||
@@ -94,7 +94,7 @@ fi
|
||||
log "Peers: ${peers[*]}"
|
||||
|
||||
log "Starting a MongoDB instance..."
|
||||
mongod --config /data/configdb/mongod.conf --dbpath=/data/db --replSet="$replica_set" --port=27017 "${auth_args[@]}" --bind_ip_all >> /work-dir/log.txt 2>&1 &
|
||||
mongod --config /data/configdb/mongod.conf --dbpath=/data/db --replSet="$replica_set" --port=27017 "${auth_args[@]}" --bind_ip=0.0.0.0 >> /work-dir/log.txt 2>&1 &
|
||||
|
||||
log "Waiting for MongoDB to be ready..."
|
||||
until mongo "${ssl_args[@]}" --eval "db.adminCommand('ping')"; do
|
||||
|
||||
@@ -130,7 +130,7 @@ spec:
|
||||
- --dbpath=/data/db
|
||||
- --replSet={{ .Values.replicaSetName }}
|
||||
- --port=27017
|
||||
- --bind_ip_all
|
||||
- --bind_ip=0.0.0.0
|
||||
{{- if .Values.auth.enabled }}
|
||||
- --auth
|
||||
- --keyFile=/data/configdb/key.txt
|
||||
|
||||
Reference in New Issue
Block a user