Closed phlogistonjohn closed 2 years ago
/retest centos-ci/sink-clustered/mini-k8s-1.23
/test centos-ci/sink-clustered/mini-k8s-1.24
Some suggestions for the future:
do-not-merge
label on the PR (with an accompanying comment :-) )Thanks for looking!
The current implementation of pod construction relies on managing many slices of volMount objects. Not only is this a bit verbose but it also relies on a trick that the static checkers don't like. In order to make things a bit less "loose" and more regular the very simple volKeeper type is added as a wrapper around a slice of volMounts.
The major pod assembly functions are then converted to use volKeepers.
This work is a precursor to additional patches that will add new containers to the pods that will watch for configuration changes.