charts
charts copied to clipboard
[metallb] "Open" button for apps still point to truenasIP with mlb enabled
App Name
metallb / common
SCALE Version
22.02.3
App Version
upstream_4.0.10
Application Events
N/A
Application Logs
N/A
Application Configuration
- Have metallb installed (and integrated loadbalancer disabled)
- Install any app with Simple service type
- Leave Ingress disabled
Describe the bug
The open button on an app in the SCALE GUI will try to open the app at http(s)://truenasIP:PORT rather than http(s)://metallb-assigned-IP:PORT
To Reproduce
To reproduce
- Have metallb installed (and integrated loadbalancer disabled)
- Install any app with Simple service type
- Leave Ingress disabled
- The open button will try to open the app at http://truenasIP:PORT rather than http://metallb-assigned-IP:PORT
Expected Behavior
The open button should use http://metallb-assigned-IP:PORT.
I and most others will avoid this issue mostly by using ingress. When ingress is defined the open button goes to the correct host/domain and the IP becomes irrelevant.
Screenshots
N/A
Additional Context
N/A
I've read and agree with the following
- [X] I've checked all open and closed issues and my issue is not there.
Some notes:
- We should add "LoadBalancerIP" to the "simple" servicetype
- We can use that, if filled, for the portal button.
Sadly enough, there does not exist a simple way of getting the IP that is going to be assigned by metalLB at app creation time (the time the portal info is generated)
While we can theoretically implement complicated ways to fetch the loadbalancer IP dynamically ish. Such a solution would be too complicated, cause many new issues and would actually have too-much of a failure rate.
Hence this cannot be implemented. We suggest to use ingress for everything.
This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists