-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 59877, 59886, 59892). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Partial revert of #59797 **What this PR does / why we need it**: Need to do a partial revert of #59797. This PR introduced two problems: - `INTERNAL_DIRS` has an unbound variable error - The script introduces the use of mapfile which doesn't exist in bash versions prior to bash 4.x. Darwin (OS X) uses bash 3.x by default. **Release note**: ```release-note NONE ```