Closed chmouel closed 5 years ago
@chmouel So, I get a cluster list from fabric8-cluster's API, and match only those clusters where type is OSO, right ?
for idler yes, for proxy you need to detect when it is a OSD and then don't go to idler when it's the case, (see openshiftio issue)
We now have an API :
https://github.com/fabric8-services/fabric8-cluster/issues/31
which we can use and remove the regexp based filtering
There is other things to do in this area, we want to have idler only enabled for those OSO clusters but we don't want to simply ignore the others, we want to be able to pass thru the requests still but instead of going to idler we want to go to the user jenkins directly.
See details here: https://github.com/openshiftio/openshift.io/issues/4574
this is a work for jenkins-proxy and jenkins-idler