File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,14 @@ gather_services_cm () {
3434 for svc in " ${OSP_SERVICES[@]} " ; do
3535 get_cm " $NS " " $svc "
3636 done
37+
38+ # Ensure background configmap gathering tasks are done before masking
39+ wait_bg
40+
41+ if [[ " ${DO_NOT_MASK} " -eq 0 ]]; then
42+ # All configmaps have been collected, apply masking on the configmaps directory
43+ /usr/bin/mask.py --dir " ${NAMESPACE_PATH} /${NS} /configmaps"
44+ fi
3745}
3846
3947
@@ -45,10 +53,4 @@ if [[ $CALLED -eq 1 ]]; then
4553 fi
4654
4755 gather_services_cm " $NS "
48- wait_bg
49-
50- if [[ " ${DO_NOT_MASK} " -eq 0 ]]; then
51- # All configmaps have been collected, apply masking on the configmaps directory
52- /usr/bin/mask.py --dir " ${NAMESPACE_PATH} /${NS} /configmaps"
53- fi
5456fi
You can’t perform that action at this time.
0 commit comments