update gluon to v0.5.2. Fix secret test with wait times. Add function for checking cluster policy
General MR
Summary
Update gluon and fix test wait times for CRD ClusterPolicy.
Added logic to loop 5 times checking for the ClusterPolicy sync-secrets prior to creating the namespace. ClusterPolicy must be active before the namespace is created otherwise the test will fail to create the secret across namespaces.
Tested successfully here -> https://repo1.dso.mil/big-bang/bigbang/-/pipelines/3507701
Relevant logs/screenshots
Test intermittently fails with secret not found. Likely because the policy was not created before the test created the namespace. See job link -> https://repo1.dso.mil/big-bang/bigbang/-/jobs/36874889
Linked Issue
Upgrade Notices
N/A
Edited by Christopher O'Connell