172 Red Hat OpenShift and IBM Cloud Paks on IBM Power Systems: Volume 1
  - env:
    - name: LICENSE
      value: accept
    - name: MONGODB_USER
      value: mongo
    - name: MONGODB_PASSWORD
      valueFrom:
        secretKeyRef:
          key: password
          name: appmongo-ibm-mongodb-dev
    - name: MONGODB_ADMIN_PASSWORD
      valueFrom:
        secretKeyRef:
          key: password
          name: appmongo-ibm-mongodb-dev
    - name: MONGODB_DATABASE
      value: admin
    image: registry.access.redhat.com/rhscl/mongodb-36-rhel7
    imagePullPolicy: IfNotPresent
    name: appmongo-ibm-mongodb-dev
    ports:
    - containerPort: 27017
      name: mongodb
      protocol: TCP
    resources:
      limits:
        cpu: "2"
        memory: 4Gi
      requests:
        cpu: 100m
        memory: 256Mi
    securityContext:
      privileged: true
      capabilities:
        drop:
        - KILL
        - MKNOD
        - SETGID
        - SETUID
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/lib/mongodb/data
      name: appmongo-ibm-mongodb-dev-datavolume
  dnsPolicy: ClusterFirst
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext:
    privileged: true
    fsGroup: 10000
    runAsUser: 10000
    seLinuxOptions:
      level: s0:c1,c0
  terminationGracePeriodSeconds: 30