configmaps not available for a pod?
<p>I'm repeatedly seeing something like;</p>

<blockquote>
  <p>Warning       FailedSync  Error syncing pod, skipping: failed to
  "StartContainer" for "some-service" with RunContainerError:
  "GenerateRunContainerOptions: Couldn't find key app-id in ConfigMap
  default/intercom"</p>
</blockquote>

<p>Where the deployment tries to set env. vars from a configmap, that is:</p>

<pre><code>apiVersion: v1
data:
  intercom: |
    app-id=some-id
    api-key=some-key
kind: ConfigMap
metadata:
  creationTimestamp: 2016-10-23T13:09:58Z
  name: intercom
  namespace: default
  resourceVersion: "3836"
  selfLink: /api/v1/namespaces/default/configmaps/intercom
  uid: ffeea5f0-9921-11e6-b2b7-0acff65e44c3
</code></pre>

<p>And the deployment looks like:</p>

<pre><code>apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: myservice
spec:
  replicas: 2
  template:
    metadata:
     labels:
        run: myservice
    spec:
      containers:
        - name: myservice
          image: somerepo/myservice:v1.0
          env:
            - name: INTERCOM_APPID
              valueFrom:
                configMapKeyRef:
                  name: intercom
                  key: app-id
            - name: INTERCOM_APIKEY
              valueFrom:
                configMapKeyRef:
                  name: intercom
                  key: api-key
          ports:
            - containerPort: 9000
      imagePullSecrets:
        - name: docker-hub-key
</code></pre>

<p>What could be wrong here?</p>