ingress-nginx-helm/internal/ingress/controller
Gabor Lekeny 83ce21b4dd
Add keepalive support for auth requests (#8219)
* Add keepalive support for auth requests

* Fix typo

* Address PR comments

* Log warning when auth-url contains variable in its host:port
* Generate upstream name without replacing dots to underscores in server name
* Add comment in the nginx template when the keepalive upstream block is referenced

* Workaround for auth_request module ignores keepalive in upstream block

* The `auth_request` module does not support HTTP keepalives in upstream block:
  https://trac.nginx.org/nginx/ticket/1579
* As a workaround we use ngx.location.capture but unfortunately it does not
  support HTTP/2 so `use-http2` configuration parameter is needed.

* Handle PR comments

* Address PR comments

* Handle invalid values for int parameters

* Handle PR comments

* Fix e2e test
2022-04-08 20:22:04 -07:00
..
config Add stream-snippet as a ConfigMap and Annotation option (#8029) 2021-12-23 11:46:30 -08:00
ingressclass Print warning only instead of error if no permission on ingressclass (#7578) 2021-10-10 12:48:37 -07:00
process Migrate to klog v2 2020-08-08 21:01:03 -04:00
store Do not validate ingresses with unknown ingress class in admission webhook endpoint. (#8221) 2022-02-06 12:28:51 -08:00
template Add keepalive support for auth requests (#8219) 2022-04-08 20:22:04 -07:00
certificate.go Fix verification of boilerplate, style and file headers 2017-12-03 13:58:23 -03:00
checker.go Remove deprecated libraries, update other libs, add ci v1.23 (#8118) 2022-01-09 16:29:12 -08:00
checker_test.go fix: use exponential backoff mechanism to listen on nginx.StatusPort 2021-05-13 15:02:11 +08:00
controller.go Add a certificate info metric (#8253) 2022-02-24 07:08:32 -08:00
controller_test.go Do not validate ingresses with unknown ingress class in admission webhook endpoint. (#8221) 2022-02-06 12:28:51 -08:00
endpoints.go getEndpoints uses service target port directly if it's a number and mismatch with port name in endpoint (#7393) 2021-09-07 11:15:16 -07:00
endpoints_test.go getEndpoints uses service target port directly if it's a number and mismatch with port name in endpoint (#7393) 2021-09-07 11:15:16 -07:00
location.go Release v1 (#7470) 2021-08-21 13:42:00 -07:00
nginx.go Add a certificate info metric (#8253) 2022-02-24 07:08:32 -08:00
nginx_test.go Update go version, modules and remove ioutil 2021-08-06 14:15:21 -03:00
status.go Refactor extraction of ingress pod details 2020-11-19 17:31:28 -03:00
tcp.go Release v1 (#7470) 2021-08-21 13:42:00 -07:00
util.go Release v1 (#7470) 2021-08-21 13:42:00 -07:00
util_test.go rename sysctlFSFileMax to rlimitMaxNumFiles to reflect what it actually does 2019-01-15 15:34:17 -05:00