Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong host in connection token #662

Closed
hagaibarel opened this issue Dec 20, 2021 · 1 comment · Fixed by #663
Closed

Wrong host in connection token #662

hagaibarel opened this issue Dec 20, 2021 · 1 comment · Fixed by #663

Comments

@hagaibarel
Copy link

Hello,

I'm setting up skupper with nginx-ingress and it seems that the created hosts in the link token don't match the hosts in the site ingress resource.

For example, let's say I set ingress-host = example.com and using the monitoring namespace (obviously the real domain is something different)

The ingress:

Name:             skupper
Labels:           <none>
Namespace:        monitoring
Address:          XX.XXX.X.XXX
Default backend:  default-http-backend:80 (10.200.0.3:8080)
Rules:
  Host                                           Path  Backends
  ----                                           ----  --------
  claims.monitoring.example.com        
                                                 /   skupper:8081 (10.200.2.38:8081)
  console.monitoring.example.com       
                                                 /   skupper:8080 (10.200.2.38:8080)
  inter-router.monitoring.example.com  
                                                 /   skupper-router:55671 (10.200.0.67:55671)
  edge.monitoring.example.com          
                                                 /   skupper-router:45671 (10.200.0.67:45671)
Annotations:                                     kubernetes.io/ingress.class: nginx
                                                 nginx.ingress.kubernetes.io/ssl-passthrough: true
                                                 nginx.ingress.kubernetes.io/ssl-redirect: true
Events:                                          <none>

But the created token secret contains the following annotations:

annotations:
    edge-host: skupper-edge.monitoring.example.com
    edge-port: "443"
    inter-router-host: skupper-inter-router.monitoring.example.com
    inter-router-port: "443"
    skupper.io/generated-by: c25f5f82-7072-41db-9198-ac96fb57cccd
    skupper.io/site-version: 0.8.4

The hosts are prefixed with skupper- and this results in sites unable to find the right host to connect to. When I remove the prefix, (e.g. edge-host: edge.monitoring.example.com) everything works fine

@grs
Copy link
Member

grs commented Jan 10, 2022

Fixed in 0.8.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants