kind: Pod 
apiVersion: v1 
metadata:
  name: pod-env-var 
spec:
  containers:
    - name: env-var-configmap
      image: nginx:1.10
      envFrom:
        - configMapRef:
            name: example-configmap
