Akihiro Suda
ecb881e5e6
add imgcrypt stream processors to the default config
Enable the following config by default:
```toml
version = 2
[plugins."io.containerd.grpc.v1.cri".image_decryption]
key_model = "node"
[stream_processors]
[stream_processors."io.containerd.ocicrypt.decoder.v1.tar.gzip"]
accepts = ["application/vnd.oci.image.layer.v1.tar+gzip+encrypted"]
returns = "application/vnd.oci.image.layer.v1.tar+gzip"
path = "ctd-decoder"
args = ["--decryption-keys-path", "/etc/containerd/ocicrypt/keys"]
env = ["OCICRYPT_KEYPROVIDER_CONFIG=/etc/containerd/ocicrypt/ocicrypt_keyprovider.conf"]
[stream_processors."io.containerd.ocicrypt.decoder.v1.tar"]
accepts = ["application/vnd.oci.image.layer.v1.tar+encrypted"]
returns = "application/vnd.oci.image.layer.v1.tar"
path = "ctd-decoder"
args = ["--decryption-keys-path", "/etc/containerd/ocicrypt/keys"]
env = ["OCICRYPT_KEYPROVIDER_CONFIG=/etc/containerd/ocicrypt/ocicrypt_keyprovider.conf"]
```
Fix issue 5128
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-03-15 13:27:16 +09:00
..
2020-12-08 19:22:39 +09:00
2020-04-22 19:35:37 -05:00
2021-02-25 15:17:28 +09:00
2021-03-15 13:27:16 +09:00
2020-02-26 23:29:04 +02:00
2020-04-22 19:35:37 -05:00
2021-02-10 18:33:14 +01:00
2020-06-01 14:00:13 +09:00
2020-10-30 00:05:15 +01:00
2020-08-25 17:28:29 -07:00
2019-07-14 20:49:40 -07:00
2020-04-22 19:35:37 -05:00
2021-01-28 12:57:50 +00:00
2020-07-30 18:51:23 +09:00
2018-07-12 17:51:55 -07:00
2020-08-26 21:38:03 -04:00
2020-08-25 17:28:29 -07:00
2020-02-28 17:47:20 +01:00
2019-08-13 17:36:32 +00:00
2020-03-12 10:57:55 +08:00