Abel Feng
32bf805e57
sandbox: add a sandboxService interface to criService
...
so that we can add a fakeSandboxService to the criService in tests.
Signed-off-by: Abel Feng <fshb1988@gmail.com >
2023-11-15 09:25:58 +08:00
Samuel Karp
a596d09ec9
cri: add deprecation warning for configs
...
Signed-off-by: Samuel Karp <samuelkarp@google.com >
2023-11-02 11:17:32 -07:00
Samuel Karp
35924bccc0
cri: add deprecation warning for auths
...
Signed-off-by: Samuel Karp <samuelkarp@google.com >
2023-11-02 11:17:32 -07:00
Samuel Karp
d7cb25d770
cri: add deprecation warning for mirrors
...
Signed-off-by: Samuel Karp <samuelkarp@google.com >
2023-11-02 11:17:31 -07:00
Samuel Karp
58cc275eb8
cri: add ability to emit deprecation warnings
...
Signed-off-by: Samuel Karp <samuelkarp@google.com >
2023-11-02 11:17:31 -07:00
Abel Feng
69e501e7cd
sandbox: change SandboxMode to Sandboxer
...
Signed-off-by: Abel Feng <fshb1988@gmail.com >
2023-10-16 20:49:36 +08:00
rongfu.leng
d2b7a1e293
cleanup DEPRECATED TLS config
...
Signed-off-by: rongfu.leng <rongfu.leng@daocloud.io >
2023-05-31 09:37:41 +08:00
Maksym Pavlenko
07c2ae12e1
Remove v1 runctypes
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com >
2023-03-15 09:18:16 -07:00
Wei Fu
5946c1051e
*: fix code style issue
...
1. it's easy to check wrong input if using drain_exec_sync_io_timeout in error
2. avoid to use full error message, as part of error generated by go
stdlib would be changed in the future
3. delete the extra empty line
Signed-off-by: Wei Fu <fuweid89@gmail.com >
2023-03-03 17:51:03 +08:00
Wei Fu
01671e9fc5
cri: add config ut for invalid drain io timeout value
...
Signed-off-by: Wei Fu <fuweid89@gmail.com >
2023-03-03 12:00:19 +08:00
Zhang Tianyang
c953eecb79
Sandbox API: Add a new mode config for sandbox controller impls
...
Add a new config as sandbox controller mod, which can be either
"podsandbox" or "shim". If empty, set it to default "podsandbox"
when CRI plugin inits.
Signed-off-by: Zhang Tianyang <burning9699@gmail.com >
2022-11-09 12:12:39 +08:00
Dat Nguyen
afe39bebfe
add oci.WithAllDevicesAllowed flag for privileged_without_host_devices
...
This commit adds a flag that enable all devices whitelisting when
privileged_without_host_devices is already enabled.
Fixes #5679
Signed-off-by: Dat Nguyen <dnguyen7@atlassian.com >
2021-11-04 10:24:19 +11:00
Mike Brown
8a04bd0521
address recent runtimes config confusion
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com >
2021-04-12 15:33:38 -05:00
Mike Brown
e96d2a5d90
Revert "remove two very old no longer used runtime options"
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com >
2021-04-12 10:16:01 -05:00
Mike Brown
0186a329e9
remove two very old no longer used runtime options
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com >
2021-04-06 20:41:09 -05:00
Brian Goff
b0b6d9aa03
Add support for using a host registry dir in cri
...
This will be used instead of the cri registry config in the main config
toml.
---
Also pulls in changes from containerd/cri@d0b4eecbb3
Signed-off-by: Brian Goff <cpuguy83@gmail.com >
2021-03-12 22:42:22 +00:00
Lantao Liu
b5bf1fd5d8
Fix deprecated registry auth conversion.
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2021-02-03 19:22:26 -08:00
Derek McGowan
b22b627300
Move cri server packages under pkg/cri
...
Organizes the cri related server packages under pkg/cri
Signed-off-by: Derek McGowan <derek@mcg.dev >
2020-10-07 13:09:37 -07:00