thuanghai opened a new issue, #35191:
URL: https://github.com/apache/superset/issues/35191

   ### Bug description
   
   I use apache superset helm charts(version 0.15.0 with superset version 
5.0.0) to deploy superset in my air-gap environment.
   
   Before I deploy superset, I have deploy my own map service using 
osm-tile-server successfully in air-gap environment. 
   
   And I can see map using firefox with url 'http://<my-ip>/tile/0/0/0.png'
   
   Then, I deploy superset. I define custom value in value.yaml which is in the 
helm chart. My define is like below:
   ```
   configOverrides:
     map: |
       DECKGL_BASE_MAP = [
         ['tile://https://<my-ip>/tile/{z}/{x}/{y}.png', 'MyTile']
       ]
       from flask_cors import CORS
       ENABLE_CORS = True
       from  typing import Any
       CORS_OPTIONS: dict[Any, Any] = {
         "origins": [
           "http://<my-ip>/tile/{z}/{x}/{y}.png",
         ]
       }
       TALISMAN_CONFIG = {
           "content_security_policy": {
               "connect-src": [
                   "'self'",
                   "https://<my-ip>/tile/{z}/{x}/{y}.png",
               ]
       }
     secret: |
       SECRET_KEY = '...' # Here I define and with no display here
   ```
   I add two 'from xxx import xxx', because the log describe they needed. Then 
I install with command below:
   
   ```
   helm install superset -n test -f value.yaml ./superset-0.15.0.tgz
   ```
   
   With kubectl port-forward command, I can not see anything.
   
   But when cut the map reference like below:
   
   ```
   configOverrides:
     map: |
       DECKGL_BASE_MAP = [
         ['tile://https://<my-ip>/tile/{z}/{x}/{y}.png', 'MyTile']
       ]
     secret: |
       SECRET_KEY = '...' # Here I define and with no display here
   ```
   I can access superset web page, but no map to be displayed.
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   5.0.0
   
   ### Python version
   
   I don't know
   
   ### Node version
   
   I don't know
   
   ### Browser
   
   Firefox
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [x] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to