title: Kubernetes Persistent Volume : Can I use env variables or configMap for value provisioning ? if yes then how?
body: <p>Here is my Persistent Volume YAML config, where I want to set <strong>server</strong> value from env or configMap</p>
  <pre><code>apiVersion: v1
  kind: PersistentVolume
  metadata:
    name: auth-pv
  spec:
    capacity:
      storage: 500Mi
    accessModes:
      - ReadWriteMany
    persistentVolumeReclaimPolicy: Retain
    storageClassName: manual
    nfs:
      path: /nfs/auth
      server: 192.168.10.104 # &lt;ip address from env or config ?&gt;
  
  </code></pre>