Commit graph

727 commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
47c0cb7188 Update nginx base image 2021-01-03 15:59:36 -03:00
Kubernetes Prow Robot
17dbdcce7a
Merge pull request #6684 from aledbf/test
Update ingress-nginx test image
2020-12-27 18:58:27 -08:00
Manuel Alejandro de Brito Fontes
6dbd06cec0
Update ingress-nginx test image 2020-12-27 23:53:14 -03:00
Kubernetes Prow Robot
8c258f1972
Merge pull request #6683 from aledbf/lint
Remove dead code
2020-12-27 18:36:27 -08:00
Manuel Alejandro de Brito Fontes
3cf01394b8
Update nginx image 2020-12-27 22:29:21 -03:00
Manuel Alejandro de Brito Fontes
d9af197e62
Remove dead code 2020-12-27 22:26:51 -03:00
Manuel Alejandro de Brito Fontes
f1124aaf04 Update test images 2020-12-16 17:35:12 -03:00
Manuel Alejandro de Brito Fontes
7de30e45d1 Update test images and go to 1.15.6 2020-12-16 15:56:45 -03:00
Josh Soref
a8728f3d2c Spelling 2020-12-15 16:10:48 -05:00
Kubernetes Prow Robot
fe65e9d22f
Merge pull request #6620 from nic-6443/sticky-session-fix
Fix sticky session not set for host in server-alias annotation (#6448)
2020-12-15 03:47:48 -08:00
qianyong
44aaa2e367 Fix sticky session not set for host in server-alias annotation (#6448) 2020-12-15 11:01:19 +08:00
qianyong
f9ffa93588 Allow FQDN for ExternalName Service 2020-12-14 20:32:08 +08:00
Manuel Alejandro de Brito Fontes
6052e9dc23 Update helm chart-testing image 2020-12-05 16:09:34 -03:00
Manuel Alejandro de Brito Fontes
77234fcde0 Fix nginx ingress variables for definitions with Backend 2020-12-05 14:40:22 -03:00
Manuel Alejandro de Brito Fontes
5df2951948 Fix nginx ingress variables for definitions without hosts 2020-12-04 20:30:55 -03:00
Manuel Alejandro de Brito Fontes
e23a6b6aa7 Update kindest image 2020-12-02 11:11:28 -03:00
Kubernetes Prow Robot
e3a3ea8826
Merge pull request #6294 from ianbuss/auth-error-redirect-param
Allow customisation of redirect URL parameter in external auth redirects
2020-11-23 01:27:37 -08:00
Manuel Alejandro de Brito Fontes
8a218687e3 Enable external auth e2e tests 2020-11-12 22:33:31 -03:00
Manuel Alejandro de Brito Fontes
3f153add00 Refactor handling of path Prefix and Exact 2020-11-10 07:21:34 -03:00
Manuel Alejandro de Brito Fontes
a6b6f03b53 Add support for k8s ingress pathtype Prefix 2020-11-02 09:56:49 -05:00
Manuel Alejandro de Brito Fontes
789021e4f6 Avoid ingress class creation if k8s < 1.18 2020-10-29 19:34:05 -03:00
Manuel Alejandro de Brito Fontes
7f991eef84 Update sqlite cfssl database 2020-10-29 19:34:05 -03:00
Manuel Alejandro de Brito Fontes
3eb440d5ac Update test images 2020-10-29 19:34:05 -03:00
Manuel Alejandro de Brito Fontes
92de5212d8 Update nginx image in project images 2020-10-29 11:08:52 -03:00
Manuel Alejandro de Brito Fontes
a85e53f4cb Remove k8s.io/kubernetes dependency 2020-10-26 13:04:00 -03:00
Manuel Alejandro de Brito Fontes
cdd6437380 Refactor Exact path matthing 2020-10-26 10:51:03 -03:00
Manuel Alejandro de Brito Fontes
703c2d6f8e Enable validation of ingress definitions from extensions package 2020-10-26 10:50:44 -03:00
Kewei Ma
c8294eaf4e Allow Helm Chart to customize admission webhook's annotations, timeoutSeconds, namespaceSelector, objectSelector and cert files locations 2020-10-08 14:37:15 -05:00
Kubernetes Prow Robot
524c3a50ea
Merge pull request #6037 from aledbf/redirect
Do not append a trailing slash on redirects
2020-10-08 11:51:06 -07:00
Ian Buss
41cf628bdf Add a configurable URL redirect parameter for error URLs 2020-10-08 12:53:46 +01:00
Manuel Alejandro de Brito Fontes
85ea446dda Update test runner image 2020-09-30 17:29:32 -03:00
Manuel Alejandro de Brito Fontes
104fdab2f6 Refactor TLS e2e tests 2020-09-30 14:42:15 -03:00
Manuel Alejandro de Brito Fontes
c4f78ef11d Improve e2e speed execution time 2020-09-30 14:42:15 -03:00
Manuel Alejandro de Brito Fontes
4cda9787b8
Cleanup proxy protocol e2e test 2020-09-29 22:39:30 -03:00
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
Manuel Alejandro de Brito Fontes
a767b1d906 Cleanup 2020-09-27 17:16:09 -03:00
Manuel Alejandro de Brito Fontes
29ea30a4e8 Add events for NGINX reloads 2020-09-27 17:16:09 -03:00
Kubernetes Prow Robot
6fd891f3df
Merge pull request #6217 from touchifyapp/@feature/cors-expose-headers
Add annotation to configure CORS Access-Control-Expose-Headers
2020-09-26 16:52:48 -07:00
Manuel Alejandro de Brito Fontes
7722fa38aa Add admission controller e2e test 2020-09-26 16:06:58 -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
87aa96b468 Change server-tokens default value to false 2020-09-17 09:52:07 -03:00
Elvin Efendi
8e83d4e84a delete redundant NGINX config about X-Forwarded-Proto 2020-09-15 13:22:26 -04:00
Manuel Alejandro de Brito Fontes
4dd206b31a Update kind and kindest/node images 2020-09-15 11:23:23 -03:00
Manuel Alejandro de Brito Fontes
d1abba4c8a Update test runner image 2020-09-08 16:20:03 -03:00
Manuel Alejandro de Brito Fontes
ccb1eb4925 Add e2e tests to verify opentracing libraries 2020-09-08 16:20:03 -03:00
Manuel Alejandro de Brito Fontes
8abe794178 Use net.JoinHostPort to avoid IPV6 issues 2020-09-02 22:58:51 -04:00
Manuel Alejandro de Brito Fontes
7e03c13c0c Update e2e image 2020-09-02 16:39:48 -04:00
agile6v
609e1b5775 feat: support to define trusted addresses for proxy protocol in stream block 2020-08-28 14:37:16 +08:00
Manuel Alejandro de Brito Fontes
8102fff242 Switch images to k8s.gcr.io after Vanity Domain Flip 2020-08-26 22:07:22 -04:00
Manuel Alejandro de Brito Fontes
39db937da5 Adjust e2e timeouts 2020-08-22 20:52:12 -04: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
3d163e585a Fix flaky e2e test 2020-08-20 08:14:19 -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
b5f644f605 Increase wait times in e2e tests 2020-08-19 23:15:02 -04:00
Manuel Alejandro de Brito Fontes
9424852a7b Update nginx image 2020-08-12 13:58:31 -04:00
Manuel Alejandro de Brito Fontes
a1b86c8639 Update e2e-test-runner image 2020-08-12 13:58:31 -04:00
Manuel Alejandro de Brito Fontes
351248fabb Fix wait times in e2e tests 2020-08-09 09:19:37 -04:00
Manuel Alejandro de Brito Fontes
cb86c5698c Migrate to klog v2 2020-08-08 21:01:03 -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
ff1718e57f Disable enable-access-log-for-default-backend e2e test 2020-07-31 07:31:09 -04:00
Manuel Alejandro de Brito Fontes
a383117e1e Refactor shutdown e2e tests 2020-07-29 13:03:29 -04:00
Manuel Alejandro de Brito Fontes
6b4894ce3e Fix default backend flaking e2e test for default 2020-07-27 09:31:06 -04:00
Bernard Van De Walle
f3537204d2 Adding Zipkin collector to the E2E opentracing test as it is required to load at least one tracer to enable opentracing
Work on PR comments
Add tests for template builder

Signed-off-by: Bernard Van De Walle <bernard.vandewalle@getcruise.com>
2020-07-23 15:25:50 -07:00
Bernard Van De Walle
2baca9e32a Merge branch 'add-opentracing-operation-name-settings' of https://github.com/JorritSalverda/ingress-nginx into add-opentracing-operation-name-settings 2020-07-23 11:42:44 -07: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
Kubernetes Prow Robot
e825af86e1
Merge pull request #5887 from dschwar/force-use-forwarded-for
Add force-enable-realip-module
2020-07-17 07:17:02 -07:00
David Schwartz
d52141c2b9 Add enable-real-ip 2020-07-15 15:25:29 -04:00
Manuel Alejandro de Brito Fontes
d76ff21d94 Update e2e-test-runner image 2020-07-15 14:21:03 -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
5e615efa91 Fix missing variable in run-chart-test script 2020-07-10 08:57:40 -04:00
Manuel Alejandro de Brito Fontes
6c73d66ae6 Update helm chart for v0.34.0 2020-07-10 08:57:40 -04:00
Manuel Alejandro de Brito Fontes
86534b5124 Prepare switch to gcr.io 2020-07-09 07:42:39 -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
Kubernetes Prow Robot
585569b638
Merge pull request #5712 from laozc/sni
Add proxy-ssl-server-name to pass server name on SNI
2020-07-04 15:34:48 -07:00
Manuel Alejandro de Brito Fontes
e9a92070d9 Update chart-testing image 2020-07-04 00:24:55 -04:00
Manuel Alejandro de Brito Fontes
8836cfe04a Filter github actions to be executed 2020-07-04 00:24:55 -04:00
Zhongcheng Lao
c0629e92c2
Add proxy-ssl-server-name to enable passing SNI 2020-07-03 14:14:32 +08:00
Kubernetes Prow Robot
baa2b2cd33
Merge pull request #5709 from agile6v/master
fix: remove duplicated X-Forwarded-Proto header.
2020-07-02 17:50:47 -07:00
Manuel Alejandro de Brito Fontes
5f81b84288 Temporarily disable e2e Prow jobs 2020-07-02 20:12:05 -04: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
ff60aa9e2b Switch to promoted e2e images in gcr 2020-06-30 19:43:21 -04:00
Manuel Alejandro de Brito Fontes
0e19740ee2 Update e2e configuration 2020-06-30 00:30:14 -04:00
Manuel Alejandro de Brito Fontes
95bec54d5d Update kind node image version 2020-06-29 18:30:31 -04:00
Manuel Alejandro de Brito Fontes
10dcf0db15 Remove unused variables and verbose e2e logs 2020-06-29 18:11:01 -04:00
Manuel Alejandro de Brito Fontes
40738fc6f8 Adjust default e2e timeout 2020-06-27 11:36:17 -04:00
Manuel Alejandro de Brito Fontes
51691d4776 Adjust e2e nodes 2020-06-27 11:36:17 -04:00
Manuel Alejandro de Brito Fontes
1539a24c7b Start using e2e test images from gcr.io 2020-06-27 11:36:17 -04:00
Manuel Alejandro de Brito Fontes
e977c8e056 Improve execution of prow jobs 2020-06-26 15:51:11 -04:00
agile6v
e8aaa15ce8 Remove duplicated X-Forwarded-Proto header. 2020-06-25 11:11:00 +08:00
Manuel Alejandro de Brito Fontes
53fbaaf6bc Update httpexpect package name 2020-06-24 16:15:04 -04:00
Manuel Alejandro de Brito Fontes
93bf818214 Remove vendor directory and enable go modules 2020-06-24 13:27:15 -04:00
Manuel Alejandro de Brito Fontes
fc5c448697 Allow to use a custom arch to run e2e tests 2020-06-18 23:22:31 -04:00
Manuel Alejandro de Brito Fontes
c0035d29c3 Fix e2e externalName test 2020-06-16 12:24:10 -04:00
Manuel Alejandro de Brito Fontes
3d3efaab29 Fix proxy_protocol duplication in listen definition 2020-06-09 15:00:59 -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
fc1c043437 Add http-access-log-path and stream-access-log-path options in configMap 2020-06-05 01:27:26 +08:00
Manuel Alejandro de Brito Fontes
2b17980e3c Remove copy of binaries and deprecated e2e task 2020-06-02 17:22:58 -04:00
Manuel Alejandro de Brito Fontes
ea8e711d2c Refactor build of docker images 2020-06-02 12:16:39 -04:00
Manuel Alejandro de Brito Fontes
810acfafbe Enable coredumps for e2e tests 2020-06-01 19:33:44 -04:00
Manuel Alejandro de Brito Fontes
5f03b07245 Update e2e image 2020-05-31 15:38:02 -04:00
Manuel Alejandro de Brito Fontes
7bd62f5c0a Fix makefile task names 2020-05-31 12:57:02 -04:00
Manuel Alejandro de Brito Fontes
d250b97b43 Build multi-arch images by default 2020-05-31 12:35:19 -04:00
Kubernetes Prow Robot
ee02d897d5
Merge pull request #5534 from agile6v/master
Add annotation ssl-prefer-server-ciphers.
2020-05-29 08:35:16 -07:00
Manuel Alejandro de Brito Fontes
78935500eb Update nginx image and go to 1.14.3 2020-05-26 16:47:25 -04:00
agile6v
0e79ad8e4f Update unit & e2e tests. 2020-05-21 02:19:13 +08:00
Manuel Alejandro de Brito Fontes
b18ea267a8 Wait before any request to the ingress controller pod 2020-05-14 10:47:51 -04: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
Manuel Alejandro de Brito Fontes
46cca5ad40 Fix error setting $service_name NGINX variable 2020-05-13 10:01:41 -04:00
Mark Janssen
639a8c7871 Enable TLSv1.3 by default
Fix for 049b25e566 which mistakenly only
updated documentation.
2020-05-08 12:40:11 +02:00
Christopher M. Luciano
5c65cf498e
build: remove unnecessary tag line in e2e
The comment on this block states that this line should be removed
after the multi-arch image action is merged in the Makefile.

Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-05-07 14:51:00 -04:00
Manuel Alejandro de Brito Fontes
080b917f91 Update kind 2020-05-01 12:32:30 -04:00
Manuel Alejandro de Brito Fontes
e4dcaf0b67 Only load docker images in kind worker nodes 2020-04-30 18:12:40 -04:00
Manuel Alejandro de Brito Fontes
a8c7ec6cfb Changes on services must trigger a sync event 2020-04-29 13:37:39 -04:00
Manuel Alejandro de Brito Fontes
a95d850384 Add support for PathTypeExact 2020-04-23 11:12:37 -04:00
Manuel Alejandro de Brito Fontes
efbb3f9fc8 Add support for IngressClass and ingress.class annotation 2020-04-22 09:15:32 -04:00
Manuel Alejandro de Brito Fontes
d4e0657991 Update nginx image to fix openssl CVE 2020-04-21 22:35:21 -04:00
Manuel Alejandro de Brito Fontes
e9bd1d8b1f Add new cfssl image and update e2e tests to use it 2020-04-17 16:41:50 -04:00
Manuel Alejandro de Brito Fontes
d18fa90cfd Add e2e test for OCSP and new configmap setting 2020-04-17 12:53:47 -04:00
Manuel Alejandro de Brito Fontes
2b2acae28f Add e2e tests for helm chart 2020-04-15 21:25:40 -04:00
Manuel Alejandro de Brito Fontes
e87ddedc73 Update e2e image 2020-04-14 14:15:40 -04:00
Elvin Efendi
129df3892c adjust e2e test 2020-04-14 10:27:38 -04:00
Manuel Alejandro de Brito Fontes
c0db19b0ec Enable configuration of plugins using configmap 2020-04-13 11:38:42 -04: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
f20b9befd0 Update e2e dev image to v1.18.0 2020-04-04 16:27:26 -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
Manuel Alejandro de Brito Fontes
9af24fdf5b
Update go and e2e image (#5289) 2020-03-24 11:42:31 -03:00
Manuel Alejandro de Brito Fontes
d8ecfb7324
Wait for update in tcp e2e test (#5284) 2020-03-23 18:09:21 -03:00
Manuel Alejandro de Brito Fontes
760f40e45c
Add retries for dns in tcp e2e test (#5283) 2020-03-23 17:05:15 -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
d72ff0f8af
Ensure DeleteDeployment waits until there are no pods running (#5269) 2020-03-20 13:02:15 -03:00
Manuel Alejandro de Brito Fontes
07b70f68bd
Redirect for app-root should preserve current scheme (#5266) 2020-03-19 15:49:18 -03:00
Manuel Alejandro de Brito Fontes
7627757081
Cleanup of chart labels (#5258) 2020-03-18 08:35:29 -03:00
Manuel Alejandro de Brito Fontes
130af33510
Use rbac scope feature in e2e tests (#5250) 2020-03-14 18:52:56 -03:00
Balazs Szekeres
fd66e6337b Refacored proxy ssl TC-s 2020-03-10 09:50:55 +01:00
Kubernetes Prow Robot
0c9db55265
Merge pull request #5217 from SzekeresB/dev/affinity
Added affinity-mode tc and refactored affinity.go
2020-03-07 15:05:34 -08:00
Manuel Alejandro de Brito Fontes
1374c1e242
Update NGINX image (#5221) 2020-03-07 17:42:56 -03: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