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-09-18 18:37:23 +05:30
2021-01-23 02:42:57 +08:00
2020-10-07 10:59:40 -07:00
2020-09-18 12:00:14 +02:00
2020-09-03 19:58:31 +08:00
2020-09-03 19:58:31 +08:00
2019-07-23 18:54:37 +00:00
2020-09-18 18:49:12 +05:30
2018-08-02 17:11:29 -04:00
2019-09-12 14:19:00 -04:00