Nicholas Orlowsky
c23cc0c338
Merge branch 'kubernetes:main' into main
2023-07-16 22:48:37 -05:00
Nicholas Orlowsky
0f4d054c07
gofmt
2023-07-16 23:47:43 -04:00
Nicholas Orlowsky
8621dfc66d
fix e2e tests for cgroups
2023-07-16 19:02:37 -04:00
Nicholas Orlowsky
3814e1f01f
write e2e tests for cgroups
2023-07-16 18:58:58 -04:00
Nicholas Orlowsky
8f86603dbd
Merge branch 'main' of github.com:nickorlow/ingress-nginx
2023-07-16 13:18:51 -04:00
Nicholas Orlowsky
a9f9793a1f
update default value for period when not set
2023-07-16 13:18:32 -04:00
Chen Chen
d44a8e0045
Fix golang-ci linter errors ( #10128 )
...
* Fix golang-ci linter errors
Signed-off-by: z1cheng <imchench@gmail.com>
* Fix gofmt errors
Signed-off-by: z1cheng <imchench@gmail.com>
* Add nolint comment to defaults.Backend in Configuration
Signed-off-by: z1cheng <imchench@gmail.com>
* Add #nosec comment to rand.New func
Signed-off-by: z1cheng <imchench@gmail.com>
* Fix errcheck warnings
Signed-off-by: z1cheng <imchench@gmail.com>
* Fix gofmt check
Signed-off-by: z1cheng <imchench@gmail.com>
* Fix unit tests and comments
Signed-off-by: z1cheng <imchench@gmail.com>
---------
Signed-off-by: z1cheng <imchench@gmail.com>
2023-07-03 05:50:52 -07:00
Jintao Zhang
cccba35005
Revert "Remove fastcgi feature" ( #10081 )
...
* Revert "Remove fastcgi feature (#9864 )"
This reverts commit 90ed0ccdbe
.
* revert fastcgi* annotations warning
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
---------
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2023-06-13 12:55:59 -07:00
Ricardo Katz
90ed0ccdbe
Remove fastcgi feature ( #9864 )
2023-06-11 13:33:47 -07:00
Nicholas Orlowsky
fddf4e034c
fix formatting
2023-05-31 23:17:50 -05:00
Nicholas Orlowsky
c5dad5e461
removed e2e tests for cgroups2 and associated functions
2023-05-11 21:03:12 -04:00
Nicholas Orlowsky
6d96e111c8
try to figure out testing flags
2023-04-25 19:24:34 -05:00
Nicholas Orlowsky
3714c2c426
move error check
2023-04-25 10:19:07 -05:00
Nicholas Orlowsky
aa9a876217
typo
2023-04-24 11:34:21 -05:00
Nicholas Orlowsky
405a5aa44c
add some e2e tests (unfinished) + fix findMountPoint bug
2023-04-24 11:33:50 -05:00
Ricardo Katz
297036e169
Deprecate and remove influxdb feature ( #9861 )
2023-04-16 17:26:43 -07:00
Marco Cadetg
4e8d0b5836
Exclude socket metrics ( #9770 )
...
* exclude creation and exporting of socket metrics via flag
* make exclude metric naming more consistent
* fix connect time metric update
* add documentation
* e2e test
* improve creation of metric mapping
2023-04-11 01:01:18 -07:00
Nicholas Orlowsky
a080ea1f29
correct types
2023-03-31 00:58:43 -05:00
Nicholas Orlowsky
7f6472617b
declarations to assignments
2023-03-31 00:53:34 -05:00
Nicholas Orlowsky
3ae35a045d
ran gofmt
2023-03-31 00:52:14 -05:00
Nicholas Orlowsky
221e85f6f2
added version detecting
2023-03-31 00:36:12 -05:00
Nicholas Orlowsky
e4a11295ab
file parsing for Cgroup2
2023-03-30 11:48:58 -05:00
Ehsan Saei
c8cb9167d3
feat: OpenTelemetry module integration ( #9062 )
...
* OpenTelemetry module integration
* e2e test
* e2e test fix
* default OpentelemetryConfig
* e2e values
* mount otel module for otel test only
* propagate IS_CHROOT
* propagate IS_CHROOT e2e test
* code doc
* comments
* golint
* opentelemetry doc
* zipkin
* zipkin
* typo
* update e2e test OpenTelemetry value
* use opentelemetry value
* revert merge conflict
* fix
* format
* review comments
* clean
2023-03-22 11:58:22 -07:00
cui fliter
82e836fbe8
fix some comments ( #9688 )
...
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-03-05 11:00:57 -08:00
杨刚 (成都)
080c905fab
code clean for fsnotify ( #9571 )
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-02-16 06:11:39 -08:00
Fish-pro
ac8dd3dd53
sets.String is deprecated: use generic Set instead. new ways: s1 := Set[string]{} s2 := New[string]() ( #9589 )
...
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-16 06:05:48 -08:00
Fish-pro
fbdbc24a42
Optimize the judgment mode to remove redundant transformations ( #9588 )
...
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-16 05:59:39 -08:00
James Strong
5e85747db7
remove tests and regex path checks ( #9626 )
...
Signed-off-by: James Strong <strong.james.e@gmail.com>
2023-02-14 12:33:52 -08:00
James Strong
01c9a2bf25
Revert Implement pathType validation ( #9511 ) ( #9607 )
...
Signed-off-by: James Strong <strong.james.e@gmail.com>
2023-02-12 22:57:29 -08:00
James Strong
6c41f19b55
add path validation to implementation specific as well ( #9573 )
...
Signed-off-by: James Strong <strong.james.e@gmail.com>
2023-02-02 11:28:43 -08:00
James Strong
7d1c47ab54
Switch logic on path type validation and setting it to false ( #9543 )
...
* update path type validation to be false and update e2e test scripts
Signed-off-by: James Strong <strong.james.e@gmail.com>
* update to make tests clear
Signed-off-by: James Strong <strong.james.e@gmail.com>
* update test params
Signed-off-by: James Strong <strong.james.e@gmail.com>
* Adding else per pr comments
Signed-off-by: James Strong <james.strong@chainguard.dev>
---------
Signed-off-by: James Strong <strong.james.e@gmail.com>
Signed-off-by: James Strong <james.strong@chainguard.dev>
2023-01-31 17:09:06 -08:00
Ismayil Mirzali
5628f765fe
tcpproxy: increase buffer size to 16K ( #9548 )
2023-01-27 07:12:27 -08:00
Ricardo Katz
da98c744b9
Implement pathType validation ( #9511 )
2023-01-16 23:51:23 -03:00
Tomas Hulata
5b2a9475dc
feat: support topology aware hints ( #9165 )
...
* support topology aware hints
Signed-off-by: tombokombo <tombo@sysart.tech>
* add flag to enable topology and fixes
Signed-off-by: tombokombo <tombo@sysart.tech>
* update readme
Signed-off-by: tombokombo <tombo@sysart.tech>
* add e2e test
Signed-off-by: tombokombo <tombo@sysart.tech>
* isolate topology test
Signed-off-by: tombokombo <tombo@sysart.tech>
* gofmt fix
Signed-off-by: tombokombo <tombo@sysart.tech>
Signed-off-by: tombokombo <tombo@sysart.tech>
2023-01-15 18:46:50 -08:00
Marcus Noble
e7bee5308e
added option to disable sync event creation ( #8528 )
...
* added option to disable event creation
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
* Re-trigger github workflows
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2023-01-09 06:37:31 -08:00
Phil Nichol
8ed3a27e25
Adding ipdenylist annotation ( #8795 )
...
* feat: Add support for IP Deny List
* fixed gomod
* Update package
* go mod tidy
* Revert "go mod tidy"
This reverts commit e6a837e1e7
.
* update ginko version
* Updates e2e tests
* fix test typo
2023-01-08 14:43:28 -08:00
Ricardo Katz
3916f7b8b7
move tests to gh actions ( #9461 )
2022-12-29 14:09:29 -08:00
Ricardo Katz
fe2bf5cbdf
Add sslpassthrough tests ( #9457 )
2022-12-28 12:59:27 -08:00
Aleksandr Lebedev
69b3e7e8c1
Update command line arguments documentation ( #9224 )
...
* update cli-arguents.md with latest version flags.go
* correct punctuation in pkg/flag/flags.go
2022-12-26 13:23:26 -08:00
aimuz
15c4078032
Enable profiler-address to be configured ( #9311 )
...
Signed-off-by: aimuz <mr.imuz@gmail.com>
Signed-off-by: aimuz <mr.imuz@gmail.com>
2022-12-04 11:49:54 -08:00
Ricardo Katz
c1413e6079
Validate ingress path fields ( #9309 )
...
* Validate characters in path fields
* Add e2e tests for path validation
* Fix review comments
2022-11-17 04:24:40 -08:00
Matthias Neugebauer
26fe69cb47
Add annotation for setting sticky cookie domain ( #9088 )
...
This adds the new annotation `nginx.ingress.kubernetes.io/session-cookie-domain`
for setting the cookie `Domain` attribute of the sticky cookie.
Signed-off-by: Matthias Neugebauer <mtneug@mailbox.org>
Signed-off-by: Matthias Neugebauer <mtneug@mailbox.org>
2022-09-28 07:28:37 -07:00
Ricardo Katz
4508493dfe
Clean old code and move helper functions ( #8946 )
2022-08-21 14:21:51 -07:00
Ricardo Katz
c86d50ecef
Move APIs to be used by both controller and configurer ( #8854 )
2022-07-21 17:32:48 -07:00
Ricardo Pchevuzinske Katz
32d06d4b3b
Move TCPProxy to pkg
2022-07-21 18:08:28 -03:00
Ricardo Pchevuzinske Katz
7304086202
Move util to specific package location
2022-07-21 18:06:55 -03:00
Ricardo Katz
4c6a7ee158
Decouple shared functions between controllers ( #8829 )
...
* Decouple shared functions between controllers
* Apply suggestions from code review
Co-authored-by: Jintao Zhang <tao12345666333@163.com>
* Fix package names and fmt
Co-authored-by: Jintao Zhang <tao12345666333@163.com>
2022-07-20 11:53:44 -07:00
Manuel de Brito Fontes
73fe95722c
Rename package pkg to internal
2017-11-11 14:53:44 -03:00
Manuel de Brito Fontes
fb33c58d18
Refactor annotations
2017-11-11 14:16:58 -03:00
Manuel de Brito Fontes
9124a47ee9
Add nginx helper tests
2017-11-06 20:48:34 -03:00