Description of problem: If I setup a proxy CA (trustedCA field at "proxy.config" CRD), it is not trusted by oauth-proxy containers of prometheus and grafana. So, when I try for example to login to grafana, login fails with 500 error. Version-Release number of selected component (if applicable): 4.2 How reproducible: Always Steps to Reproduce: 1. Set trustedCA at "proxy.config" 2. Make oauth endpoints present that CA. This can be achieved either by requiring the oauth route to go through proxy or by setting a custom certificate in default ingress controller. Actual results: Login does not work Expected results: Login should work Additional info: Posible way to fix this would be to create a configmap with "config.openshift.io/inject-trusted-cabundle=true" label so it gets populated with "trusted-ca-bundle" contents and make oauth endpoints trust it. Discovered while validating this: https://bugzilla.redhat.com/show_bug.cgi?id=1712525#c39
Just for reference: openshift-console pods already do something similar to what I am suggesting and, hence, they don't face this issue
We are aware of this issue and actively working on a fix. It was previously reported in https://bugzilla.redhat.com/show_bug.cgi?id=1766181 so I am closing this BZ as a duplicate. *** This bug has been marked as a duplicate of bug 1766181 ***