Manuel Alejandro de Brito Fontes
5e249d3366
Refactor e2e tests to use the service ClusterIP
2019-02-24 20:04:07 -03:00
Tim Reddehase
16dcace669
do not wait for endpoints that shouldn't exist
...
If there are no replicas defined, do not wait
around for the respective endpoints, since none
are expected.
2019-02-03 16:53:38 +01:00
Tim Reddehase
018a1e4d94
respond with 503 when there are no endpoints
...
* related to:
* https://github.com/kubernetes/ingress-nginx/issues/3070
* https://github.com/kubernetes/ingress-nginx/issues/3335
* add a 503 test
* test a service that starts out empty
(a.k.a. ingress-nginx controller (re-)start)
* test scaling up (should route traffic accordingly)
* test scaling down to empty service
* use custom deployments for scaling test.
* provide a fix by updating the lua table (cache) of the configured backends
to unset the backend if there are no endpoints available.
2019-02-03 11:43:47 +01:00
Alex Kursell
ca74960905
Fix --disable-catch-all
2019-01-25 14:53:55 -05:00
Manuel Alejandro de Brito Fontes
0db09f425d
Refactor e2e tls helper
2019-01-10 20:59:49 -03:00
Kubernetes Prow Robot
8f57f9578d
Merge pull request #3586 from Shopify/disable-catch-all
...
Add --disable-catch-all option to disable catch-all server
2019-01-07 07:16:26 -08:00
Maxime Ginters
1678d99a03
Add --disable-catch-all option to disable catch-all server
2018-12-21 13:22:26 -05:00
Kubernetes Prow Robot
63b01370e4
Merge pull request #3548 from breunigs/integration-test-graceful-shutdown-clean
...
e2e test to ensure graceful shutdown does not lose requests
2018-12-21 06:33:27 -08:00
Maxime Ginters
f90881b367
Update lua configuration_data when number of controller pod change
2018-12-14 13:34:54 -05:00
Stefan Breunig
571bcfc433
e2e test to ensure graceful shutdown does not lose requests (see #3533 #3536 )
2018-12-11 11:37:19 +01:00
Maxime Ginters
af460f7e15
Fix a bug with Canary becoming main server
2018-12-06 11:04:32 -05:00
Manuel Alejandro de Brito Fontes
68f344233b
Fix lint issues
2018-12-05 13:28:28 -03:00
Manuel Alejandro de Brito Fontes
2fa55eabf6
Replace glog with klog
2018-12-05 13:27:55 -03:00
Manuel Alejandro de Brito Fontes
fdeeac3606
Wait for the right number of endpoints ( #3497 )
2018-11-30 20:17:18 -03:00
Manuel Alejandro de Brito Fontes
c3ff68e9ca
Adjust default timeout for e2e tests ( #3495 )
2018-11-30 18:55:53 -03:00
Manuel Alejandro de Brito Fontes
e192bbaf14
Wait for endpoints instead of pods
2018-11-29 13:06:10 -03:00
Manuel Alejandro de Brito Fontes
8a0dec9dd1
Add probes to deployments used in e2e tests
2018-11-29 10:53:48 -03: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
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
Manuel Alejandro de Brito Fontes
74c2f93de6
Only support dynamic configuration
2018-10-09 22:05:45 -03: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
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
Elvin Efendi
dc952dc462
consistently fallback to default certificate when TLS is configured
2018-08-22 20:53:25 -04: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
b148f113ae
Use authbind to bind privileged ports
2018-08-05 11:18:50 -04:00
Elvin Efendi
6641aa58e2
use static mode for affinity e2e test
2018-07-26 22:34:49 -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
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
AdamDang
616b94e584
Correct grammar mistakes
2018-06-24 23:44:42 +02:00
Lorenzo Fontana
c3b896dfbc
InfluxDB annotations e2e tests
...
Signed-off-by: Lorenzo Fontana <lo@linux.com>
2018-05-19 19:07:16 +02:00
k8s-ci-robot
aa256ac887
Merge pull request #2423 from diazjf/fix-2074
...
Resolves issue with proxy-redirect nginx configuration
2018-05-18 12:42:51 -07:00
Manuel Alejandro de Brito Fontes
f92f5f80e4
Simplify installation and e2e manifests ( #2515 )
2018-05-17 17:50:21 -04: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
Antoine Cotten
553df8a0cc
Refactor e2e framework for TLS tests
2018-04-27 23:24:22 +02:00
Antoine Cotten
c93f39f019
Bump echoserver version used in e2e test (1.10)
2018-04-27 23:24:22 +02:00
Manuel de Brito Fontes
9bf553559c
Apply gometalinter suggestions
2018-04-25 18:53:49 -03:00
Manuel de Brito Fontes
42e0c0abf7
Improve speed of e2e tests
2018-04-20 00:04:34 -03:00
Manuel de Brito Fontes
62a80a39ad
Remove most of the time.Sleep from the e2e tests
2018-04-19 17:48:50 -03:00
Andrew Louis
444914b764
Move the resetting logic into framework
...
Stylistic fixes based on feedback
2018-04-18 11:48:22 -04:00
Andrew Louis
19337f05fb
Introduce ConfigMap updating helpers into e2e/framework and retain default nginx-configuration state between tests
...
Group sublogic
2018-04-17 15:08:26 -04:00
Elvin Efendi
ee46f486c7
e2e tests for dynamic configuration and Lua features and a bug fix ( #2254 )
...
* e2e tests for dynamic configuration and Lua features
* do not rely on force reload to dynamically configure when reload is needed
* fix misspelling
* skip dynamic configuration in the first template rendering
* dont error on first sync
2018-04-01 17:09:27 -03:00
Antoine Cotten
86a3a63488
Include tests in golint checks, fix warnings ( #2180 )
2018-03-07 08:37:30 -08:00
Manuel de Brito Fontes
62622f6516
Clenup tests
2018-01-23 21:11:56 -03:00
Manuel de Brito Fontes
12ec0475c0
Fix SSL passthrough
2018-01-23 19:34:33 -03:00
Manuel de Brito Fontes
1ec0a60746
Add container flag where is required to run the command
2018-01-23 19:34:33 -03:00
Manuel de Brito Fontes
c5df325c98
Add missing test framework helper
2018-01-18 16:32:09 -03:00