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
..
2021-03-15 13:27:16 +09:00
2020-12-22 13:22:16 +08:00
2018-12-20 10:01:51 +01:00
2019-06-13 15:29:12 +08:00
2020-11-11 10:19:17 -08:00
2019-07-25 14:42:30 -07:00
2021-01-12 12:19:50 -08:00
2019-10-30 16:22:02 -07:00
2019-08-28 16:10:08 +08:00
2021-02-25 13:18:13 -05:00
2021-03-07 15:21:20 +08:00
2021-01-12 12:19:50 -08:00
2020-08-08 04:08:35 +09:00
2021-03-10 14:28:29 +01:00
2019-01-04 09:56:03 -05:00
2019-08-23 15:31:37 -07:00