Manuel Alejandro de Brito Fontes
2af627f0fe
Fix e2e test error
2020-09-29 10:10:40 -03:00
Kubernetes Prow Robot
8d45bb39a4
Merge pull request #5348 from Antiarchitect/stream-log-annotations
...
Ability to separately disable access log in http and stream contexts
2020-09-28 11:02:53 -07:00
Manuel Alejandro de Brito Fontes
493dd6726d
Replace request_uri
2020-09-27 20:26:39 -03:00
Manuel Alejandro de Brito Fontes
108637bb1c
Migrate to structured logging (klog)
2020-09-27 18:59:57 -03:00
Maxime LUCE
b7b85175f6
Add annotation to configure CORS Access-Control-Expose-Headers
2020-09-23 17:41:52 +02:00
Manuel Alejandro de Brito Fontes
7fe5eccbc6
Rollback to Poll instead of PollImmediate
2020-08-20 20:50:51 -04:00
Manuel Alejandro de Brito Fontes
4ad97afdb3
Add GinkgoRecover in goroutines
2020-08-19 23:15:02 -04:00
Manuel Alejandro de Brito Fontes
351248fabb
Fix wait times in e2e tests
2020-08-09 09:19:37 -04:00
Ryan Wilson-Perkin
017a24f6da
Fixed typo "permanen"
...
Noticed the use of the name "permanen-redirect" instead of "permanent-redirect" in some annotations for this test
2020-08-04 14:14:55 -04:00
Manuel Alejandro de Brito Fontes
3b31b9a0a8
Cleanup e2e tests
2020-07-31 07:31:09 -04:00
Manuel Alejandro de Brito Fontes
a4ec5c8a88
Validate endpoints are ready in e2e tests
2020-07-21 09:53:03 -04:00
Manuel Alejandro de Brito Fontes
268f7c5c4b
Fix error in grpcbin deployment and enable e2e test
2020-07-21 09:39:56 -04:00
Manuel Alejandro de Brito Fontes
dc3876666b
Revert "use-regex annotation should be applied to only one Location"
...
This reverts commit a8a8b5f6e9
.
2020-07-15 11:20:47 -04:00
Manuel Alejandro de Brito Fontes
a8a8b5f6e9
use-regex annotation should be applied to only one Location
2020-07-06 19:29:39 -04:00
Manuel Alejandro de Brito Fontes
ec4fb05cad
Fix proxy ssl e2e test
2020-07-06 18:41:42 -04:00
Zhongcheng Lao
c0629e92c2
Add proxy-ssl-server-name to enable passing SNI
2020-07-03 14:14:32 +08:00
Manuel Alejandro de Brito Fontes
b392fed580
Test pull requests using github actions
2020-07-02 20:12:05 -04:00
Manuel Alejandro de Brito Fontes
10dcf0db15
Remove unused variables and verbose e2e logs
2020-06-29 18:11:01 -04:00
Jeff Hui
7767230e6a
fix undefined variable $auth_cookie error when location is denied
...
(add) isLocationAllowed check before setting the cookie
2020-06-08 13:59:52 -04:00
agile6v
0e79ad8e4f
Update unit & e2e tests.
2020-05-21 02:19:13 +08:00
Andrey Voronkov
96d86995e1
Disable Access Log tests. Draft.
...
Signed-off-by: Andrey Voronkov <voronkovaa@gmail.com>
2020-05-13 22:22:41 +03:00
Artem Miroshnychenko
39c01c6f96
fix e2e rests related to the removed string
2020-04-09 00:24:53 +03:00
Manuel Alejandro de Brito Fontes
5390ce4879
Fix definition order of modsecurity directives
2020-04-03 10:53:20 -03:00
Balazs Szekeres
1e899cacfc
Added auth-tls-verify-client testcase
2020-04-01 14:47:38 +02:00
Manuel Alejandro de Brito Fontes
1216ed03f7
Fix condition in server-alias annotation
2020-04-01 08:37:14 -03:00
Kubernetes Prow Robot
461aa93d13
Merge pull request #5296 from SzekeresB/dev/proxy-ssl
...
Added proxy-ssl-location-only test.
2020-03-30 05:07:55 -07:00
Balazs Szekeres
d362475334
Added proxy-ssl-location-only test.
2020-03-30 10:30:22 +02:00
Manuel Alejandro de Brito Fontes
a46126a034
Update client-go methods to support context and and new create and delete options
2020-03-27 19:52:51 -03:00
Bhavin Gandhi
380ef3a92c
Fix the ability to disable ModSecurity at location level
...
- Adds 'modsecurity off;' to the nginx config if the
'enable-modsecurity' annotation is set to false.
- Update tests and e2e tests accordingly
Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
2020-03-22 23:51:02 +05:30
Manuel Alejandro de Brito Fontes
07b70f68bd
Redirect for app-root should preserve current scheme ( #5266 )
2020-03-19 15:49:18 -03:00
Balazs Szekeres
fd66e6337b
Refacored proxy ssl TC-s
2020-03-10 09:50:55 +01:00
Balazs Szekeres
7789843bd7
Added affinity-mode tc and refactored affinity.go
2020-03-06 12:43:34 +01:00
Kubernetes Prow Robot
103eb067f2
Merge pull request #5201 from SzekeresB/dev/proxy-config
...
Added TC for proxy connect, read, and send timeout
2020-03-02 15:41:37 -08:00
Balazs Szekeres
a182ca799b
Refactored client body buffer size TC-s.
2020-03-02 13:06:21 +01:00
Balazs Szekeres
12fe318fdb
Added test case for proxy connect, read, and send timeout from setting them via Nginx configmap.
2020-03-02 09:36:52 +01:00
Balazs Szekeres
6757224996
Refactored test/e2e/annotations/proxy.go
2020-02-27 16:03:28 +01:00
Kubernetes Prow Robot
35264d6e8f
Merge pull request #5114 from whalecold/match
...
Feat: add header-pattern annotation.
2020-02-24 17:07:36 -08:00
Balazs Szekeres
2b77529c74
Added limit-rate annotation test
2020-02-24 13:31:02 +01:00
Lisheng Zheng
0b33650bb8
Feat: canary supports using specific match strategy to match header value.
2020-02-21 10:02:20 +08:00
Balazs Szekeres
4f11e99131
Added tc for limit-connection annotation
2020-02-20 16:22:06 +01:00
Manuel Alejandro de Brito Fontes
57fcbdfb73
Lint go code ( #5132 )
2020-02-19 21:43:14 -03:00
Manuel Alejandro de Brito Fontes
f9624cbe46
Refactor e2e tests to use testify y httpexpect
2020-02-19 19:42:50 -03:00
Manuel Alejandro de Brito Fontes
cc318cdec1
Cleanup and standardization of e2e test definitions ( #5090 )
2020-02-16 15:27:58 -03:00
Manuel Alejandro de Brito Fontes
37c24b0df5
Migration e2e installation to helm ( #5086 )
2020-02-16 11:58:37 -03:00
Manuel Alejandro de Brito Fontes
71e35c9100
Make sure set-cookie is retained from external auth endpoint ( #5067 )
2020-02-14 01:41:11 -03:00
Manuel Alejandro de Brito Fontes
e179a24f97
Cleanup of e2e tests
2020-02-14 01:09:08 -03:00
Manuel Alejandro de Brito Fontes
2e3f128ed5
Enable grpc e2e tests
2020-02-14 01:09:08 -03:00
Manuel Alejandro de Brito Fontes
b4dba519fc
Remove dependency of https://grpcb.in
2020-02-13 15:33:14 -03:00
Manuel Alejandro de Brito Fontes
0197ea0dc4
Remove empty BeforeEach and AfterEach from e2e tests
2020-02-13 15:33:14 -03:00
Manuel Alejandro de Brito Fontes
281139d1a7
Only set mirror source when a target is configured ( #5055 )
2020-02-11 13:48:42 -03:00
Manuel Alejandro de Brito Fontes
b3146354d4
Refactor mirror feature
2020-02-05 10:39:55 -03:00
Manuel Alejandro de Brito Fontes
68bfbd939b
Remove hard-coded timeout in e2e tests
2020-01-27 00:01:13 -03:00
Manuel Alejandro de Brito Fontes
f9e2b7c14b
Fix status code
2020-01-04 13:23:16 -03:00
Manuel Alejandro de Brito Fontes
fbdd924a45
Update nginx image
2020-01-04 13:23:16 -03:00
Manuel Alejandro de Brito Fontes
6c92c80073
Fix sticky session for ingress without host
2020-01-02 16:52:49 -03:00
Manuel Alejandro de Brito Fontes
5c30820d1f
Remove hard-coded annotation and don't use map pointers
2019-12-13 03:05:20 -03:00
Manuel Alejandro de Brito Fontes
0dce5be743
Migrate ingress definitions from extensions to networking.k8s.io
2019-12-12 21:25:00 -03:00
Manuel Alejandro de Brito Fontes
61d902db14
Remove Lua resty waf feature
2019-11-26 10:37:43 -03:00
Manuel Alejandro de Brito Fontes
2bd8121338
Change default for proxy-add-original-uri-header
2019-09-25 10:57:31 -03:00
A Gardner
786a3b6862
Add support for configmap of headers to be sent to external auth service
2019-09-24 10:53:23 -04:00
A Gardner
376b862c23
Add annotation to support map of user/pass pairs in basic auth
2019-09-13 11:33:33 -04:00
Manuel Alejandro de Brito Fontes
c85450c1e7
Remove hard-coded names from e2e test and use local docker dependencies ( #4502 )
2019-09-01 14:16:52 -04:00
Manuel Alejandro de Brito Fontes
fcd3054f13
Lint code using staticcheck ( #4471 )
2019-08-23 12:08:40 -04:00
Kubernetes Prow Robot
75d65bbd15
Merge pull request #4327 from leki75/proxyssl
...
Add proxy_ssl_* directives
2019-08-18 09:14:04 -07:00
Guangming Wang
8cf384b212
cleanup logging message typos in rewrite.go
...
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-16 23:36:24 +08:00
Gabor Lekeny
65b9e2c574
Merge branch 'master' of https://github.com/kubernetes/ingress-nginx into proxyssl
2019-08-16 06:21:53 +02:00
Kubernetes Prow Robot
0d690fba1a
Merge pull request #4356 from aledbf/only-dynamic-mode
...
Only support SSL dynamic mode
2019-08-14 17:08:35 -07:00
Gabor Lekeny
8a2a0e915a
Add e2e tests for proxyssl
2019-08-14 11:49:28 +02:00
Kubernetes Prow Robot
adef152db8
Merge pull request #4379 from diazjf/mirror
...
Allow Requests to be Mirrored to different backends
2019-08-13 17:52:24 -07:00
Manuel Alejandro de Brito Fontes
80bd481abb
Only support SSL dynamic mode
2019-08-13 17:33:34 -04:00
Fernando Diaz
386486e969
Allow Requests to be Mirrored to different backends
...
Add a feature which allows traffic to be mirrored to
additional backends. This is useful for testing how
requests will behave on different "test" backends.
See https://nginx.org/en/docs/http/ngx_http_mirror_module.html
2019-08-01 11:53:58 -05:00
Charle Demers
72271e9313
FastCGI backend support ( #2982 )
...
Co-authored-by: Pierrick Charron <pierrick@adoy.net>
2019-07-31 10:39:21 -04:00
Kubernetes Prow Robot
589c9a20f9
Merge pull request #4278 from moolen/feat/auth-req-cache
...
feat: auth-req caching
2019-07-17 12:06:12 -07:00
Moritz Johner
23504db770
feat: auth-req caching
...
add a way to configure the `proxy_cache_*` [1] directive for external-auth.
The user-defined cache_key may contain sensitive information
(e.g. Authorization header).
We want to store *only* a hash of that key, not the key itself on disk.
[1] http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_key
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2019-07-17 18:39:04 +02:00
E. Stuart Hicks
3b0c523e49
added proxy-http-version annotation to override the HTTP/1.1 default connection type to reverse proxy backends
2019-07-08 14:32:00 -04:00
Manuel Alejandro de Brito Fontes
004d0c8214
Fix go imports
2019-06-30 18:58:18 -04:00
Kubernetes Prow Robot
5dfc7e211f
Merge pull request #4221 from aledbf/upgrade-nginx-image
...
Switch to openresty image
2019-06-24 09:45:57 -07:00
Manuel Alejandro de Brito Fontes
ca6b61f639
Update e2e tests for openresty
2019-06-23 22:51:39 -04:00
Manuel Alejandro de Brito Fontes
5670e3d9de
Add e2e tests for grpc using https://grpcb.in
2019-06-18 23:44:10 -04:00
Manuel Alejandro de Brito Fontes
84102eec2b
Migrate to new networking.k8s.io/v1beta1 package
2019-06-13 11:32:39 -04:00
Manuel Alejandro de Brito Fontes
c4597522bf
Refactor whitelist from map to standard allow directives
2019-05-27 04:55:38 -04:00
Anthony Ho
bd694bf3de
add e2e coverage for multi auth
2019-04-18 10:32:15 -04:00
Alex Kursell
ffeb1fe348
Support proxy_next_upstream_timeout
2019-04-15 11:08:57 -04:00
Kubernetes Prow Robot
b87cc5a1a6
Merge pull request #3786 from Shopify/rewrite-x-forwarded-prefix
...
Fix x-forwarded-prefix annotation
2019-03-31 16:18:32 -07:00
Elvin Efendi
496ff07bf1
replace some of the Nginx configuration to Lua code
2019-03-31 12:04:52 -04:00
Alex Kursell
fdd445cb2a
Fix e2e-tests
2019-03-29 16:25:25 -04:00
Alex Kursell
188295550c
Simplify x-forwarded-prefix annotation
2019-03-29 16:25:25 -04:00
Manuel Alejandro de Brito Fontes
3ec1028d0b
Fix dynamic SSL certificate for aliases and redirect-from-to-www
2019-03-28 16:29:11 -03:00
Kubernetes Prow Robot
e624fe171d
Merge pull request #3839 from perprogramming/bugfix/panic-on-multiple-non-matching-canary
...
Fix panic on multiple non-matching canary
2019-03-27 16:46:48 -07:00
Gregor Noczinski
1bef3e75b2
Set X-Request-ID
for the default-backend
, too.
2019-03-22 11:33:11 +01:00
Elvin Efendi
1d59e4f1fe
enable dynamic SSL mode by default
2019-03-17 14:58:06 -04:00
Per Bernhardt
c995e13249
Improve text, error level, tests...
2019-03-12 15:57:36 +01:00
Alex Kursell
d3ac73be79
Remove session-cookie-hash annotation
2019-03-04 10:34:48 -05:00
Per Bernhardt
8a40e82ffb
Fix panic on multiple non-matching canary
2019-03-04 12:30:59 +01:00
Alex Kursell
28d99c6d7d
Set default for satisfy annotation to nothing
2019-02-26 15:05:45 -05:00
Kubernetes Prow Robot
bb7a3f3527
Merge pull request #3812 from ecosia/jg-customerrors-e2e-removeunused
...
Removes unused const from customhttperrors e2e test
2019-02-25 11:40:57 -08:00
jasongwartz
164b8590a3
Removes unused const from customhttperrors e2e test
2019-02-25 17:27:05 +01:00
Manuel Alejandro de Brito Fontes
11177c95ec
Fix e2e tests
2019-02-25 12:37:20 -03:00
Kubernetes Prow Robot
d8ec96ca7d
Merge pull request #3730 from ecosia/jg-customerrors-defaultbackend
...
Changes CustomHTTPErrors annotation to use custom default backend
2019-02-25 07:22:07 -08:00
Kubernetes Prow Robot
8f5e7de623
Merge pull request #3800 from aledbf/refactor-e2e
...
Refactor e2e
2019-02-24 16:33:54 -08:00