mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-19 08:28:19 +00:00
tests: k8s: Fix indentation in confidential common script
This PR fixes the indentation of the confidential common script for kubernetes tests. Fixes #8698 Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
parent
312475508a
commit
1469a5efca
@ -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