|
Following the approaches to solve it. Try to use the internal URL to do the request instead of the route (Need check it will work well) First approach which should be taken See here an example: The bkp is doing it. See here how to create the URL: https://github.com/aerogear/mobile-security-service-operator/blob/master/pkg/controller/mobilesecurityservicebackup/helpers.go#L16 Allow customize and/or usage of default certs We need to check : 1. How to get the OCP cert key 2. If the MDC and others will work with a custom cert or a default one (Check if the team) Then : 1. We need to make the MSS controller get the cert default and/or customize ( need to impl ) 2. Add a config in the MSS CR to pass the cert ( need to impl ) 3. Make the client use the cert when it has ( need to impl ) E.g https://gist.github.com/denji/12b3a568f092ab951456#simple-golang-httpstls-server 4. Maybe the route need be improved as well. c/c David Ffrench Laura Fitzgerald Enda Phelan |