The pod pkg needs to have it's methods aligned with the deployment packages WithVolume method. We should not maintain different WithVolume provider types (like WithLocalVolume) within the pkg. There may be room for enhancement by adding external volume constructor functions within the storage pkg (like NewConfigMapVolumeBuilder(<params>) *corev1.Volume).
The pod pkg needs to have it's methods aligned with the deployment packages WithVolume method. We should not maintain different WithVolume provider types (like WithLocalVolume) within the pkg. There may be room for enhancement by adding external volume constructor functions within the storage pkg (like
NewConfigMapVolumeBuilder(<params>) *corev1.Volume
).