do not iterate over list via indices
do not iterate over list via indices

Co-authored-by: Min RK <408640eb0c100f875dbe3f1b67bd9a73ee0274f2@gmail.com>
yuvipanda/jupyterhub-kubernetes-spawner,jupyterhub/kubespawner