k8 web url subpath not working #63693
              
                Unanswered
              
          
                  
                    
                      chrispward
                    
                  
                
                  asked this question in
                Deployment
              
            Replies: 1 comment
-
| 
         Do we have a solution for this? I am also facing similar issue in 1.6.5  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I've deployed airbyte to k8 with the helm charts.
The web app is not recognizing the /airbyte subpath.
if i proxy in a call with straight url localhost:8080/airbyte it will return to localhost:8080/static etc.
We use traefik and I've tried all sorts of middlewares to trap the headers etc to try to identify it originated from /airbyte to no avail.
Fundamentally with other apps, the base_url alters the href componet to inculde the subpath and all is well.
I have noticed the apis and such are all functioning on the sub path
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET https://mydomain.com/airbyte/api/public/v1/workspaces
returns
{"data":[{"workspaceId.......etc"}
So why doesnt the webapp work?
is it not a feature?
FYI. My values.yaml
global:
serviceType: ClusterIP
Configure authentication
auth:
enabled: false
Configure for subpath access
airbyteUrl: "https://my-domain.com/airbyte"
webapp:
env_vars:
# Disable authentication
DISABLE_AIRBYTE_AUTH: "true"
# Main application URLs
WEBAPP_URL: "https://my-domain.com/airbyte"
AIRBYTE_WEBAPP_URL: "https://my-domain.com/airbyte"
AIRBYTE_API_URL: "https://my-domain.com/airbyte/api"
API_URL: "/airbyte/api"
INTERNAL_API_HOST : "http://airbyte-server-svc:8001"
server:
env_vars:
# Server configuration for subpath
WEBAPP_URL: "https://my-domain.com/airbyte"
# Important: Configure server to serve from subpath
AIRBYTE_API_URL: "https://my-domain.com/airbyte/api"
AIRBYTE_AUTH_MODE: "none"
DISABLE_AIRBYTE_AUTH: "true"
Authentication configuration
auth:
enabled: false
Beta Was this translation helpful? Give feedback.
All reactions