Commit graph

86 commits

Author SHA1 Message Date
Manuel de Brito Fontes
1d6e2dfd5c Add e2e test for configmap change and reload 2018-06-21 10:52:56 -04:00
k8s-ci-robot
3cbd2d66bf
Merge pull request #2643 from aledbf/remove-vts
Remove VTS from the ingress controller
2018-06-14 23:59:29 -07: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 de Brito Fontes
63b38e1c21
Remove VTS from the ingress controller 2018-06-14 11:11:29 -04: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
Manuel de Brito Fontes
79199dd84c
Run as user dropping privileges 2018-06-12 10:18:36 -04: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
Elvin Efendi
2c4e41c905 make sure ingress-nginx instances are watching their namespace only during test runs 2018-05-28 17:00:36 -04: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
Manuel de Brito Fontes
5dd1b1319c
Fix ClusterRoleBinding for e2e tests 2018-05-26 16:27:45 -04:00
Manuel Alejandro de Brito Fontes
15ffb51394
Enable core dumps during tests (#2570) 2018-05-26 11:08:38 -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
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
Elvin Efendi
7ac4e1db30 fix bug with lua sticky session implementation and refactor balancer 2018-05-16 21:00:39 -04:00
k8s-ci-robot
94198fce83
Merge pull request #2526 from ElvinEfendi/fix-upstreah-hash-lua-test
Fix upstream hash lua test
2018-05-16 17:57:52 -07:00
Elvin Efendi
c7de5a5bf6 do not assert on random behaviour 2018-05-16 19:19:38 -04:00
Elvin Efendi
2eb0286c8a fix flaky test 2018-05-16 19:05:49 -04:00
Manuel de Brito Fontes
a085808d2d
Add tests for bind-address 2018-05-16 14:53:29 -04:00
Manuel de Brito Fontes
d4f2b5d060
Fix and simplify local dev workflow and execution of e2e tests 2018-05-15 12:13:41 -04:00
Mark Janssen
cbb0f96f74 Add basic security context to deployment YAMLs 2018-04-28 23:32:37 +02:00
Antoine Cotten
ca423e1567
Add tests for global TLS settings 2018-04-27 23:24:23 +02: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
Antoine Cotten
7c246ec313
Use local image name for e2e tests 2018-04-27 23:24:22 +02:00
Manuel de Brito Fontes
acaf3d8c04 Release nginx ingress controller 0.14.0 2018-04-27 16:09:28 -03:00
Elvin Efendi
2ce9196ecf upstream-hash-by annotation support for dynamic configuraton mode 2018-04-27 14:28:43 -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
c6728aa8fa
Clean JSON before post request to update configuration 2018-04-26 15:27:27 -03:00
Manuel de Brito Fontes
9bf553559c Apply gometalinter suggestions 2018-04-25 18:53:49 -03:00
Andrew Louis
d3d383d1cc Endpoint Awareness: Read backends data from tmp file as well
Actually read from the file

Logs probably shouldn't assume knowledge of implementation detail

Typos

Added integration test, and dynamic update config refactor

Don't force the 8k default

Minimal test case to make the configuration/backends request body write to temp file

Leverage new safe config updating methods, and use 2 replicas instead of 4

Small refactor

Better integration test, addresses other feedback

Update bindata
2018-04-24 15:07:59 -04:00
Elvin Efendi
0837e81c7f cleanup redundant code 2018-04-20 23:41:21 -04:00
Elvin Efendi
84385a01bb shave off some more seconds 2018-04-20 22:58:41 -04:00
Elvin Efendi
b2084c057d fix flaky dynamic configuration test 2018-04-20 22:32:38 -04: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
882a99c1ec Fix leaky test 2018-04-18 11:48:24 -04: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
AdamDang
e519edc76f
Correct some returned messages in server_tokens.go
should not exists->should not exist
should exists->should exist
2018-04-15 23:42:38 +08:00
Zenara Daley
32ea682629 Fixed tests 2018-04-12 19:44:09 -04:00
Zenara Daley
6ed256dde6 Add session affinity to custom load balancing 2018-04-12 14:21:42 -04:00