mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-22 01:07:34 +00:00
test/k8s: Add basic attestation test
- Add basic test case to check that a ruuning pod can use the api-server-rest (and attestation-agent and confidential-data-hub indirectly) to get a resource from a remote KBS Fixes #9057 Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com> Co-authored-by: Linda Yu <linda.yu@intel.com> Co-authored-by: stevenhorsman <steven@uk.ibm.com> Co-authored-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
committed by
stevenhorsman
parent
f0edec84f6
commit
6d85025e59
@@ -0,0 +1,19 @@
|
||||
# Copyright (c) 2023-2024 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: aa-test-cc
|
||||
spec:
|
||||
runtimeClassName: kata
|
||||
containers:
|
||||
- name: bash-curl
|
||||
image: storytel/alpine-bash-curl:latest
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- |
|
||||
curl http://127.0.0.1:8006/cdh/resource/default/aa/key; sleep 1000
|
Reference in New Issue
Block a user