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
Hi! Thanks for maintaining haproxy-ingress! 👍 I ran into a small annoyance while setting up a new instance, so i thought i'd share.
Description of the problem
Setting up a new instance of haproxy-ingress, things didn't work as expected; it turned out it wasn't reading my configmap. It was difficult to track down the problem – it turned out i was setting --configmap=wrongnamespace/nonexistent-myconfigmap but haproxy-ingress accepted it silently.
At least i would expect a log line output, or better yet a fatal crash if the user passes --configmap=... pointing at a ConfigMap that cannot be read. This would've pointed me straight to the issue.
Additionally, it could be nice to output to the console something like "Successfully loaded configuration from ConfigMap your/configmap." so that you know that's working.
Steps to reproduce the problem
Call haproxy-ingress with --configmap=nonexistent.
Environment information
HAProxy Ingress version: v0.12.3
The text was updated successfully, but these errors were encountered:
Hi thanks for reporting this. We really need to spend a few more time with the command-line options doc.
Regarding the configmap reading, this is in fact a historical and annoying misbehavior. I'll add an error log in the maintenance branches so we don't break deployments that uses this as a feature, and will crash the application on new versions.
Hi! Thanks for maintaining haproxy-ingress! 👍 I ran into a small annoyance while setting up a new instance, so i thought i'd share.
Description of the problem
Setting up a new instance of haproxy-ingress, things didn't work as expected; it turned out it wasn't reading my configmap. It was difficult to track down the problem – it turned out i was setting
--configmap=wrongnamespace/nonexistent-myconfigmap
buthaproxy-ingress
accepted it silently.Additionally, the
--configmap=...
option isn't mentioned on https://haproxy-ingress.github.io/docs/configuration/command-line/, adding to my confusion. It is mentioned here though:https://github.com/jcmoraisjr/haproxy-ingress/blob/42034000bc7e4516696fc7f107b6a2d9b82588a3/examples/custom-configuration/README.md#L29-31
Expected behavior
At least i would expect a log line output, or better yet a fatal crash if the user passes
--configmap=...
pointing at a ConfigMap that cannot be read. This would've pointed me straight to the issue.Additionally, it could be nice to output to the console something like "Successfully loaded configuration from ConfigMap your/configmap." so that you know that's working.
Steps to reproduce the problem
--configmap=nonexistent
.Environment information
HAProxy Ingress version:
v0.12.3
The text was updated successfully, but these errors were encountered: