Postgres DB Password not being set in Kubernetes script
<p>For some reason, the postgres instance isn't being locked down with a password using the following kubernetes script.</p>

<pre><code>apiVersion: v1
kind: ReplicationController
metadata:
    name: postgres
    labels:
        name: postgres
spec:
    replicas: 1
    template:
      metadata:
        labels:
          name: postgres
      spec:
        containers:
          - resources:
            image: postgres:9.4
            name: postgres
            env:
              - name: DB_PASS
                value: password
              - name: PGDATA
                value: /var/lib/postgresql/data/pgdata
            ports:
              - containerPort: 5432
                name: postgres
            volumeMounts:
              - mountPath: /var/lib/postgresql/data
                name: postgres-persistent-storage
        volumes:
          - name: postgres-persistent-storage
            gcePersistentDisk:
              pdName: postgres-disk
              fsType: ext4
</code></pre>

<p>Any ideas?</p>