Skip to content

ingress anotation timeout-server does not change haproxy config #617

@dosmanak

Description

@dosmanak

I added annotation haproxy.org/timeout-server: 15m to ingress manifest but generated backend does not contain timeout server directive.
annotations:

    haproxy.org/backend-config-snippet: http-request deny if !{ path_beg -f patterns/keycloak-publicly-available-urls
      } !{ src -f patterns/whitelisted-ips }
    haproxy.org/forwarded-for: "true"
    haproxy.org/ssl-redirect: "true"
    haproxy.org/timeout-server: 15m

haproxy.cfg backend

backend keycloak-dev_svc-keycloak_http
  mode http
  balance roundrobin
  option forwardfor
  no option abortonclose
  default-server check
  ###_config-snippet_### BEGIN
  http-request deny if !{ path_beg -f patterns/keycloak-publicly-available-urls } !{ src -f patterns/whitelisted-ips }
  ###_config-snippet_### END
  server SRV_1 10.64.142.228:8080 enabled
  server SRV_2 127.0.0.1:8080 disabled
  server SRV_3 127.0.0.1:8080 disabled
  server SRV_4 127.0.0.1:8080 disabled
  server SRV_5 127.0.0.1:8080 disabled
  server SRV_6 127.0.0.1:8080 disabled
  server SRV_7 127.0.0.1:8080 disabled
  server SRV_8 127.0.0.1:8080 disabled

Version is haproxytech/kubernetes-ingress:1.10.7

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions