HTTP in admin console urls instead of HTTPS

Hi All,

I installed Keycloak using helm chart and created admin user using localhost UI. Now, when i try to load the auth/admin/master/console/ it fails (the page is blank) because all the URL’s are created using HTTP not HTTPS and I don’t even have the port 80 open. Looks like this:

<script type="text/javascript">
        var authServerUrl = 'http://keycloak.myhost.com/auth';
        var authUrl = 'http://keycloak.myhost.com/auth';
        var consoleBaseUrl = '/auth/admin/master/console/';
        var resourceUrl = '/auth/resources/k36of/admin/keycloak';
        var masterRealm = 'master';
        var resourceVersion = 'k36of';
    </script> 

How to make sure Keycloak uses https everywhere?

UPDATE: added env variable KEYCLOAK_FRONTEND_URL with https://keycloak.myhost.com/auth value and all good now.