Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: stats.cfg generates an extra \t when no auth given #480

Closed
julianvmodesto opened this issue Sep 11, 2017 · 0 comments
Closed

Bug: stats.cfg generates an extra \t when no auth given #480

julianvmodesto opened this issue Sep 11, 2017 · 0 comments
Milestone

Comments

@julianvmodesto
Copy link
Contributor

Bug

I saw the following ConfigMap generated for my Ingress.

listen stats
    bind *:56789
    mode http
    stats enable
    stats realm Haproxy\ Statistics
    stats uri /
    frontend http-80
    bind *:80

    mode http
    option httplog
    option forwardfor

That is, the \n\t below should only be a \n.

stats
    uri /\n\tfrontend http-80

A contributing factor here is that in my Ingress, I have stats enabled but no stats auth:

    ingress.appscode.com/stats: "true"

Change

The correction here is to remove the one-line if/thens in the template for stats.cfg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants