sciabarracom opened a new issue, #174:
URL: https://github.com/apache/openserverless/issues/174

   - [x] I have searched the 
[issues](https://github.com/apache/openserverless/issues) of this repository 
and believe that this is not a duplicate.
   
   ### Ⅰ. Issue Description
   
   There are issues when using `config apihost --protocol=http`
   
   We should clarifiy what is external and what is internal.
   
   ### Ⅱ. Describe what happened
   
   The correct way should be: 
   
   `kubectl -n nuvolaris get cm/config 
-ojsonpath='{.metadata.annotations.apihost}'`
   
   However currently it returns `http://nuvolaris.dev` and this affects a 
number of url:
   
   ```
   $ ops env list | grep http:
   | S3_API_URL         | http://s3.francescotiberi.com                         
                                                                                
                                      
   | STATIC_CONTENT_URL | http://devel.francescotiberi.com                      
                                                                                
                                      
   | USER_REST_API_URL  | http://devel.francescotiberi.com/api/my               
                                                                                
                                      
   | USER_V1_API_URL    | http://devel.francescotiberi.com   
   ```
   
   Most notably the S3_API_URL breaks the publishing
   
   ### Ⅲ. Describe what you expected to happen
   
   when using --protocol=http the "public" url should be http or https 
correctly.
   
   Note that in "mini" is http, when proxied by a load balancer the actual is 
https
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to