Ingress not working (imposing host)
After install behind a proxy, i.e. no hostname attached to the machine and visible.
Steps to reproduce
Install without a valid host, domain on the ryax values.
What is the current bug behavior and the expected correct behavior?
Ryax installation become unreachable, 404 when trying to access the UI.
Relevant logs and/or screenshots
All ryax ingresses will have a host poiting to a domain and a host that does to exist.
NAME CLASS HOSTS ADDRESS PORTS AGE
ryax-authorization <none> somehost 10.1.1.23 80, 443 164d
...The problem is that ingresses have a hostname forced to it.
apiVersion: networking.k8s.io/v1
kind: Ingress
spec:
rules:
- host: somehost <====== THIS IS THE PROBLEM
paths:
- backend:
service:
name: ryax-authorization
port:
name: api
path: /authorization
pathType: Prefix
- backend:
service:
name: ryax-authorization
port:
name: api
path: /api/authorization
pathType: Prefix
tls:
- hosts:
- empyrean.ryax.io
secretName: ryax-cert-production
status:
loadBalancer:
ingress:
- ip: 10.1.1.23Link to the Ryax instance
Any on 27.9.0
Possible fixes
Add a value to unset hosts on ingress.
Edited by Pedro Velho