-
Bug
-
Resolution: Done
-
Major
-
DO280 - OCP4.10-en-2-20220811
-
ILT, ROLE, VT
-
en-US (English)
URL: https://rol.redhat.com/rol/app/courses/do280-4.6/pages/ch09s02
Reporter RHNID: obohlen
Section: 2 - Comprehensive Review
Language: en-US (English)
Workaround: fix the grade script manually
Description: Delegates can experience that "lab review-troubleshoot grade" complains they failed to create the "wordpress-sa" service account correctly, also the checking for the anyuid usage, etc can fail.
The reason is that the lab script does the oc get's without specifying the namespace. This should work, because the delegates are supposed to have their kubernetes context set to the namespace, but "unfortunately" the grade script also switches users with oc login, and that might reset their namespace context.
So please fix the script and ensure that all namespace bout resources are "oc get" with the correct namespace (i.e. oc get -n "${this}"), see for example line 605