Is your feature request related to a problem? Please describe.
I've been trying to incorporate the preflight check operator into our pipeline to avoid issues during the final certification period, the big problem that I have faced is that it requires an OpenShift cluster, this it's perfect, but spinning a cluster every time that we need to check the CI it's a lot of time wasted on this, but I was thinking on running this test against an already running OpenShift cluster, but when running two test in parallel conflicts due to preflight using the package name as the target namespace to install the operator here https://github.com/redhat-openshift-ecosystem/openshift-preflight/blob/main/internal/policy/operator/deployable_by_olm.go#L313
Describe the solution you'd like.
I've been browsing the code and thinking on adding this as an option to the preflight run and replace the value here https://github.com/redhat-openshift-ecosystem/openshift-preflight/blob/main/internal/policy/operator/deployable_by_olm.go#L313 and avoid using the appName as the namespace.
In short, a new variable to specify the namespace to test the operator install process will be amazing.
Describe alternatives you've considered.
There's a variable PFLT_NAMESPACE and argument --namespace that contains the namespace for the scorecard, probably we can use the same one to use only one namespace for everything ?
Additional context.
This will be really useful to run multiple checks in one cluster and also to trigger operator-pipeline multiple times in the same cluster which is my ultimate goal
Is your feature request related to a problem? Please describe.
I've been trying to incorporate the preflight check operator into our pipeline to avoid issues during the final certification period, the big problem that I have faced is that it requires an OpenShift cluster, this it's perfect, but spinning a cluster every time that we need to check the CI it's a lot of time wasted on this, but I was thinking on running this test against an already running OpenShift cluster, but when running two test in parallel conflicts due to preflight using the package name as the target namespace to install the operator here https://github.com/redhat-openshift-ecosystem/openshift-preflight/blob/main/internal/policy/operator/deployable_by_olm.go#L313
Describe the solution you'd like.
I've been browsing the code and thinking on adding this as an option to the preflight run and replace the value here https://github.com/redhat-openshift-ecosystem/openshift-preflight/blob/main/internal/policy/operator/deployable_by_olm.go#L313 and avoid using the
appNameas the namespace.In short, a new variable to specify the namespace to test the operator install process will be amazing.
Describe alternatives you've considered.
There's a variable PFLT_NAMESPACE and argument
--namespacethat contains the namespace for the scorecard, probably we can use the same one to use only one namespace for everything ?Additional context.
This will be really useful to run multiple checks in one cluster and also to trigger operator-pipeline multiple times in the same cluster which is my ultimate goal