mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-20 22:14:45 +01:00
Add a test case for the launch of unencrypted confidential container, verifying that we are running inside a TEE. Right now the test only works with SEV, but it'll be expanded in the coming commits, as part of this very same series. Fixes: #7184 Signed-Off-By: Unmesh Deodhar <udeodhar@amd.com> Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
34 lines
683 B
YAML
34 lines
683 B
YAML
# Copyright (c) 2023 Advanced Micro Devices, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: "confidential-unencrypted"
|
|
spec:
|
|
selector:
|
|
app: "confidential-unencrypted"
|
|
ports:
|
|
- port: 22
|
|
---
|
|
kind: Deployment
|
|
apiVersion: apps/v1
|
|
metadata:
|
|
name: "confidential-unencrypted"
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: "confidential-unencrypted"
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: "confidential-unencrypted"
|
|
spec:
|
|
runtimeClassName: kata
|
|
containers:
|
|
- name: "confidential-unencrypted"
|
|
image: ghcr.io/kata-containers/test-images:unencrypted-nightly
|
|
imagePullPolicy: Always
|
|
|