From ec2e3501689c9880aa0515ef4a7f66b2213658aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= <fabiano.fidencio@intel.com>
Date: Thu, 19 Oct 2023 14:50:40 +0200
Subject: [PATCH] demos: Add io.containerd.cri.runtime-handler to the ssh demo
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This is needed in order to ensure the nydus-snapshotter will behave
properly when it's set in the runtime handler.

Signed-off-by: Fabiano FidĂȘncio <fabiano.fidencio@intel.com>
---
 demos/ssh-demo/k8s-cc-ssh.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/demos/ssh-demo/k8s-cc-ssh.yaml b/demos/ssh-demo/k8s-cc-ssh.yaml
index 1f75fe8..a3b2229 100644
--- a/demos/ssh-demo/k8s-cc-ssh.yaml
+++ b/demos/ssh-demo/k8s-cc-ssh.yaml
@@ -20,6 +20,8 @@ spec:
     metadata:
       labels:
         app: ccv0-ssh
+      annotations:
+        io.containerd.cri.runtime-handler: kata
     spec:
       runtimeClassName: kata
       containers: