{{volume.name}}
Type:
secret (populated by a Secret when the pod is created)
Secret name:
{{volume.secret.secretName}}
Type:
persistent volume claim (reference to a Persistent Volume Claim)
Claim name:
{{volume.persistentVolumeClaim.claimName}}
Mode:
read-only read-write
Type:
host path (bare host directory volume)
Path:
{{volume.hostPath.path}}
Type:
empty dir (temporary directory destroyed with the pod)
Medium:
node's default {{volume.emptyDir.medium}}
Type:
git repo (pulled from git when the pod is created)
Repository:
{{volume.gitRepo.repository}}
Revision:
{{volume.gitRepo.revision}}
Type:
downward API (populated with information about the pod)
Volume file:
{{item.fieldRef.fieldPath}} → {{item.path}}
Type:
config map (populated by a Config Map)
Name:
{{volume.configMap.name}}
Key to file:
{{item.key}} → {{item.path}}