Closed bartoszmajsak closed 3 months ago
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: zdtsw
The full list of commands accepted by this bot can be found here.
The pull request process is described here
test with local build quay.io/wenzhou/opendatahub-operator-catalog:v2.7.23
Description
If the authorization provider namespace is not specified in the DSCI the default is constructed to be
application-namespace-auth-provider
, e.g.opendatahub-auth-provider
.With the #1052 refactoring, the regression has been introduced where the value is directly read from the spec instead of being dynamically constructed based on the rule described above.
This is manifested with the following error, as the feature mistakenly waits for pods across all namespaces (because of list option for namespace being
corev1.NamespaceAll == ""
). This obviously rarely is true, especially for large clusters.leading to failure of reconciling this feature.
The fix is to read the namespace from
FeatureData
instead, where the defaulting logic is defined.Fixes https://issues.redhat.com/browse/RHOAIENG-10268
How Has This Been Tested?
Screenshot or short clip
Merge criteria