Nicholas Orlowsky
b2d67ff92b
fix tests
2024-05-20 14:37:46 +02:00
Nicholas Orlowsky
ac0f6fcd39
fix lint errors
2024-05-18 02:44:18 +02:00
Nicholas Orlowsky
9e79a36020
Merge branch 'kubernetes:main' into main
2024-05-18 02:10:37 +02:00
Chen Chen
b3060bfbd0
Fix golangci-lint errors ( #10196 )
...
* Fix golangci-lint errors
Signed-off-by: z1cheng <imchench@gmail.com>
* Fix dupl errors
Signed-off-by: z1cheng <imchench@gmail.com>
* Fix comments
Signed-off-by: z1cheng <imchench@gmail.com>
* Fix errcheck lint errors
Signed-off-by: z1cheng <imchench@gmail.com>
* Fix assert in e2e test
Signed-off-by: z1cheng <imchench@gmail.com>
* Not interrupt the waitForPodsReady
Signed-off-by: z1cheng <imchench@gmail.com>
* Replace string with constant
Signed-off-by: z1cheng <imchench@gmail.com>
* Fix comments
Signed-off-by: z1cheng <imchench@gmail.com>
* Revert write file permision
Signed-off-by: z1cheng <imchench@gmail.com>
---------
Signed-off-by: z1cheng <imchench@gmail.com>
2023-08-31 00:36:48 -07:00
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
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
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
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
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
Ricardo Katz
da98c744b9
Implement pathType validation ( #9511 )
2023-01-16 23:51:23 -03:00
Ricardo Katz
3916f7b8b7
move tests to gh actions ( #9461 )
2022-12-29 14:09:29 -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
Ricardo Katz
4508493dfe
Clean old code and move helper functions ( #8946 )
2022-08-21 14:21:51 -07: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