Commit graph

225 commits

Author SHA1 Message Date
Long Wu Yuan
7402d51a02
added step to install ginkgo if DIND environ (#8566) 2022-05-09 10:59:19 -07:00
Long Wu Yuan
b9410c86f7
added debug to docker-in-docker.sh (#8562) 2022-05-09 03:15:19 -07:00
Long Wu Yuan
415305d47b
added debug to trace testgrid fail & suppressed breaking warning for kubectl version (#8561) 2022-05-08 04:27:18 -07:00
Ricardo Katz
a5a59f18e5
Revert "Remove dind in ci tests (#8529)" (#8547)
This reverts commit 4cc0099eee.
2022-05-04 04:57:51 -07:00
Ricardo Katz
4cc0099eee
Remove dind in ci tests (#8529) 2022-05-01 17:13:24 -03:00
Ricardo Katz
3def835a6a
Jail/chroot nginx process inside controller container (#8337)
* Initial work on chrooting nginx process

* More improvements in chroot

* Fix charts and some file locations

* Fix symlink on non chrooted container

* fix psp test

* Add e2e tests to chroot image

* Fix logger

* Add internal logger in controller

* Fix overlay for chrooted tests

* Fix tests

* fix boilerplates

* Fix unittest to point to the right pid

* Fix PR review
2022-04-08 21:48:04 -07:00
Josh Soref
c6a8ad9a65
Darwin arm64 (#8399)
* Use sed instead of gnu find flags

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Support building linux/amd64 on darin/arm64

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Upgrade awesome_bot to dkhamsing/awesome_bot:1.20.0

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Favor find -prune for vendor

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Skip golang modcache folder

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Favor find -prune for changelog

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Ignore Changelogs of any case

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Fix service-l7 link

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Fix route53-mapper link

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Update rootfs contents description

The auxiliary scripts were removed after:
ab8349008a/rootfs/ingress-controller

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Update paths for modsecurity

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Update paths for modsecurity_snippet

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Update toc for 20190815-zone-aware-routing.md

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Use Internet Archive for datapath.io blog entry

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Use Internet Archive for cloudflare.com help center entry

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* Use https for nginx.org

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-04-06 13:46:26 -07:00
LongWuYuan
b9f50e691d base img update for e2e-test-runner & opentelemetry 2022-04-01 17:07:08 +05:30
Ricardo Katz
a17181e43e
Update go in runner and release v1.1.1 (#8120)
* Update go in runner and release v1.1.1

* Update build/run-in-docker.sh

Co-authored-by: Jintao Zhang <tao12345666333@163.com>

Co-authored-by: Jintao Zhang <tao12345666333@163.com>
2022-01-09 20:37:11 -08:00
James Strong
8c722557f0
update build for darwin arm64 (#7941) 2021-11-17 15:49:05 -08:00
agile6v
ab4fa42467
fix compling kubectl-ingress_nginx error and add some descriptions for build command. (#7903) 2021-11-12 11:46:35 -08:00
Christopher Larivière
65b8eeddec
Support cors-allow-origin with multiple origins (#7614)
* Add Initial support for multiple cors origins in nginx

- bump cluster version for `make dev-env`
- add buildOriginRegex function in nginx.tmpl
- add e2e 4 e2e tests for cors.go
- refers to feature request #5496

* add tests + use search to identify '*' origin

* add tests + use search to identify '*' origin

Signed-off-by: Christopher Larivière <lariviere.c@gmail.com>

* fix "should enable cors test" looking at improper values

* Modify tests and add some logic for origin validation

- add origin validation in cors ingress annotations
- add extra tests to validate regex
- properly escape regex using "QuoteMeta"
- fix some copy/paste errors

* add TrimSpace and length validation before adding a new origin

* modify documentation for cors and remove dangling comment

* add support for optional port mapping on origin

* support single-level wildcard subdomains + tests

* Remove automatic `*` fonctionality from incorrect origins

- use []string instead of basic string to avoid reparsing in template.go
- fix typo in docs
- modify template to properly enable only if the whole block is enabled
- modify cors parsing
- test properly by validating that the value returned is the proper
  origin
- update unit tests and annotation tests

* Re-add `*` when no cors origins are supplied + fix tests

- fix e2e tests to allow for `*`
- re-add `*` to cors parsing if trimmed cors-allow-origin is empty
(supplied but empty) and if it wasn't supplied at all.

* remove unecessary logic for building cors origin + remove comments

- add some edge cases in e2e tests
- rework logic for building cors origin

there was no need for logic in template.go for buildCorsOriginRegex
if there is a `*` it ill be short-circuited by first if.

if it's a wildcard domain or any domain (without a wildcard), it MUST
match the main/cors.go regex format.

if there's a star in a wildcard domain, it must be replaced with
`[A-Za-z0-9]+`

* add missing check in e2e tests
2021-11-02 12:31:42 -07:00
zhengtianbao
43c22c4914
remove build-plugin extra quote (#7870) 2021-11-02 10:46:59 -07:00
Jintao Zhang
53fab99a86
Update e2e-test-runner image (#7648)
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2021-09-16 10:01:46 -07:00
KuberDriver
da29c7712a
Update e2e test runner image (#7596)
* Update to the base nginx image

* Revert "Update to the base nginx image"

This reverts commit ad43c1d060.

* Update test runner image

* correcting the sha and version of e2e test runner images
2021-09-06 16:21:16 -07:00
Swift
c43ea4d6e1
Update ingress to go 1.17 (#7521)
* bump go.mod to 1.17

* bump github ci workflow to go 1.17

* bump e2e-test-runner version

* fix go mod error

* fix go fmt error

* fix boilerplate verification
2021-08-23 14:25:25 -07:00
Noah Ispas
7842d732b0
update e2e test images to newest promoted one (#7485) 2021-08-12 10:35:48 -07:00
Ricardo Katz
d226d831bd Update go version, modules and remove ioutil 2021-08-06 14:15:21 -03:00
wasker
f222c752be
Enable session affinity for canaries (#7371) 2021-07-29 14:23:19 -07:00
Ricardo Katz
f5c80783bf
[Cherry Pick] - Add configuration to disable external name service feature (#7314) (#7321)
* Add configuration to disable external name service feature (#7314)

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>

* Fix CI files
2021-07-05 21:50:18 -07:00
James Strong
7201e37633
Prepare to release v0.47.0 (#7209)
* Update base image for e2e tests

* updating base image in script as well

* prep release for new nginx image
2021-06-06 08:32:38 -07:00
Matthew Silverman
08250deedc updating test-runner/echo in code, docs fixup 2021-03-29 12:29:48 -04:00
Manuel Alejandro de Brito Fontes
6941800339 Update kind and kindest images 2021-01-28 12:03:40 -03:00
Elvin Efendi
e0dece48f7 Add Global Rate Limiting support 2021-01-04 17:47:07 -05:00
Manuel Alejandro de Brito Fontes
438a0a9959
Update test runner image 2021-01-04 19:37:44 -03:00
Manuel Alejandro de Brito Fontes
2f08e87dcf
Update test container images 2021-01-03 16:22:58 -03:00
Manuel Alejandro de Brito Fontes
6dbd06cec0
Update ingress-nginx test image 2020-12-27 23:53:14 -03:00
Manuel Alejandro de Brito Fontes
f1124aaf04 Update test images 2020-12-16 17:35:12 -03:00
Manuel Alejandro de Brito Fontes
e23a6b6aa7 Update kindest image 2020-12-02 11:11:28 -03:00
Manuel Alejandro de Brito Fontes
3eb440d5ac Update test images 2020-10-29 19:34:05 -03:00
Manuel Alejandro de Brito Fontes
85ea446dda Update test runner image 2020-09-30 17:29:32 -03:00
wenzong
724646bd73 Delete OCSP Response cache when certificate renewed 2020-09-18 14:30:18 +08:00
Manuel Alejandro de Brito Fontes
d1abba4c8a Update test runner image 2020-09-08 16:20:03 -03:00
Manuel Alejandro de Brito Fontes
7e03c13c0c Update e2e image 2020-09-02 16:39:48 -04:00
Manuel Alejandro de Brito Fontes
32e4e0aa09 Update kind version 2020-09-01 21:35:45 -04: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
21ca21c580 Remove file system paths executables 2020-08-22 19:48:34 -04:00
Manuel Alejandro de Brito Fontes
43ca5f5ef1 Add new Dockerfile label org.opencontainers.image.revision 2020-08-19 22:39:10 -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
d76ff21d94 Update e2e-test-runner image 2020-07-15 14:21:03 -04:00
Manuel Alejandro de Brito Fontes
0c8accdf7f
Update dev-env.sh script 2020-07-13 14:22:06 -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
ff60aa9e2b Switch to promoted e2e images in gcr 2020-06-30 19:43:21 -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
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
fdd04919e8
Remove use of terraform to build nginx and ingress-controller 2020-06-25 17:20:40 -04:00
agile6v
9fd1ae5751 Add version check form helm 2020-06-25 16:51:35 +08:00
Manuel Alejandro de Brito Fontes
93bf818214 Remove vendor directory and enable go modules 2020-06-24 13:27:15 -04:00