liuwei
25a839c9df
Use second as cookie expires unit
2018-11-02 19:02:32 +08:00
liuwei
e22e7e6e95
Merge remote-tracking branch 'upstream/master'
2018-11-02 18:35:41 +08:00
liuwei
f48e0162a3
Use second as cookie expires unit
2018-11-02 18:13:54 +08:00
liuwei
c74e59fa4c
Use second as cookie expires unit
2018-11-02 17:05:38 +08:00
Fernando Diaz
71f97c400a
Add e2e test for session-cookie-hash
...
Adds the e2e test for the session-cookie-hash annotation.
Part of the #3124 effort.
2018-11-01 23:44:22 -05:00
Manuel Alejandro de Brito Fontes
c9668dd40b
Fix e2e tests
2018-10-30 13:35:31 -03:00
k8s-ci-robot
5671c1718f
Merge pull request #3322 from aledbf/tests-cleanup
...
Remove e2e boilerplate
2018-10-30 08:40:23 -07:00
Elvin Efendi
91a12ffd52
sticky session e2e test
2018-10-30 16:12:54 +04:00
Manuel Alejandro de Brito Fontes
83dc4607c5
Remove e2e boilerplate
2018-10-29 22:38:15 -03:00
Manuel Alejandro de Brito Fontes
fed013ab6f
Fix status update in case of connection errors
2018-10-29 13:01:41 -03:00
k8s-ci-robot
0e2ac454cb
Merge pull request #3301 from diazjf/e2e-whitelist
...
Add e2e tests for IP Whitelist
2018-10-26 13:28:00 -07:00
Fernando Diaz
49ac77e01b
Add e2e tests for IP Whitelist
...
Adds e2e test for the whitelist-source-range annotation.
Part of the #3124 effort.
2018-10-26 14:56:11 -05:00
k8s-ci-robot
a2062cbdac
Merge pull request #3305 from aramase/approot-e2e-test
...
Add e2e test for app-root
2018-10-26 10:53:49 -07:00
k8s-ci-robot
e48a1aaa59
Merge pull request #3302 from diazjf/e2e-server-snippet
...
Add e2e test for server snippet
2018-10-26 10:51:47 -07:00
Fernando Diaz
213be6103f
Add e2e test for server snippet
...
Adds the e2e test for server snippet. Similar test to the
configuration snippet. Part of the #3124 effort.
2018-10-26 11:56:33 -05:00
Anish Ramasekar
d3a82f7b04
enhance test logic
2018-10-26 11:21:44 -05:00
Anish Ramasekar
519c30ea70
Add e2e test for app-root
2018-10-26 11:12:44 -05:00
Anish Ramasekar
04e6f7bd82
Add e2e test for force-ssl-redirect
2018-10-26 10:02:09 -05:00
k8s-ci-robot
063f652711
Merge pull request #3187 from DesmondHoLLM/feature/annotations-resty-lua
...
UPT: annotation enhancement for resty-lua-waf
2018-10-25 00:06:03 -07:00
Desmond Ho
bf03046a80
UPT: updated e2e test and default true for process-multipart-body annotation
2018-10-25 14:17:38 +08:00
Desmond Ho
3c2c0d0858
UPT: updated e2e testing title for lua test
2018-10-24 18:30:43 +08:00
k8s-ci-robot
01854c9113
Merge pull request #3281 from aramase/log-e2e-test
...
Add e2e test for log
2018-10-23 19:37:51 -07:00
Anish Ramasekar
a0b76569b7
Add e2e test for log
2018-10-23 13:11:01 -05:00
Anish Ramasekar
80ca063801
Add e2e test for from-to-www-redirect
2018-10-23 12:48:23 -05:00
Anish Ramasekar
e0ea0671a7
Add e2e test for configuration snippet
2018-10-22 16:36:35 -05:00
Desmond Ho
bab521e81a
UPT: align waf options
2018-10-20 12:46:39 +08:00
Desmond Ho
04a89ce234
UPT: annotation enhancement for resty-lua-waf
2018-10-20 12:09:38 +08:00
Fernando Diaz
b503c6bdeb
Add e2e Tests for AuthTLS
...
Adds E2E tests for the following annotations:
- auth-tls-secret
- auth-tls-verify-depth
- auth-tls-verify-client
- auth-tls-error-page
- auth-tls-pass-certificate-to-upstream
2018-10-18 20:09:21 -05:00
Anish Ramasekar
441cd3dcb5
Add e2e test for connection
2018-10-17 16:37:27 -05:00
Anish Ramasekar
6d312d12d2
Add e2e tests for upstream vhost
...
update test
update test
2018-10-17 15:51:18 -05:00
Anish Ramasekar
48da443e67
Added e2e tests for backend protocols
...
update test for backendprotocols
2018-10-12 15:55:56 -05:00
k8s-ci-robot
3edf11b85f
Merge pull request #3198 from aledbf/only-dynamic
...
Only support dynamic configuration
2018-10-10 05:07:34 -07:00
Manuel Alejandro de Brito Fontes
74c2f93de6
Only support dynamic configuration
2018-10-09 22:05:45 -03:00
Fernando Diaz
44a11898d8
Refactor e2e Tests to use common helper function
...
Each e2e test is creating the same(or similar) Ingress Resource in
different ways. This makes common ingress resource creation be
performed by a framework method, reducing code duplication
2018-10-09 11:12:11 -05:00
Elvin Efendi
78f12c25c5
delete upstream healthcheck annotation
2018-10-09 09:14:13 -04:00
Fernando Diaz
527805f296
Add E2E tests for HealthCheck
...
Adds e2e tests for:
- upstream-max-fails
- upstream-fail-timeout
2018-10-08 13:17:19 -05:00
k8s-ci-robot
b46523a1f4
Merge pull request #3149 from diazjf/proxy-e2e-tests
...
Add e2e Tests for Proxy Annotations
2018-10-05 05:15:09 -07:00
Zenara Daley
bd3f56eaa0
allow curly braces to be used in regex paths
2018-10-04 10:58:38 -04:00
Fernando Diaz
c981a65058
Add e2e Tests for Proxy Annotations
...
Adds e2e tests for the following annotations:
- proxy-body-size
- proxy-connect-timeout
- proxy-send-timeout
- proxy-read-timeout
- proxy-buffering
- proxy-buffer-size
- proxy-request-buffering
- proxy-next-upstream
- proxy-next-upstream-tries
- proxy-cookie-domain
- proxy-cookie-path
and also updates some documentation.
2018-10-01 16:10:09 -05:00
k8s-ci-robot
d9f58144eb
Merge pull request #3145 from Shopify/regex-modifier
...
Add "use-regex" Annotation to Toggle Regular Expression Location Modifier
2018-10-01 11:31:43 -07:00
Zenara Daley
f29bdc3e8d
Add 'use regex' annotation to toggle nginx regex location modifier
2018-10-01 13:54:11 -04:00
Fernando Diaz
75975d74fb
Add e2e test for SSL-Ciphers
...
Adds tests to make sure SSL-Ciphers are configurable via annotation
2018-09-27 14:23:02 -05:00
Elvin Efendi
b3a22f7fc0
do not require --default-backend-service
2018-09-25 21:14:28 -04:00
Manuel de Brito Fontes
91ae204f6c
Replace standard json encoding with jsoniter
2018-09-22 14:25:01 -03:00
Zenara Daley
0de19c8062
Fix/add unit tests; Styling changes
2018-09-14 15:07:57 -04:00
Zenara Daley
aff61dc2dc
Add e2e test for rewrite-target annotation kube-lego failure
2018-09-12 10:26:28 -04:00
Fernando Diaz
2a990d2d2c
Add e2e tests for CORS and more
...
Adds the missing e2e tests for Cross-Origin Resource Sharing(CORS).
This will include all the CORS annotations. Also adds more unit tests.
2018-09-01 16:14:52 -05:00
Elvin Efendi
aa3e06b189
fix flaky luarestywaf test
2018-08-22 21:27:24 -04:00
Jeroen van Dongen
e428095e3c
fixed rewrites for paths not ending in /
2018-08-15 21:15:40 +02:00
Manuel de Brito Fontes
7af93e03c7
Add annotation backend-protocol
2018-08-07 08:59:38 -04:00
k8s-ci-robot
23ce9b5db1
Merge pull request #2808 from dongqi1990/bugfix-2799
...
fix the bug #2799 , add prefix (?i) in rewrite statement.
2018-08-02 20:58:06 -07:00
dongqi1990
72a2aa171a
fix the bug #2799 , add prefix (?i) in rewrite statement and add new e2e
...
test.
2018-07-30 17:34:28 +08:00
Antoine Cotten
39966f48cd
Add e2e test for redirect annotations
...
Minor refactoring of parser and unit tests
2018-07-29 22:53:03 +02:00
k8s-ci-robot
18cc2be826
Merge pull request #2794 from ElvinEfendi/enable-dynamic-confoguration
...
enable dynamic backend configuration by default
2018-07-27 00:46:56 -07:00
Elvin Efendi
576baa8d90
improve annotations/default_backend e2e test
2018-07-26 23:04:31 -04:00
Elvin Efendi
6641aa58e2
use static mode for affinity e2e test
2018-07-26 22:34:49 -04:00
takonomura
3ce0ad988f
Add e2e test for external auth
2018-07-21 16:22:48 +09:00
Fernando Diaz
6b5e383123
Add e2e tests for Client-Body-Buffer-Size
...
Adds test cases for the client-body-buffer-size annotation.
2018-07-01 17:48:37 -05:00
Stefan Schwärzler
1a320ae289
fix for #1930 , make sessions sticky, for ingress with multiple rules and backends
...
* for an ingress with session affinity cookie, set the location as path on the cookie when unique
* the previous behaviour ( cookie path=/ ) is preserved for ingresses with multiple rules for the same backend (locations not unique)
added e2e tests for session affinity, setting path on sticky config
added tests:
* it should set the path to /something on the generated cookie
* it should set the path to / on the generated cookie if there's more than one rule referring to the same backend
2018-06-11 10:43:13 +02:00
k8s-ci-robot
1b5db4b3b0
Merge pull request #2574 from aledbf/default-backend
...
Fix default-backend annotation
2018-05-27 23:16:30 -07:00
Manuel de Brito Fontes
2023e56115
Fix default-backend annotation
2018-05-26 19:09:24 -04:00
Manuel de Brito Fontes
2c226ef0fb
Fix influxdb test flake
2018-05-26 17:11:15 -04:00
Manuel de Brito Fontes
564f2a9fe4
Add retries to auth test checks
2018-05-26 16:27:45 -04:00
Lorenzo Fontana
c3b896dfbc
InfluxDB annotations e2e tests
...
Signed-off-by: Lorenzo Fontana <lo@linux.com>
2018-05-19 19:07:16 +02:00
Fernando Diaz
e224259e38
Resolves issue with proxy-redirect nginx configuration
...
Resolves an issue where the proxy-redirect annotations were not generating the
correct configuration possibly because of user error. This is done by only
setting the proxy_redirect if both proxy-redirect-from and proxy-redirect-to
have valid values. Also adds the e2e tests.
Fixes #2074
2018-05-17 11:22:31 -05:00
Manuel de Brito Fontes
ff3e182350
Add support for grpc_set_header
2018-05-17 08:35:11 -04:00
JordanP
c995031ffd
Add annotation to enable rewrite logs in a location
2018-04-27 17:50:14 +02:00
Manuel de Brito Fontes
62a80a39ad
Remove most of the time.Sleep from the e2e tests
2018-04-19 17:48:50 -03:00
Elvin Efendi
d6eb44376d
run lua-resty-waf in different modes ( #2317 )
...
* run lua-resty-waf in different modes
* update docs
2018-04-09 09:19:13 -03:00
Elvin Efendi
bad8295a42
extra waf rules per ingress ( #2315 )
...
* extra waf rules per ingress
* document annotation nginx.ingress.kubernetes.io/lua-resty-waf-extra-rules
* regenerate internal/file/bindata.go
2018-04-09 07:14:30 -03:00
Elvin Efendi
16faf309ca
annotation to ignore given list of WAF rulesets ( #2314 )
2018-04-08 22:55:23 -03:00
Elvin Efendi
a6fe800a47
lua-resty-waf controller ( #2304 )
2018-04-08 17:37:13 -03:00
Manuel de Brito Fontes
a4f67c0853
Fix verification of boilerplate, style and file headers
2017-12-03 13:58:23 -03:00
Canh Ngo
d37722b0c7
Added e2e test for sticky cookie and redirection
2017-11-23 22:30:46 +01:00
Manuel de Brito Fontes
b6dfe3d54d
Improve e2e checks
2017-11-22 14:19:15 -03:00
Manuel de Brito Fontes
a858c549d9
Add e2e tests for auth annotation
2017-11-12 20:08:32 -03:00
Manuel de Brito Fontes
4c1c707e9c
Add tests for alias annotation
2017-11-11 14:53:44 -03:00