openshift-kni / eco-goinfra

Apache License 2.0
6 stars 32 forks source link

Update pod pkg to align with WithVolume pattern #289

Open trewest opened 4 months ago

trewest commented 4 months ago

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