diff --git a/operatorapi/configure_operator.go b/operatorapi/configure_operator.go index 9facfd3fe..cb787bb6d 100644 --- a/operatorapi/configure_operator.go +++ b/operatorapi/configure_operator.go @@ -104,7 +104,8 @@ func configureAPI(api *operations.OperatorAPI) http.Handler { // The TLS configuration before HTTPS server starts. func configureTLS(tlsConfig *tls.Config) { - // Make all necessary changes to the TLS configuration here. + tlsConfig.RootCAs = GlobalRootCAs + tlsConfig.GetCertificate = GlobalTLSCertsManager.GetCertificate } // As soon as server is initialized but not run yet, this function will be called.