<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>

Meet Patel
<p>For scenarios like yours, building a helm chart will be a better approach.</p>
