confidential-containers/demos/ssh-demo/k8s-cc-ssh.yaml
Fabiano Fidêncio ec2e350168 demos: Add io.containerd.cri.runtime-handler to the ssh demo
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>
2023-10-19 14:50:40 +02:00

31 lines
561 B
YAML

kind: Service
apiVersion: v1
metadata:
name: ccv0-ssh
spec:
selector:
app: ccv0-ssh
ports:
- port: 22
---
kind: Deployment
apiVersion: apps/v1
metadata:
name: ccv0-ssh
spec:
selector:
matchLabels:
app: ccv0-ssh
template:
metadata:
labels:
app: ccv0-ssh
annotations:
io.containerd.cri.runtime-handler: kata
spec:
runtimeClassName: kata
containers:
- name: ccv0-ssh
image: ghcr.io/confidential-containers/test-container:multi-arch-encrypted
imagePullPolicy: Always