Commit graph

116 commits

Author SHA1 Message Date
Manuel de Brito Fontes
361f06b791 Join host/port with go helper (supports ipv6) 2018-09-09 16:34:18 -03:00
Wong Hoi Sing Edison
6d3e9ea7d0 Fixup #2970: Add Missing Label app.kubernetes.io/part-of: ingress-nginx
-    Add missing label `app.kubernetes.io/part-of: ingress-nginx` for deploy example
-    Update new labels for docs/deploy and docs/examples
-    Update new labels for test/e2e and test/manifests
-    Update new labels for images/nginx

Also close #3001
2018-09-05 11:48:29 +08: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
c073bfc8b3 cleanup dynamic cert e2e tests 2018-08-24 20:26:17 -04:00
k8s-ci-robot
b0b575db33
Merge pull request #2965 from Shopify/dynamic-certificates-nginx
Add Lua module to serve SSL Certificates dynamically
2018-08-23 20:27:55 -07:00
Elvin Efendi
71f6d00b66 clear dynamic configuration e2e tests 2018-08-23 22:28:54 -04:00
Henry Tran
cbf041fc3e Add Lua module to serve SSL Certificates dynamically 2018-08-23 22:15:54 -04:00
Elvin Efendi
702fb9bf81 adjust tls settings test 2018-08-22 21:28:03 -04:00
Elvin Efendi
aa3e06b189 fix flaky luarestywaf test 2018-08-22 21:27:24 -04:00
Elvin Efendi
dc952dc462 consistently fallback to default certificate when TLS is configured 2018-08-22 20:53:25 -04:00
k8s-ci-robot
c083599a4b
Merge pull request #2899 from jeroenvand/jvd-fix-rewrite
fixed rewrites for paths not ending in /
2018-08-19 02:49:22 -07:00
Dario Nieuwenhuis
b5bcb93a4b
Merge branch 'master' into xff 2018-08-16 18:15:14 +02:00
Jeroen van Dongen
e428095e3c fixed rewrites for paths not ending in / 2018-08-15 21:15:40 +02:00
Manuel Alejandro de Brito Fontes
77b922aa00
Remove echoheaders image from the repository (#2921) 2018-08-10 07:08:46 -04:00
Manuel de Brito Fontes
7af93e03c7
Add annotation backend-protocol 2018-08-07 08:59:38 -04:00
k8s-ci-robot
7f7f59df79
Merge pull request #2894 from aledbf/authbind
Use authbind to bind privileged ports
2018-08-05 08:43:43 -07:00
Manuel de Brito Fontes
b148f113ae
Use authbind to bind privileged ports 2018-08-05 11:18:50 -04:00
Tom Reznik
b7bcf92480 support configuring multi_accept directive via configmap 2018-08-04 19:20:01 +03:00
Tom Reznik
1bacf1655e support custom configuration to main context of nginx config 2018-08-04 00:53:06 +03: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
Manuel de Brito Fontes
d8b3c2e759
Remove dashboard an improve sync-frequency 2018-07-30 11:52:17 -04: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
k8s-ci-robot
5e4137c6e7
Merge pull request #2834 from Stono/master
Added permanent-redirect-code
2018-07-29 14:33:57 -07: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
Elvin Efendi
fa74877256 fix bug with lua e2e test suite 2018-07-28 13:56:41 -04:00
Manuel de Brito Fontes
7032fb7d68
Replace minikube for e2e tests 2018-07-28 11:05:35 -04: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
Elvin Efendi
925be40943 no need to redundantly enable dynamic mode 2018-07-26 16:42:13 -04:00
Elvin Efendi
7d927a3f41 test to assert nameservers are passed to lua 2018-07-25 09:33:21 -04:00
k8s-ci-robot
237dcd7aa7
Merge pull request #2811 from takonomura/escape-request-uri
Escape $request_uri for external auth
2018-07-21 02:23:38 -07:00
takonomura
3ce0ad988f Add e2e test for external auth 2018-07-21 16:22:48 +09:00
Antoine Cotten
0c7b948317
Multiple optimizations to build targets
* Clean up e2e test on interruption
* Leverage GOCACHE for faster builds
* Forward container STDIN in make targets
2018-07-20 20:08:32 +02:00
Manuel de Brito Fontes
2f70c351cb Catch errors waiting for controller deployment 2018-07-19 21:06:35 -04:00
Manuel de Brito Fontes
1542a12764
Refactor controller metrics interface 2018-07-12 12:46:34 -04:00
Manuel de Brito Fontes
479a519630
Use docker to build go binaries 2018-07-06 23:48:40 -04: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
Antoine Cotten
130866b51c
Proofreading 2018-06-25 00:04:43 +02:00
AdamDang
616b94e584
Correct grammar mistakes 2018-06-24 23:44:42 +02:00
Brian Findlay
d59e3ee9dd Update server-tokens tests 2018-06-23 10:08:39 -04:00
Manuel de Brito Fontes
1d6e2dfd5c Add e2e test for configmap change and reload 2018-06-21 10:52:56 -04:00
k8s-ci-robot
dfca2a0d8d
Merge pull request #2451 from nusx/set-sticky-path-for-backend
fix for #1930, make sessions sticky, for ingress with multiple rules …
2018-06-14 20:47:28 -07:00
chenqz1987
0e424bf5a4 add service backend e2e test 2018-06-15 08:10:03 +08:00
Manuel Alejandro de Brito Fontes
764bcd5a1b
Wait the result of the controller deployment before running any test (#2638) 2018-06-13 16:27:17 -04:00
Antoine Cotten
47bea35492
Clarify log messages in controller pkg 2018-06-13 21:27:43 +02:00
Dario Nieuwenhuis
04d24e1ff7 Switch forwarded-headers e2e to use gorequest. 2018-06-13 21:10:33 +02:00
Dario Nieuwenhuis
fa626a605f Add use-forwarded-headers e2e test. 2018-06-12 21:33:53 +02: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
Elvin Efendi
d4e6c0dfd8 access_log should be off for internal /configuration endpoint 2018-05-31 16:01:54 -04:00