I added a UDP listener to a VirtualServer. This is not a valid configuration, I did this to test the error behaviour.
The VirtualServer ended up valid, and generated config did not have a listen directive.
Desired outcome: Fail VirtualServer deployment if no matching HTTP listener is found. Fail with Invalid VirtualServer state & remove VirtualServer from the NGINX config.
Version
edge
What Kubernetes platforms are you running on?
Minikube
What happened?
I added a UDP listener to a VirtualServer. This is not a valid configuration, I did this to test the error behaviour. The VirtualServer ended up valid, and generated config did not have a listen directive.
Steps to reproduce
I made a GlobalConfiguration with the above config, the used these in the VirtualServer.
The VS is valid
This is the output in the nginx config
Expected behaviour
The VirtualServer is not valid
Kubectl Describe output
No response
Log output
No response
Contributing Guidelines