mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-28 08:17:37 +00:00
Merge pull request #8699 from GabyCT/topic/fixconfidentialscript
tests: k8s: Fix indentation in confidential common script
This commit is contained in:
commit
5504176e9a
@ -25,10 +25,10 @@ function setup_unencrypted_confidential_pod() {
|
|||||||
# and returns the remote command to be executed to that specific hypervisor
|
# and returns the remote command to be executed to that specific hypervisor
|
||||||
# in order to identify whether the workload is running on a TEE environment
|
# in order to identify whether the workload is running on a TEE environment
|
||||||
function get_remote_command_per_hypervisor() {
|
function get_remote_command_per_hypervisor() {
|
||||||
declare -A REMOTE_COMMAND_PER_HYPERVISOR
|
declare -A REMOTE_COMMAND_PER_HYPERVISOR
|
||||||
REMOTE_COMMAND_PER_HYPERVISOR[qemu-sev]="dmesg | grep \"Memory Encryption Features active:.*\(SEV$\|SEV \)\""
|
REMOTE_COMMAND_PER_HYPERVISOR[qemu-sev]="dmesg | grep \"Memory Encryption Features active:.*\(SEV$\|SEV \)\""
|
||||||
REMOTE_COMMAND_PER_HYPERVISOR[qemu-snp]="dmesg | grep \"Memory Encryption Features active:.*SEV-SNP\""
|
REMOTE_COMMAND_PER_HYPERVISOR[qemu-snp]="dmesg | grep \"Memory Encryption Features active:.*SEV-SNP\""
|
||||||
REMOTE_COMMAND_PER_HYPERVISOR[qemu-tdx]="cpuid | grep TDX_GUEST"
|
REMOTE_COMMAND_PER_HYPERVISOR[qemu-tdx]="cpuid | grep TDX_GUEST"
|
||||||
|
|
||||||
echo "${REMOTE_COMMAND_PER_HYPERVISOR[${KATA_HYPERVISOR}]}"
|
echo "${REMOTE_COMMAND_PER_HYPERVISOR[${KATA_HYPERVISOR}]}"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user