apiVersion: v1
data:
  mongo.conf: |
    # mongod.conf

    # for documentation of all options, see:
    #   http://docs.mongodb.org/manual/reference/configuration-options/

    # Where and how to store data.
    storage:
      dbPath: /data/db
      journal:
        enabled: true
        commitIntervalMs: 300
    #  engine:
    #  mmapv1:
      wiredTiger:
        engineConfig:
          cacheSizeGB: 1


    # where to write logging data.
    #systemLog:
    #  destination: file
    #  logAppend: true
    #  path: /var/log/mongodb/mongod.log

    # network interfaces
    net:
      http:
        enabled: false
        JSONPEnabled: false
        RESTInterfaceEnabled: false
    #  port: 27017
    #  bindIp: 127.0.0.1  
kind: ConfigMap
metadata:
  name: mongodb-configmap

