You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the service port is referenced by name and not by number. This breaks when using Caddy Ingress, which I figured would be due to the following line:
I tried to fix it yesterday, but it proves to be a challenge since I don't have a k8s client available in reverseproxy.go. The ingress object itself is passed along via the Store thing without further, so I kind of got stuck.
I would need a k8s client to retrieve the Service itself from k8s and figure out the port number associated with the provided name. Perhaps you have some ideas that don't involve altering half of the codebase?
I just installed a Helm chart (the Element OnPrem server to be precise) which installs the following Ingress:
Note that the service port is referenced by name and not by number. This breaks when using Caddy Ingress, which I figured would be due to the following line:
ingress/internal/caddy/ingress/reverseproxy.go
Line 34 in 908d854
Basically it just returns port
0
here because the port number should be resolved by name instead of directly using the number.@mavimo Would you be open to a PR to fix this?
The text was updated successfully, but these errors were encountered: