title: Usage of OpenShift ConfigMaps in DeploymentConfigurations
body: <p>On the OpenShift Documentation for ConfigMaps (<a href="https://docs.openshift.com/enterprise/3.2/dev_guide/configmaps.html" rel="nofollow noreferrer">https://docs.openshift.com/enterprise/3.2/dev_guide/configmaps.html</a>) is only an example of usage within Pods. But can I use ConfigMaps also inside DeploymentConfig?</p>
  
  <p>The parameter declarations inside Pods look symilar to the DeploymentConfig.</p>
  
  <pre><code>apiVersion: v1
  kind: Pod
  metadata:
    name: dapi-test-pod
  spec:
    containers:
      - name: test-container
        image: gcr.io/google_containers/busybox
        command: [ "/bin/sh", "-c", "env" ]
        env:
          - name: SPECIAL_LEVEL_KEY
            valueFrom:
              configMapKeyRef:
                name: special-config
                key: special.how
          - name: SPECIAL_TYPE_KEY
            valueFrom:
              configMapKeyRef:
                name: special-config
                key: special.type
    restartPolicy: Never
  </code></pre>
  
  <p>Both use the <code>env</code> property.</p>
  
  <pre><code>"spec": {
                          "containers": [
                              {
                                  "env": [
                                      {
                                          "name": "PORT",
                                          "value": "${MF-PORT}"
                                      },
                                      {
                                          "name": "NODE_ENV",
                                          "value": "${MF-ENVIRONMENT}"
                                      }
                                  ],
  </code></pre>